Class: TencentCloud::Tke::V20180525::ResourceUsageDetail

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

Overview

资源使用明细

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, usage = nil) ⇒ ResourceUsageDetail

Returns a new instance of ResourceUsageDetail.



19004
19005
19006
19007
# File 'lib/v20180525/models.rb', line 19004

def initialize(name=nil, usage=nil)
  @Name = name
  @Usage = usage
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    资源名称

  • Usage:

    资源使用量



19002
19003
19004
# File 'lib/v20180525/models.rb', line 19002

def Name
  @Name
end

#UsageObject

Parameters:

  • Name:

    资源名称

  • Usage:

    资源使用量



19002
19003
19004
# File 'lib/v20180525/models.rb', line 19002

def Usage
  @Usage
end

Instance Method Details

#deserialize(params) ⇒ Object



19009
19010
19011
19012
# File 'lib/v20180525/models.rb', line 19009

def deserialize(params)
  @Name = params['Name']
  @Usage = params['Usage']
end