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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

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

Returns:

  • (String)


4193
4194
4195
4196
4197
4198
4199
4200
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4193

class Model < Struct.new(
  :content_type,
  :description,
  :model_id,
  :name,
  :schema)
  include Aws::Structure
end

#descriptionString

The description of the model.

Returns:

  • (String)


4193
4194
4195
4196
4197
4198
4199
4200
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4193

class Model < Struct.new(
  :content_type,
  :description,
  :model_id,
  :name,
  :schema)
  include Aws::Structure
end

#model_idString

The model identifier.

Returns:

  • (String)


4193
4194
4195
4196
4197
4198
4199
4200
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4193

class Model < Struct.new(
  :content_type,
  :description,
  :model_id,
  :name,
  :schema)
  include Aws::Structure
end

#nameString

The name of the model. Must be alphanumeric.

Returns:

  • (String)


4193
4194
4195
4196
4197
4198
4199
4200
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4193

class Model < Struct.new(
  :content_type,
  :description,
  :model_id,
  :name,
  :schema)
  include Aws::Structure
end

#schemaString

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

Returns:

  • (String)


4193
4194
4195
4196
4197
4198
4199
4200
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 4193

class Model < Struct.new(
  :content_type,
  :description,
  :model_id,
  :name,
  :schema)
  include Aws::Structure
end