Class: TencentCloud::Tke::V20220501::DescribeHealthCheckPoliciesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeHealthCheckPoliciesRequest
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeHealthCheckPolicies请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, filters = nil, limit = nil, offset = nil) ⇒ DescribeHealthCheckPoliciesRequest
constructor
A new instance of DescribeHealthCheckPoliciesRequest.
Constructor Details
#initialize(clusterid = nil, filters = nil, limit = nil, offset = nil) ⇒ DescribeHealthCheckPoliciesRequest
Returns a new instance of DescribeHealthCheckPoliciesRequest.
594 595 596 597 598 599 |
# File 'lib/v20220501/models.rb', line 594 def initialize(clusterid=nil, filters=nil, limit=nil, offset=nil) @ClusterId = clusterid @Filters = filters @Limit = limit @Offset = offset end |
Instance Attribute Details
#ClusterId ⇒ Object
592 593 594 |
# File 'lib/v20220501/models.rb', line 592 def ClusterId @ClusterId end |
#Filters ⇒ Object
592 593 594 |
# File 'lib/v20220501/models.rb', line 592 def Filters @Filters end |
#Limit ⇒ Object
592 593 594 |
# File 'lib/v20220501/models.rb', line 592 def Limit @Limit end |
#Offset ⇒ Object
592 593 594 |
# File 'lib/v20220501/models.rb', line 592 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
601 602 603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/v20220501/models.rb', line 601 def deserialize(params) @ClusterId = params['ClusterId'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Limit = params['Limit'] @Offset = params['Offset'] end |