Class: TencentCloud::Tke::V20180525::CreateClusterRouteRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateClusterRouteRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateClusterRoute请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(routetablename = nil, destinationcidrblock = nil, gatewayip = nil) ⇒ CreateClusterRouteRequest
constructor
A new instance of CreateClusterRouteRequest.
Constructor Details
#initialize(routetablename = nil, destinationcidrblock = nil, gatewayip = nil) ⇒ CreateClusterRouteRequest
Returns a new instance of CreateClusterRouteRequest.
2434 2435 2436 2437 2438 |
# File 'lib/v20180525/models.rb', line 2434 def initialize(routetablename=nil, destinationcidrblock=nil, gatewayip=nil) @RouteTableName = routetablename @DestinationCidrBlock = destinationcidrblock @GatewayIp = gatewayip end |
Instance Attribute Details
#DestinationCidrBlock ⇒ Object
2432 2433 2434 |
# File 'lib/v20180525/models.rb', line 2432 def DestinationCidrBlock @DestinationCidrBlock end |
#GatewayIp ⇒ Object
2432 2433 2434 |
# File 'lib/v20180525/models.rb', line 2432 def GatewayIp @GatewayIp end |
#RouteTableName ⇒ Object
2432 2433 2434 |
# File 'lib/v20180525/models.rb', line 2432 def RouteTableName @RouteTableName end |
Instance Method Details
#deserialize(params) ⇒ Object
2440 2441 2442 2443 2444 |
# File 'lib/v20180525/models.rb', line 2440 def deserialize(params) @RouteTableName = params['RouteTableName'] @DestinationCidrBlock = params['DestinationCidrBlock'] @GatewayIp = params['GatewayIp'] end |