Class: TencentCloud::Tke::V20180525::DescribePrometheusTargetsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusTargetsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusTargets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobs = nil, requestid = nil) ⇒ DescribePrometheusTargetsResponse
constructor
A new instance of DescribePrometheusTargetsResponse.
Constructor Details
#initialize(jobs = nil, requestid = nil) ⇒ DescribePrometheusTargetsResponse
Returns a new instance of DescribePrometheusTargetsResponse.
9440 9441 9442 9443 |
# File 'lib/v20180525/models.rb', line 9440 def initialize(jobs=nil, requestid=nil) @Jobs = jobs @RequestId = requestid end |
Instance Attribute Details
#Jobs ⇒ Object
9438 9439 9440 |
# File 'lib/v20180525/models.rb', line 9438 def Jobs @Jobs end |
#RequestId ⇒ Object
9438 9439 9440 |
# File 'lib/v20180525/models.rb', line 9438 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 |
# File 'lib/v20180525/models.rb', line 9445 def deserialize(params) unless params['Jobs'].nil? @Jobs = [] params['Jobs'].each do |i| prometheusjobtargets_tmp = PrometheusJobTargets.new prometheusjobtargets_tmp.deserialize(i) @Jobs << prometheusjobtargets_tmp end end @RequestId = params['RequestId'] end |