You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::CreateModelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateModelRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateModelRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rest_api_id: "String", # required
name: "String", # required
description: "String",
schema: "String",
content_type: "String", # required
}
Instance Attribute Summary collapse
-
#content_type ⇒ String
[Required] The content-type for the model.
-
#description ⇒ String
The description of the model.
-
#name ⇒ String
[Required] The name of the model.
- #rest_api_id ⇒ String
-
#schema ⇒ String
The schema for the model.
Instance Attribute Details
#content_type ⇒ String
[Required] The content-type for the model.
#description ⇒ String
The description of the model.
#name ⇒ String
[Required] The name of the model. Must be alphanumeric.
#schema ⇒ String
The schema for the model. For application/json
models, this should be
JSON schema draft 4target="_blank" model.