java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.RequestBody

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class RequestBody extends Object
RequestBody
  • Felddetails

    • content

      protected Map<String,MediaType> content
      The content of the request body. The key is a media type or media type range and the value describes it
    • description

      protected String description
      A brief description of the request body. This could contain examples of use
    • get$ref

      protected String get$ref
    • required

      protected Boolean required
      Determines if the request body is required in the request. Defaults to false
    • vendorExtensions

      protected Map<String,Object> vendorExtensions
  • Konstruktordetails

    • RequestBody

      public RequestBody(Consumer<RequestBody> spec)
      Constructs a validated instance of RequestBody.
      Parameter:
      spec - the specification to process
    • RequestBody

      @Internal public RequestBody(Map<String,MediaType> content, String description, String get$ref, Boolean required, Map<String,Object> vendorExtensions)
      Constructs a validated instance of RequestBody.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using RequestBody(Consumer) instead.

      Parameter:
      content - The content of the request body. The key is a media type or media type range and the value describes it
      description - A brief description of the request body. This could contain examples of use
      get$ref - get$ref
      required - Determines if the request body is required in the request. Defaults to false
      vendorExtensions - vendorExtensions
    • RequestBody

      protected RequestBody()
  • Methodendetails

    • builder

      public static RequestBody.RequestBodyBuilder builder()
    • content

      public Map<String,MediaType> content()
      The content of the request body. The key is a media type or media type range and the value describes it
    • description

      public String description()
      A brief description of the request body. This could contain examples of use
    • get$ref

      public String get$ref()
    • required

      public Boolean required()
      Determines if the request body is required in the request. Defaults to false
    • vendorExtensions

      public Map<String,Object> vendorExtensions()
    • content

      public RequestBody content(Map<String,MediaType> content)
      The content of the request body. The key is a media type or media type range and the value describes it
      Gibt zurück:
      this.
    • description

      public RequestBody description(String description)
      A brief description of the request body. This could contain examples of use
      Gibt zurück:
      this.
    • get$ref

      public RequestBody get$ref(String get$ref)
      Gibt zurück:
      this.
    • required

      public RequestBody required(Boolean required)
      Determines if the request body is required in the request. Defaults to false
      Gibt zurück:
      this.
    • vendorExtensions

      public RequestBody vendorExtensions(Map<String,Object> vendorExtensions)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object