class Amazonite::ApiGateway::CreateRequestValidatorRequest

Overview

Creates a RequestValidator of a given RestApi.

Included Modules

Defined in:

api_gateway/create_request_validator_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(rest_api_id : String, name : String | Nil = nil, validate_request_body : Bool | Nil = nil, validate_request_parameters : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String | Nil #

The name of the to-be-created RequestValidator.


[View source]
def name=(name : String | Nil) #

The name of the to-be-created RequestValidator.


[View source]
def rest_api_id : String #

The string identifier of the associated RestApi.


[View source]
def rest_api_id=(rest_api_id : String) #

The string identifier of the associated RestApi.


[View source]
def validate! : Nil #

[View source]
def 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).


[View source]
def 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).


[View source]
def validate_request_parameters : Bool | Nil #

A Boolean flag to indicate whether to validate request parameters, true, or not false.


[View source]
def validate_request_parameters=(validate_request_parameters : Bool | Nil) #

A Boolean flag to indicate whether to validate request parameters, true, or not false.


[View source]