Class: TencentCloud::Tke::V20180525::DescribePrometheusTempSyncResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusTempSyncResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusTempSync返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targets = nil, requestid = nil) ⇒ DescribePrometheusTempSyncResponse
constructor
A new instance of DescribePrometheusTempSyncResponse.
Constructor Details
#initialize(targets = nil, requestid = nil) ⇒ DescribePrometheusTempSyncResponse
Returns a new instance of DescribePrometheusTempSyncResponse.
9550 9551 9552 9553 |
# File 'lib/v20180525/models.rb', line 9550 def initialize(targets=nil, requestid=nil) @Targets = targets @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9548 9549 9550 |
# File 'lib/v20180525/models.rb', line 9548 def RequestId @RequestId end |
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9548 9549 9550 |
# File 'lib/v20180525/models.rb', line 9548 def Targets @Targets end |
Instance Method Details
#deserialize(params) ⇒ Object
9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 |
# File 'lib/v20180525/models.rb', line 9555 def deserialize(params) unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| prometheustemplatesynctarget_tmp = PrometheusTemplateSyncTarget.new prometheustemplatesynctarget_tmp.deserialize(i) @Targets << prometheustemplatesynctarget_tmp end end @RequestId = params['RequestId'] end |