Class: TencentCloud::Monitor::V20180724::DescribePrometheusTargetsTMPRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusTargetsTMPRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DescribePrometheusTargetsTMP请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
集成中心填 non-cluster.
-
#ClusterType ⇒ Object
集成中心填 non-cluster.
-
#Filters ⇒ Object
集成中心填 non-cluster.
-
#InstanceId ⇒ Object
集成中心填 non-cluster.
-
#Limit ⇒ Object
集成中心填 non-cluster.
-
#Offset ⇒ Object
集成中心填 non-cluster.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, clusterid = nil, clustertype = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribePrometheusTargetsTMPRequest
constructor
A new instance of DescribePrometheusTargetsTMPRequest.
Constructor Details
#initialize(instanceid = nil, clusterid = nil, clustertype = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribePrometheusTargetsTMPRequest
Returns a new instance of DescribePrometheusTargetsTMPRequest.
9233 9234 9235 9236 9237 9238 9239 9240 |
# File 'lib/v20180724/models.rb', line 9233 def initialize(instanceid=nil, clusterid=nil, clustertype=nil, filters=nil, offset=nil, limit=nil) @InstanceId = instanceid @ClusterId = clusterid @ClusterType = clustertype @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#ClusterId ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def ClusterType @ClusterType end |
#Filters ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def Filters @Filters end |
#InstanceId ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def InstanceId @InstanceId end |
#Limit ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def Limit @Limit end |
#Offset ⇒ Object
集成中心填 non-cluster
9231 9232 9233 |
# File 'lib/v20180724/models.rb', line 9231 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 |
# File 'lib/v20180724/models.rb', line 9242 def deserialize(params) @InstanceId = params['InstanceId'] @ClusterId = params['ClusterId'] @ClusterType = params['ClusterType'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Offset = params['Offset'] @Limit = params['Limit'] end |