Class: TencentCloud::Es::V20250101::Usage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20250101::Usage
- Defined in:
- lib/v20250101/models.rb
Overview
token消耗总数
Instance Attribute Summary collapse
-
#TotalTokens ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totaltokens = nil) ⇒ Usage
constructor
A new instance of Usage.
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
#TotalTokens ⇒ Object
注意:此字段可能返回 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 |