Class: TencentCloud::Apm::V20210622::ApmMetricRecord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::ApmMetricRecord
- Defined in:
- lib/v20210622/models.rb
Overview
指标列表单元
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fields = nil, tags = nil) ⇒ ApmMetricRecord
constructor
A new instance of ApmMetricRecord.
Constructor Details
#initialize(fields = nil, tags = nil) ⇒ ApmMetricRecord
Returns a new instance of ApmMetricRecord.
891 892 893 894 |
# File 'lib/v20210622/models.rb', line 891 def initialize(fields=nil, =nil) @Fields = fields @Tags = end |
Instance Attribute Details
#Fields ⇒ Object
889 890 891 |
# File 'lib/v20210622/models.rb', line 889 def Fields @Fields end |
#Tags ⇒ Object
889 890 891 |
# File 'lib/v20210622/models.rb', line 889 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 |
# File 'lib/v20210622/models.rb', line 896 def deserialize(params) unless params['Fields'].nil? @Fields = [] params['Fields'].each do |i| apmfield_tmp = ApmField.new apmfield_tmp.deserialize(i) @Fields << apmfield_tmp end end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| apmtag_tmp = ApmTag.new apmtag_tmp.deserialize(i) @Tags << apmtag_tmp end end end |