Class: TencentCloud::Emr::V20190103::MetricTags
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::MetricTags
- Defined in:
- lib/v20190103/models.rb
Overview
指标tag
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(unit = nil, type = nil) ⇒ MetricTags
constructor
A new instance of MetricTags.
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
#Type ⇒ Object
8577 8578 8579 |
# File 'lib/v20190103/models.rb', line 8577 def Type @Type end |
#Unit ⇒ Object
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 |