class
Amazonite::ApiGateway::UpdateModelRequest
- Amazonite::ApiGateway::UpdateModelRequest
- Reference
- Object
Overview
Request to update an existing model in an existing RestApi resource.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/update_model_request.crConstructors
- .new(rest_api_id : String, model_name : String, patch_operations : Array(PatchOperation) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#model_name : String
The name of the model to update.
-
#model_name=(model_name : String)
The name of the model to update.
-
#patch_operations : Array(PatchOperation) | Nil
For more information about supported patch operations, see Patch Operations.
-
#patch_operations=(patch_operations : Array(PatchOperation) | Nil)
For more information about supported patch operations, see Patch Operations.
-
#rest_api_id : String
The string identifier of the associated RestApi.
-
#rest_api_id=(rest_api_id : String)
The string identifier of the associated RestApi.
- #validate! : Nil
Constructor Detail
def self.new(rest_api_id : String, model_name : String, patch_operations : Array(PatchOperation) | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def patch_operations : Array(PatchOperation) | Nil
#
For more information about supported patch operations, see Patch Operations.
def patch_operations=(patch_operations : Array(PatchOperation) | Nil)
#
For more information about supported patch operations, see Patch Operations.