Class: TencentCloud::Es::V20250101::Usage

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250101/models.rb

Overview

token消耗总数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totaltokens = nil) ⇒ Usage



1213
1214
1215
# File 'lib/v20250101/models.rb', line 1213

def initialize(totaltokens=nil)
  @TotalTokens = totaltokens
end

Instance Attribute Details

#TotalTokensObject

注意:此字段可能返回 null,表示取不到有效值。



1211
1212
1213
# File 'lib/v20250101/models.rb', line 1211

def TotalTokens
  @TotalTokens
end

Instance Method Details

#deserialize(params) ⇒ Object



1217
1218
1219
# File 'lib/v20250101/models.rb', line 1217

def deserialize(params)
  @TotalTokens = params['TotalTokens']
end