Class: TencentCloud::Tke::V20180525::RouteInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::RouteInfo
- Defined in:
- lib/v20180525/models.rb
Overview
集群路由对象
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(routetablename = nil, destinationcidrblock = nil, gatewayip = nil) ⇒ RouteInfo
constructor
A new instance of RouteInfo.
Constructor Details
#initialize(routetablename = nil, destinationcidrblock = nil, gatewayip = nil) ⇒ RouteInfo
Returns a new instance of RouteInfo.
19148 19149 19150 19151 19152 |
# File 'lib/v20180525/models.rb', line 19148 def initialize(routetablename=nil, destinationcidrblock=nil, gatewayip=nil) @RouteTableName = routetablename @DestinationCidrBlock = destinationcidrblock @GatewayIp = gatewayip end |
Instance Attribute Details
#DestinationCidrBlock ⇒ Object
19146 19147 19148 |
# File 'lib/v20180525/models.rb', line 19146 def DestinationCidrBlock @DestinationCidrBlock end |
#GatewayIp ⇒ Object
19146 19147 19148 |
# File 'lib/v20180525/models.rb', line 19146 def GatewayIp @GatewayIp end |
#RouteTableName ⇒ Object
19146 19147 19148 |
# File 'lib/v20180525/models.rb', line 19146 def RouteTableName @RouteTableName end |
Instance Method Details
#deserialize(params) ⇒ Object
19154 19155 19156 19157 19158 |
# File 'lib/v20180525/models.rb', line 19154 def deserialize(params) @RouteTableName = params['RouteTableName'] @DestinationCidrBlock = params['DestinationCidrBlock'] @GatewayIp = params['GatewayIp'] end |