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.



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

#NameObject

Parameters:

  • Name:

    资源名称

  • Usage:

    资源使用量



17663
17664
17665
# File 'lib/v20180525/models.rb', line 17663

def Name
  @Name
end

#UsageObject

Parameters:

  • Name:

    资源名称

  • Usage:

    资源使用量



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