Class RepresentationContractResponse


  • public final class RepresentationContractResponse
    extends java.lang.Object
    • Method Detail

      • contentType

        public java.lang.String contentType()
        Returns:
        Specifies a registered or custom content type for this representation, e.g. application/xml.
      • formParameters

        public java.util.List<ParameterContractResponse> formParameters()
        Returns:
        Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'..
      • schemaId

        public java.util.Optional<java.lang.String> schemaId()
        Returns:
        Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.
      • typeName

        public java.util.Optional<java.lang.String> typeName()
        Returns:
        Type name defined by the schema. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.