class Amazonite::ApiGateway::GetModelRequest

Overview

Request to list information about a model in an existing RestApi resource.

Included Modules

Defined in:

api_gateway/get_model_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rest_api_id : String, model_name : String, flatten : Bool | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 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 is false.


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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def model_name : String #

The name of the model as an identifier.


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

The name of the model as an identifier.


[View source]
def rest_api_id : String #

The RestApi identifier under which the Model exists.


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

The RestApi identifier under which the Model exists.


[View source]
def validate! : Nil #

[View source]