class
Amazonite::ApiGateway::CreateRequestValidatorRequest
- Amazonite::ApiGateway::CreateRequestValidatorRequest
- Reference
- Object
Overview
Creates a RequestValidator of a given RestApi.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/create_request_validator_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(rest_api_id : String, name : String | Nil = nil, validate_request_body : Bool | Nil = nil, validate_request_parameters : Bool | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#name : String | Nil
The name of the to-be-created RequestValidator.
-
#name=(name : String | Nil)
The name of the to-be-created RequestValidator.
-
#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
-
#validate_request_body : Bool | Nil
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (
true) or not (false). -
#validate_request_body=(validate_request_body : Bool | Nil)
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (
true) or not (false). -
#validate_request_parameters : Bool | Nil
A Boolean flag to indicate whether to validate request parameters,
true, or notfalse. -
#validate_request_parameters=(validate_request_parameters : Bool | Nil)
A Boolean flag to indicate whether to validate request parameters,
true, or notfalse.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A Boolean flag to indicate whether to validate request body according to the configured model
schema for the method (true) or not (false).
A Boolean flag to indicate whether to validate request body according to the configured model
schema for the method (true) or not (false).
A Boolean flag to indicate whether to validate request parameters, true, or not false.
A Boolean flag to indicate whether to validate request parameters, true, or not false.