Class: TencentCloud::Tke::V20180525::ModifyPrometheusAgentExternalLabelsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusAgentExternalLabelsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusAgentExternalLabels请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, clusterid = nil, externallabels = nil) ⇒ ModifyPrometheusAgentExternalLabelsRequest
constructor
A new instance of ModifyPrometheusAgentExternalLabelsRequest.
Constructor Details
#initialize(instanceid = nil, clusterid = nil, externallabels = nil) ⇒ ModifyPrometheusAgentExternalLabelsRequest
Returns a new instance of ModifyPrometheusAgentExternalLabelsRequest.
14481 14482 14483 14484 14485 |
# File 'lib/v20180525/models.rb', line 14481 def initialize(instanceid=nil, clusterid=nil, externallabels=nil) @InstanceId = instanceid @ClusterId = clusterid @ExternalLabels = externallabels end |
Instance Attribute Details
#ClusterId ⇒ Object
14479 14480 14481 |
# File 'lib/v20180525/models.rb', line 14479 def ClusterId @ClusterId end |
#ExternalLabels ⇒ Object
14479 14480 14481 |
# File 'lib/v20180525/models.rb', line 14479 def ExternalLabels @ExternalLabels end |
#InstanceId ⇒ Object
14479 14480 14481 |
# File 'lib/v20180525/models.rb', line 14479 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 |
# File 'lib/v20180525/models.rb', line 14487 def deserialize(params) @InstanceId = params['InstanceId'] @ClusterId = params['ClusterId'] unless params['ExternalLabels'].nil? @ExternalLabels = [] params['ExternalLabels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @ExternalLabels << label_tmp end end end |