Class: TencentCloud::Acp::V20220105::ResourceUsageInfoData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Acp::V20220105::ResourceUsageInfoData
- Defined in:
- lib/v20220105/models.rb
Overview
资源使用情况信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcename = nil, total = nil, unusedcount = nil) ⇒ ResourceUsageInfoData
constructor
A new instance of ResourceUsageInfoData.
Constructor Details
#initialize(resourcename = nil, total = nil, unusedcount = nil) ⇒ ResourceUsageInfoData
Returns a new instance of ResourceUsageInfoData.
723 724 725 726 727 |
# File 'lib/v20220105/models.rb', line 723 def initialize(resourcename=nil, total=nil, unusedcount=nil) @ResourceName = resourcename @Total = total @UnusedCount = unusedcount end |
Instance Attribute Details
#ResourceName ⇒ Object
721 722 723 |
# File 'lib/v20220105/models.rb', line 721 def ResourceName @ResourceName end |
#Total ⇒ Object
721 722 723 |
# File 'lib/v20220105/models.rb', line 721 def Total @Total end |
#UnusedCount ⇒ Object
721 722 723 |
# File 'lib/v20220105/models.rb', line 721 def UnusedCount @UnusedCount end |
Instance Method Details
#deserialize(params) ⇒ Object
729 730 731 732 733 |
# File 'lib/v20220105/models.rb', line 729 def deserialize(params) @ResourceName = params['ResourceName'] @Total = params['Total'] @UnusedCount = params['UnusedCount'] end |