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.
7138 7139 7140 7141 7142 |
# File 'lib/v20180525/models.rb', line 7138 def initialize(totalcount=nil, routeset=nil, requestid=nil) @TotalCount = totalcount @RouteSet = routeset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7136 7137 7138 |
# File 'lib/v20180525/models.rb', line 7136 def RequestId @RequestId end |
#RouteSet ⇒ Object
7136 7137 7138 |
# File 'lib/v20180525/models.rb', line 7136 def RouteSet @RouteSet end |
#TotalCount ⇒ Object
7136 7137 7138 |
# File 'lib/v20180525/models.rb', line 7136 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 |
# File 'lib/v20180525/models.rb', line 7144 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 |