class
Amazonite::ApiGateway::UsagePlanKey
- Amazonite::ApiGateway::UsagePlanKey
- Reference
- Object
Overview
Represents a usage plan key to identify a plan customer.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/usage_plan_key.crConstructors
- .new(pull : JSON::PullParser)
- .new(id : String | Nil = nil, type : String | Nil = nil, value : String | Nil = nil, name : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#id : String | Nil
The Id of a usage plan key.
-
#id=(id : String | Nil)
The Id of a usage plan key.
-
#name : String | Nil
The name of a usage plan key.
-
#name=(name : String | Nil)
The name of a usage plan key.
-
#type : String | Nil
The type of a usage plan key.
-
#type=(type : String | Nil)
The type of a usage plan key.
- #validate! : Nil
-
#value : String | Nil
The value of a usage plan key.
-
#value=(value : String | Nil)
The value of a usage plan key.
Constructor Detail
def self.new(id : String | Nil = nil, type : String | Nil = nil, value : String | Nil = nil, name : String | 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 type=(type : String | Nil)
#
The type of a usage plan key. Currently, the valid key type is API_KEY.