Class: TencentCloud::Mmps::V20200710::ResourceUsageInfoData

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200710/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.



1215
1216
1217
1218
1219
# File 'lib/v20200710/models.rb', line 1215

def initialize(resourcename=nil, total=nil, unusedcount=nil)
  @ResourceName = resourcename
  @Total = total
  @UnusedCount = unusedcount
end

Instance Attribute Details

#ResourceNameObject

Parameters:

  • ResourceName:

    资源名称, 具体名称请查看产品配置

  • Total:

    资源总数

  • UnusedCount:

    资源未使用次数



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

def ResourceName
  @ResourceName
end

#TotalObject

Parameters:

  • ResourceName:

    资源名称, 具体名称请查看产品配置

  • Total:

    资源总数

  • UnusedCount:

    资源未使用次数



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

def Total
  @Total
end

#UnusedCountObject

Parameters:

  • ResourceName:

    资源名称, 具体名称请查看产品配置

  • Total:

    资源总数

  • UnusedCount:

    资源未使用次数



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

def UnusedCount
  @UnusedCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1221
1222
1223
1224
1225
# File 'lib/v20200710/models.rb', line 1221

def deserialize(params)
  @ResourceName = params['ResourceName']
  @Total = params['Total']
  @UnusedCount = params['UnusedCount']
end