You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::GetModelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::GetModelRequest
- Defined in:
- (unknown)
Overview
Note:
When passing GetModelRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rest_api_id: "String", # required
model_name: "String", # required
flatten: false,
}
Request to list information about a model in an existing RestApi resource.
Instance Attribute Summary collapse
-
#flatten ⇒ Boolean
A query parameter of a Boolean value to resolve (
true
) all external model references and returns a flattened model schema or not (false
) The default isfalse
. -
#model_name ⇒ String
[Required] The name of the model as an identifier.
- #rest_api_id ⇒ String
Instance Attribute Details
#flatten ⇒ Boolean
A query parameter of a Boolean value to resolve (true
) all external
model references and returns a flattened model schema or not (false
)
The default is false
.
#model_name ⇒ String
[Required] The name of the model as an identifier.