Class: TencentCloud::Tke::V20220501::ModifyHealthCheckPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::ModifyHealthCheckPolicyRequest
- Defined in:
- lib/v20220501/models.rb
Overview
ModifyHealthCheckPolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, healthcheckpolicy = nil) ⇒ ModifyHealthCheckPolicyRequest
constructor
A new instance of ModifyHealthCheckPolicyRequest.
Constructor Details
#initialize(clusterid = nil, healthcheckpolicy = nil) ⇒ ModifyHealthCheckPolicyRequest
Returns a new instance of ModifyHealthCheckPolicyRequest.
1479 1480 1481 1482 |
# File 'lib/v20220501/models.rb', line 1479 def initialize(clusterid=nil, healthcheckpolicy=nil) @ClusterId = clusterid @HealthCheckPolicy = healthcheckpolicy end |
Instance Attribute Details
#ClusterId ⇒ Object
1477 1478 1479 |
# File 'lib/v20220501/models.rb', line 1477 def ClusterId @ClusterId end |
#HealthCheckPolicy ⇒ Object
1477 1478 1479 |
# File 'lib/v20220501/models.rb', line 1477 def HealthCheckPolicy @HealthCheckPolicy end |
Instance Method Details
#deserialize(params) ⇒ Object
1484 1485 1486 1487 1488 1489 1490 |
# File 'lib/v20220501/models.rb', line 1484 def deserialize(params) @ClusterId = params['ClusterId'] unless params['HealthCheckPolicy'].nil? @HealthCheckPolicy = HealthCheckPolicy.new @HealthCheckPolicy.deserialize(params['HealthCheckPolicy']) end end |