Class: TencentCloud::Tke::V20180525::RouteInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

集群路由对象

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DestinationCidrBlockObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的端CIDR。

  • GatewayIp:

    下一跳地址。



17773
17774
17775
# File 'lib/v20180525/models.rb', line 17773

def DestinationCidrBlock
  @DestinationCidrBlock
end

#GatewayIpObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的端CIDR。

  • GatewayIp:

    下一跳地址。



17773
17774
17775
# File 'lib/v20180525/models.rb', line 17773

def GatewayIp
  @GatewayIp
end

#RouteTableNameObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的端CIDR。

  • GatewayIp:

    下一跳地址。



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