class Amazonite::ApiGateway::UpdateUsageRequest

Overview

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

Included Modules

Defined in:

api_gateway/update_usage_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(usage_plan_id : String, key_id : String, patch_operations : Array(PatchOperation) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

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

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.


[View source]
def key_id=(key_id : String) #

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.


[View source]
def patch_operations : Array(PatchOperation) | Nil #

For more information about supported patch operations, see Patch Operations.


[View source]
def patch_operations=(patch_operations : Array(PatchOperation) | Nil) #

For more information about supported patch operations, see Patch Operations.


[View source]
def usage_plan_id : String #

The Id of the usage plan associated with the usage data.


[View source]
def usage_plan_id=(usage_plan_id : String) #

The Id of the usage plan associated with the usage data.


[View source]
def validate! : Nil #

[View source]