RepresentationContractArgs

data class RepresentationContractArgs(val contentType: Output<String>, val examples: Output<Map<String, ParameterExampleContractArgs>>? = null, val formParameters: Output<List<ParameterContractArgs>>? = null, val schemaId: Output<String>? = null, val typeName: Output<String>? = null) : ConvertibleToJava<RepresentationContractArgs>

Operation request/response representation details.

Constructors

Link copied to clipboard
constructor(contentType: Output<String>, examples: Output<Map<String, ParameterExampleContractArgs>>? = null, formParameters: Output<List<ParameterContractArgs>>? = null, schemaId: Output<String>? = null, typeName: Output<String>? = null)

Properties

Link copied to clipboard
val contentType: Output<String>

Specifies a registered or custom content type for this representation, e.g. application/xml.

Link copied to clipboard

Exampled defined for the representation.

Link copied to clipboard

Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'..

Link copied to clipboard
val schemaId: Output<String>? = null

Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.

Link copied to clipboard
val typeName: Output<String>? = null

Type name defined by the schema. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.

Functions

Link copied to clipboard
open override fun toJava(): RepresentationContractArgs