Class: TencentCloud::Acp::V20220105::ResourceUsageInfoData

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

Overview

资源使用情况信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ResourceNameObject

Parameters:

  • 资源计费项名称

  • 资源总数

  • 未使用资源数



721
722
723
# File 'lib/v20220105/models.rb', line 721

def ResourceName
  @ResourceName
end

#TotalObject

Parameters:

  • 资源计费项名称

  • 资源总数

  • 未使用资源数



721
722
723
# File 'lib/v20220105/models.rb', line 721

def Total
  @Total
end

#UnusedCountObject

Parameters:

  • 资源计费项名称

  • 资源总数

  • 未使用资源数



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