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.
16059 16060 16061 16062 16063 |
# File 'lib/v20180525/models.rb', line 16059 def initialize(instanceid=nil, clusterid=nil, externallabels=nil) @InstanceId = instanceid @ClusterId = clusterid @ExternalLabels = externallabels end |
Instance Attribute Details
#ClusterId ⇒ Object
16057 16058 16059 |
# File 'lib/v20180525/models.rb', line 16057 def ClusterId @ClusterId end |
#ExternalLabels ⇒ Object
16057 16058 16059 |
# File 'lib/v20180525/models.rb', line 16057 def ExternalLabels @ExternalLabels end |
#InstanceId ⇒ Object
16057 16058 16059 |
# File 'lib/v20180525/models.rb', line 16057 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 |
# File 'lib/v20180525/models.rb', line 16065 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 |