enum Amazonite::ApiGateway::QuotaPeriodType

Defined in:

api_gateway/quota_period_type.cr

Enum Members

Day = 0
Week = 1
Month = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) : AAG::QuotaPeriodType #

[View source]
def self.from_json_object_key?(key : String) : AAG::QuotaPeriodType | Nil #

[View source]
def self.to_json(e : QuotaPeriodType, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def day? #

Returns true if this enum value equals Day


[View source]
def month? #

Returns true if this enum value equals Month


[View source]
def to_json_object_key : String #

[View source]
def week? #

Returns true if this enum value equals Week


[View source]