class DeepL::KeyAndDayUsageItem

Included Modules

Defined in:

deepl/v2/admin.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_key : String, api_key_label : String, usage_date : Time, usage : DeepL::UsageBreakdown) #

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

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

[View source]
def api_key_label : String #

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

[View source]
def usage : UsageBreakdown #

[View source]
def usage=(usage : UsageBreakdown) #

[View source]
def usage_date : Time #

[View source]
def usage_date=(usage_date : Time) #

[View source]