Class: TencentCloud::Monitor::V20180724::DeletePrometheusClusterAgentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DeletePrometheusClusterAgentRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DeletePrometheusClusterAgent请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agents = nil, instanceid = nil) ⇒ DeletePrometheusClusterAgentRequest
constructor
A new instance of DeletePrometheusClusterAgentRequest.
Constructor Details
#initialize(agents = nil, instanceid = nil) ⇒ DeletePrometheusClusterAgentRequest
Returns a new instance of DeletePrometheusClusterAgentRequest.
3694 3695 3696 3697 |
# File 'lib/v20180724/models.rb', line 3694 def initialize(agents=nil, instanceid=nil) @Agents = agents @InstanceId = instanceid end |
Instance Attribute Details
#Agents ⇒ Object
3692 3693 3694 |
# File 'lib/v20180724/models.rb', line 3692 def Agents @Agents end |
#InstanceId ⇒ Object
3692 3693 3694 |
# File 'lib/v20180724/models.rb', line 3692 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 |
# File 'lib/v20180724/models.rb', line 3699 def deserialize(params) unless params['Agents'].nil? @Agents = [] params['Agents'].each do |i| prometheusagentinfo_tmp = PrometheusAgentInfo.new prometheusagentinfo_tmp.deserialize(i) @Agents << prometheusagentinfo_tmp end end @InstanceId = params['InstanceId'] end |