class Amazonite::ApiGateway::UsagePlanKey

Overview

Represents a usage plan key to identify a plan customer.

Included Modules

Defined in:

api_gateway/usage_plan_key.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(id : String | Nil = nil, type : String | Nil = nil, value : String | Nil = nil, name : 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def id : String | Nil #

The Id of a usage plan key.


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

The Id of a usage plan key.


[View source]
def name : String | Nil #

The name of a usage plan key.


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

The name of a usage plan key.


[View source]
def type : String | Nil #

The type of a usage plan key. Currently, the valid key type is API_KEY.


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

The type of a usage plan key. Currently, the valid key type is API_KEY.


[View source]
def validate! : Nil #

[View source]
def value : String | Nil #

The value of a usage plan key.


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

The value of a usage plan key.


[View source]