Payload

data class Payload(val value: String) : ApiSchema

The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this ApiSchema as a Payload and retrieves its kotlin.String value. Throws an exception if the ApiSchema is not a Payload.

Link copied to clipboard

Casts this ApiSchema as a Payload and retrieves its kotlin.String value. Returns null if the ApiSchema is not a Payload.

Link copied to clipboard
fun asS3(): S3

Casts this ApiSchema as a S3 and retrieves its aws.sdk.kotlin.services.qbusiness.model.S3 value. Throws an exception if the ApiSchema is not a S3.

Link copied to clipboard
fun asS3OrNull(): S3?

Casts this ApiSchema as a S3 and retrieves its aws.sdk.kotlin.services.qbusiness.model.S3 value. Returns null if the ApiSchema is not a S3.