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.
17775 17776 17777 17778 17779 |
# File 'lib/v20180525/models.rb', line 17775 def initialize(routetablename=nil, destinationcidrblock=nil, gatewayip=nil) @RouteTableName = routetablename @DestinationCidrBlock = destinationcidrblock @GatewayIp = gatewayip end |
Instance Attribute Details
#DestinationCidrBlock ⇒ Object
17773 17774 17775 |
# File 'lib/v20180525/models.rb', line 17773 def DestinationCidrBlock @DestinationCidrBlock end |
#GatewayIp ⇒ Object
17773 17774 17775 |
# File 'lib/v20180525/models.rb', line 17773 def GatewayIp @GatewayIp end |
#RouteTableName ⇒ Object
17773 17774 17775 |
# File 'lib/v20180525/models.rb', line 17773 def RouteTableName @RouteTableName end |
Instance Method Details
#deserialize(params) ⇒ Object
17781 17782 17783 17784 17785 |
# File 'lib/v20180525/models.rb', line 17781 def deserialize(params) @RouteTableName = params['RouteTableName'] @DestinationCidrBlock = params['DestinationCidrBlock'] @GatewayIp = params['GatewayIp'] end |