class Amazonite::ApiGateway::BasePathMapping

Overview

Represents the base path that callers of the API must provide as part of the URL after the domain name.

Included Modules

Defined in:

api_gateway/base_path_mapping.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(base_path : String | Nil = nil, rest_api_id : String | Nil = nil, stage : String | Nil = nil) #

[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 base_path : String | Nil #

The base path name that callers of the API must provide as part of the URL after the domain name.


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

The base path name that callers of the API must provide as part of the URL after the domain name.


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

See Object#hash(hasher)


def rest_api_id : String | Nil #

The string identifier of the associated RestApi.


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

The string identifier of the associated RestApi.


[View source]
def stage : String | Nil #

The name of the associated stage.


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

The name of the associated stage.


[View source]
def validate! : Nil #

[View source]