Class: TencentCloud::Tke::V20220501::CreateHealthCheckPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::CreateHealthCheckPolicyRequest
- Defined in:
- lib/v20220501/models.rb
Overview
CreateHealthCheckPolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, healthcheckpolicy = nil) ⇒ CreateHealthCheckPolicyRequest
constructor
A new instance of CreateHealthCheckPolicyRequest.
Constructor Details
#initialize(clusterid = nil, healthcheckpolicy = nil) ⇒ CreateHealthCheckPolicyRequest
Returns a new instance of CreateHealthCheckPolicyRequest.
104 105 106 107 |
# File 'lib/v20220501/models.rb', line 104 def initialize(clusterid=nil, healthcheckpolicy=nil) @ClusterId = clusterid @HealthCheckPolicy = healthcheckpolicy end |
Instance Attribute Details
#ClusterId ⇒ Object
102 103 104 |
# File 'lib/v20220501/models.rb', line 102 def ClusterId @ClusterId end |
#HealthCheckPolicy ⇒ Object
102 103 104 |
# File 'lib/v20220501/models.rb', line 102 def HealthCheckPolicy @HealthCheckPolicy end |
Instance Method Details
#deserialize(params) ⇒ Object
109 110 111 112 113 114 115 |
# File 'lib/v20220501/models.rb', line 109 def deserialize(params) @ClusterId = params['ClusterId'] unless params['HealthCheckPolicy'].nil? @HealthCheckPolicy = HealthCheckPolicy.new @HealthCheckPolicy.deserialize(params['HealthCheckPolicy']) end end |