Class: TencentCloud::Tdcpg::V20211118::DescribeClusterEndpointsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdcpg::V20211118::DescribeClusterEndpointsResponse
- Defined in:
- lib/v20211118/models.rb
Overview
DescribeClusterEndpoints返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, endpointset = nil, requestid = nil) ⇒ DescribeClusterEndpointsResponse
constructor
A new instance of DescribeClusterEndpointsResponse.
Constructor Details
#initialize(totalcount = nil, endpointset = nil, requestid = nil) ⇒ DescribeClusterEndpointsResponse
Returns a new instance of DescribeClusterEndpointsResponse.
700 701 702 703 704 |
# File 'lib/v20211118/models.rb', line 700 def initialize(totalcount=nil, endpointset=nil, requestid=nil) @TotalCount = totalcount @EndpointSet = endpointset @RequestId = requestid end |
Instance Attribute Details
#EndpointSet ⇒ Object
698 699 700 |
# File 'lib/v20211118/models.rb', line 698 def EndpointSet @EndpointSet end |
#RequestId ⇒ Object
698 699 700 |
# File 'lib/v20211118/models.rb', line 698 def RequestId @RequestId end |
#TotalCount ⇒ Object
698 699 700 |
# File 'lib/v20211118/models.rb', line 698 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
706 707 708 709 710 711 712 713 714 715 716 717 |
# File 'lib/v20211118/models.rb', line 706 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EndpointSet'].nil? @EndpointSet = [] params['EndpointSet'].each do |i| endpoint_tmp = Endpoint.new endpoint_tmp.deserialize(i) @EndpointSet << endpoint_tmp end end @RequestId = params['RequestId'] end |