class
Amazonite::ApiGateway::ApiStage
- Amazonite::ApiGateway::ApiStage
- Reference
- Object
Overview
API stage name of the associated API stage in a usage plan.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/api_stage.crConstructors
- .new(pull : JSON::PullParser)
- .new(api_id : String | Nil = nil, stage : String | Nil = nil, throttle : Hash(String, ThrottleSettings) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#api_id : String | Nil
API Id of the associated API stage in a usage plan.
-
#api_id=(api_id : String | Nil)
API Id of the associated API stage in a usage plan.
-
#hash(hasher)
See
Object#hash(hasher) -
#stage : String | Nil
API stage name of the associated API stage in a usage plan.
-
#stage=(stage : String | Nil)
API stage name of the associated API stage in a usage plan.
-
#throttle : Hash(String, ThrottleSettings) | Nil
Map containing method level throttling information for API stage in a usage plan.
-
#throttle=(throttle : Hash(String, ThrottleSettings) | Nil)
Map containing method level throttling information for API stage in a usage plan.
- #validate! : Nil
Constructor Detail
def self.new(api_id : String | Nil = nil, stage : String | Nil = nil, throttle : Hash(String, ThrottleSettings) | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def throttle : Hash(String, ThrottleSettings) | Nil
#
Map containing method level throttling information for API stage in a usage plan.
def throttle=(throttle : Hash(String, ThrottleSettings) | Nil)
#
Map containing method level throttling information for API stage in a usage plan.