class DeepL::UsagePro::Product

Included Modules

Defined in:

deepl/v2/usage_status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(product_type : String, api_key_character_count : Int64, character_count : Int64, billing_unit : Nil | String = nil, api_key_unit_count : Int64 | Nil = nil, account_unit_count : Int64 | 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 account_unit_count : Int64 | Nil #

[View source]
def account_unit_count=(account_unit_count : Int64 | Nil) #

[View source]
def api_key_character_count : Int64 #

[View source]
def api_key_character_count=(api_key_character_count : Int64) #

[View source]
def api_key_unit_count : Int64 | Nil #

[View source]
def api_key_unit_count=(api_key_unit_count : Int64 | Nil) #

[View source]
def billing_unit : String | Nil #

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

[View source]
def character_count : Int64 #

[View source]
def character_count=(character_count : Int64) #

[View source]
def product_type : String #

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

[View source]