Class: TencentCloud::Tke::V20180525::ResourceUsageDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ResourceUsageDetail
- Defined in:
- lib/v20180525/models.rb
Overview
资源使用明细
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, usage = nil) ⇒ ResourceUsageDetail
constructor
A new instance of ResourceUsageDetail.
Constructor Details
#initialize(name = nil, usage = nil) ⇒ ResourceUsageDetail
Returns a new instance of ResourceUsageDetail.
17665 17666 17667 17668 |
# File 'lib/v20180525/models.rb', line 17665 def initialize(name=nil, usage=nil) @Name = name @Usage = usage end |
Instance Attribute Details
#Name ⇒ Object
17663 17664 17665 |
# File 'lib/v20180525/models.rb', line 17663 def Name @Name end |
#Usage ⇒ Object
17663 17664 17665 |
# File 'lib/v20180525/models.rb', line 17663 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
17670 17671 17672 17673 |
# File 'lib/v20180525/models.rb', line 17670 def deserialize(params) @Name = params['Name'] @Usage = params['Usage'] end |