class
Amazonite::ApiGateway::GetModelRequest
- Amazonite::ApiGateway::GetModelRequest
- Reference
- Object
Overview
Request to list information about a model in an existing RestApi resource.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/get_model_request.crConstructors
- .new(rest_api_id : String, model_name : String, flatten : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#flatten : Bool | Nil
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. -
#flatten=(flatten : Bool | Nil)
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. -
#hash(hasher)
See
Object#hash(hasher) -
#model_name : String
The name of the model as an identifier.
-
#model_name=(model_name : String)
The name of the model as an identifier.
-
#rest_api_id : String
The RestApi identifier under which the Model exists.
-
#rest_api_id=(rest_api_id : String)
The RestApi identifier under which the Model exists.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.