You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::Model

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Represents a data model for an API. Supported only for WebSocket APIs. See Create Models and Mapping Templates for Request and Response Mappings.

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content-type for the model, for example, \"application/json\".

Returns:

  • (String)

    The content-type for the model, for example, \"application/json\".

#descriptionString

The description of the model.

Returns:

  • (String)

    The description of the model.

#model_idString

The model identifier.

Returns:

  • (String)

    The model identifier.

#nameString

The name of the model. Must be alphanumeric.

Returns:

  • (String)

    The name of the model.

#schemaString

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

Returns:

  • (String)

    The schema for the model.