class Amazonite::ApiGateway::GetModelTemplateRequest

Overview

Request to generate a sample mapping template used to transform the payload.

Included Modules

Defined in:

api_gateway/get_model_template_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rest_api_id : String, model_name : String) #

[View source]
def self.new(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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def model_name : String #

The name of the model for which to generate a template.


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

The name of the model for which to generate a template.


[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]