Class: TencentCloud::Tke::V20220501::DescribeHealthCheckPoliciesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeHealthCheckPoliciesResponse
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeHealthCheckPolicies返回参数结构体
Instance Attribute Summary collapse
-
#HealthCheckPolicies ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(healthcheckpolicies = nil, totalcount = nil, requestid = nil) ⇒ DescribeHealthCheckPoliciesResponse
constructor
A new instance of DescribeHealthCheckPoliciesResponse.
Constructor Details
#initialize(healthcheckpolicies = nil, totalcount = nil, requestid = nil) ⇒ DescribeHealthCheckPoliciesResponse
Returns a new instance of DescribeHealthCheckPoliciesResponse.
629 630 631 632 633 |
# File 'lib/v20220501/models.rb', line 629 def initialize(healthcheckpolicies=nil, totalcount=nil, requestid=nil) @HealthCheckPolicies = healthcheckpolicies @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#HealthCheckPolicies ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
627 628 629 |
# File 'lib/v20220501/models.rb', line 627 def HealthCheckPolicies @HealthCheckPolicies end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
627 628 629 |
# File 'lib/v20220501/models.rb', line 627 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
627 628 629 |
# File 'lib/v20220501/models.rb', line 627 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
635 636 637 638 639 640 641 642 643 644 645 646 |
# File 'lib/v20220501/models.rb', line 635 def deserialize(params) unless params['HealthCheckPolicies'].nil? @HealthCheckPolicies = [] params['HealthCheckPolicies'].each do |i| healthcheckpolicy_tmp = HealthCheckPolicy.new healthcheckpolicy_tmp.deserialize(i) @HealthCheckPolicies << healthcheckpolicy_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |