Class: TencentCloud::Tke::V20180525::DescribeClusterRoutesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterRoutesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterRoutes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, routeset = nil, requestid = nil) ⇒ DescribeClusterRoutesResponse
constructor
A new instance of DescribeClusterRoutesResponse.
Constructor Details
#initialize(totalcount = nil, routeset = nil, requestid = nil) ⇒ DescribeClusterRoutesResponse
Returns a new instance of DescribeClusterRoutesResponse.
6592 6593 6594 6595 6596 |
# File 'lib/v20180525/models.rb', line 6592 def initialize(totalcount=nil, routeset=nil, requestid=nil) @TotalCount = totalcount @RouteSet = routeset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
6590 6591 6592 |
# File 'lib/v20180525/models.rb', line 6590 def RequestId @RequestId end |
#RouteSet ⇒ Object
6590 6591 6592 |
# File 'lib/v20180525/models.rb', line 6590 def RouteSet @RouteSet end |
#TotalCount ⇒ Object
6590 6591 6592 |
# File 'lib/v20180525/models.rb', line 6590 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 |
# File 'lib/v20180525/models.rb', line 6598 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RouteSet'].nil? @RouteSet = [] params['RouteSet'].each do |i| routeinfo_tmp = RouteInfo.new routeinfo_tmp.deserialize(i) @RouteSet << routeinfo_tmp end end @RequestId = params['RequestId'] end |