Class: TokenUsageLimit

Inherits:
Object
  • Object
show all
Defined in:
lib/default.rb

Overview

/TokenUsageLimit

count - SOAP::SOAPInteger
amount - Amount
lastResetCount - SOAP::SOAPInteger
lastResetAmount - Amount
lastResetTimestamp - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, amount = nil, lastResetCount = nil, lastResetAmount = nil, lastResetTimestamp = nil) ⇒ TokenUsageLimit

Returns a new instance of TokenUsageLimit.



238
239
240
241
242
243
244
# File 'lib/default.rb', line 238

def initialize(count = nil, amount = nil, lastResetCount = nil, lastResetAmount = nil, lastResetTimestamp = nil)
  @count = count
  @amount = amount
  @lastResetCount = lastResetCount
  @lastResetAmount = lastResetAmount
  @lastResetTimestamp = lastResetTimestamp
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



233
234
235
# File 'lib/default.rb', line 233

def amount
  @amount
end

#countObject

Returns the value of attribute count.



232
233
234
# File 'lib/default.rb', line 232

def count
  @count
end

#lastResetAmountObject

Returns the value of attribute lastResetAmount.



235
236
237
# File 'lib/default.rb', line 235

def lastResetAmount
  @lastResetAmount
end

#lastResetCountObject

Returns the value of attribute lastResetCount.



234
235
236
# File 'lib/default.rb', line 234

def lastResetCount
  @lastResetCount
end

#lastResetTimestampObject

Returns the value of attribute lastResetTimestamp.



236
237
238
# File 'lib/default.rb', line 236

def lastResetTimestamp
  @lastResetTimestamp
end