Class: TencentCloud::Emr::V20190103::MetricTags

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

Overview

指标tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unit = nil, type = nil) ⇒ MetricTags

Returns a new instance of MetricTags.



8579
8580
8581
8582
# File 'lib/v20190103/models.rb', line 8579

def initialize(unit=nil, type=nil)
  @Unit = unit
  @Type = type
end

Instance Attribute Details

#TypeObject

Parameters:

  • 指标单位

  • 指标Type



8577
8578
8579
# File 'lib/v20190103/models.rb', line 8577

def Type
  @Type
end

#UnitObject

Parameters:

  • 指标单位

  • 指标Type



8577
8578
8579
# File 'lib/v20190103/models.rb', line 8577

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



8584
8585
8586
8587
# File 'lib/v20190103/models.rb', line 8584

def deserialize(params)
  @Unit = params['Unit']
  @Type = params['Type']
end