Class ApiBody


  • public class ApiBody
    extends Object
    Represents the request body template or example body for an API operation.
    • Constructor Detail

      • ApiBody

        public ApiBody()
        Creates a new ApiBody instance.
      • ApiBody

        public ApiBody​(ApiBodyType type,
                       String content)
        Creates a new ApiBody instance.
    • Method Detail

      • getType

        public ApiBodyType getType()
        Returns the type.
      • setType

        public void setType​(ApiBodyType type)
        Sets the type.
      • getContent

        public String getContent()
        Returns the content.
      • setContent

        public void setContent​(String content)
        Sets the content.
      • getDescription

        public String getDescription()
        Returns the description.
      • setDescription

        public void setDescription​(String description)
        Sets the description.