Class: TencentCloud::Dc::V20180410::ModifyDirectConnectTunnelExtraRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::ModifyDirectConnectTunnelExtraRequest
- Defined in:
- lib/v20180410/models.rb
Overview
ModifyDirectConnectTunnelExtra请求参数结构体
Instance Attribute Summary collapse
- #Bandwidth ⇒ Object
- #BfdEnable ⇒ Object
- #BfdInfo ⇒ Object
- #BgpPeer ⇒ Object
- #CustomerAddress ⇒ Object
- #CustomerIDCRoutes ⇒ Object
- #CustomerIPv6Address ⇒ Object
- #DirectConnectTunnelId ⇒ Object
- #EnableBGPCommunity ⇒ Object
- #ImportDirectRoute ⇒ Object
- #IPv6Enable ⇒ Object
- #JumboEnable ⇒ Object
- #NqaEnable ⇒ Object
- #NqaInfo ⇒ Object
- #RouteFilterPrefixes ⇒ Object
- #TencentAddress ⇒ Object
- #TencentBackupAddress ⇒ Object
- #TencentBackupIPv6Address ⇒ Object
- #TencentIPv6Address ⇒ Object
- #Vlan ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(directconnecttunnelid = nil, vlan = nil, bgppeer = nil, routefilterprefixes = nil, tencentaddress = nil, tencentbackupaddress = nil, customeraddress = nil, bandwidth = nil, enablebgpcommunity = nil, bfdenable = nil, nqaenable = nil, bfdinfo = nil, nqainfo = nil, ipv6enable = nil, customeridcroutes = nil, jumboenable = nil, tencentipv6address = nil, tencentbackupipv6address = nil, customeripv6address = nil, importdirectroute = nil) ⇒ ModifyDirectConnectTunnelExtraRequest
constructor
A new instance of ModifyDirectConnectTunnelExtraRequest.
Constructor Details
#initialize(directconnecttunnelid = nil, vlan = nil, bgppeer = nil, routefilterprefixes = nil, tencentaddress = nil, tencentbackupaddress = nil, customeraddress = nil, bandwidth = nil, enablebgpcommunity = nil, bfdenable = nil, nqaenable = nil, bfdinfo = nil, nqainfo = nil, ipv6enable = nil, customeridcroutes = nil, jumboenable = nil, tencentipv6address = nil, tencentbackupipv6address = nil, customeripv6address = nil, importdirectroute = nil) ⇒ ModifyDirectConnectTunnelExtraRequest
Returns a new instance of ModifyDirectConnectTunnelExtraRequest.
2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 |
# File 'lib/v20180410/models.rb', line 2250 def initialize(directconnecttunnelid=nil, vlan=nil, bgppeer=nil, routefilterprefixes=nil, tencentaddress=nil, tencentbackupaddress=nil, customeraddress=nil, bandwidth=nil, enablebgpcommunity=nil, bfdenable=nil, nqaenable=nil, bfdinfo=nil, nqainfo=nil, ipv6enable=nil, customeridcroutes=nil, jumboenable=nil, tencentipv6address=nil, tencentbackupipv6address=nil, customeripv6address=nil, importdirectroute=nil) @DirectConnectTunnelId = directconnecttunnelid @Vlan = vlan @BgpPeer = bgppeer @RouteFilterPrefixes = routefilterprefixes @TencentAddress = tencentaddress @TencentBackupAddress = tencentbackupaddress @CustomerAddress = customeraddress @Bandwidth = bandwidth @EnableBGPCommunity = enablebgpcommunity @BfdEnable = bfdenable @NqaEnable = nqaenable @BfdInfo = bfdinfo @NqaInfo = nqainfo @IPv6Enable = ipv6enable @CustomerIDCRoutes = customeridcroutes @JumboEnable = jumboenable @TencentIPv6Address = tencentipv6address @TencentBackupIPv6Address = tencentbackupipv6address @CustomerIPv6Address = customeripv6address @ImportDirectRoute = importdirectroute end |
Instance Attribute Details
#Bandwidth ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def Bandwidth @Bandwidth end |
#BfdEnable ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def BfdEnable @BfdEnable end |
#BfdInfo ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def BfdInfo @BfdInfo end |
#BgpPeer ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def BgpPeer @BgpPeer end |
#CustomerAddress ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def CustomerAddress @CustomerAddress end |
#CustomerIDCRoutes ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def CustomerIDCRoutes @CustomerIDCRoutes end |
#CustomerIPv6Address ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def CustomerIPv6Address @CustomerIPv6Address end |
#DirectConnectTunnelId ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def DirectConnectTunnelId @DirectConnectTunnelId end |
#EnableBGPCommunity ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def EnableBGPCommunity @EnableBGPCommunity end |
#ImportDirectRoute ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def ImportDirectRoute @ImportDirectRoute end |
#IPv6Enable ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def IPv6Enable @IPv6Enable end |
#JumboEnable ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def JumboEnable @JumboEnable end |
#NqaEnable ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def NqaEnable @NqaEnable end |
#NqaInfo ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def NqaInfo @NqaInfo end |
#RouteFilterPrefixes ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def RouteFilterPrefixes @RouteFilterPrefixes end |
#TencentAddress ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def TencentAddress @TencentAddress end |
#TencentBackupAddress ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def TencentBackupAddress @TencentBackupAddress end |
#TencentBackupIPv6Address ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def TencentBackupIPv6Address @TencentBackupIPv6Address end |
#TencentIPv6Address ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def TencentIPv6Address @TencentIPv6Address end |
#Vlan ⇒ Object
2248 2249 2250 |
# File 'lib/v20180410/models.rb', line 2248 def Vlan @Vlan end |
Instance Method Details
#deserialize(params) ⇒ Object
2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 |
# File 'lib/v20180410/models.rb', line 2273 def deserialize(params) @DirectConnectTunnelId = params['DirectConnectTunnelId'] @Vlan = params['Vlan'] unless params['BgpPeer'].nil? @BgpPeer = BgpPeer.new @BgpPeer.deserialize(params['BgpPeer']) end unless params['RouteFilterPrefixes'].nil? @RouteFilterPrefixes = RouteFilterPrefix.new @RouteFilterPrefixes.deserialize(params['RouteFilterPrefixes']) end @TencentAddress = params['TencentAddress'] @TencentBackupAddress = params['TencentBackupAddress'] @CustomerAddress = params['CustomerAddress'] @Bandwidth = params['Bandwidth'] @EnableBGPCommunity = params['EnableBGPCommunity'] @BfdEnable = params['BfdEnable'] @NqaEnable = params['NqaEnable'] unless params['BfdInfo'].nil? @BfdInfo = BFDInfo.new @BfdInfo.deserialize(params['BfdInfo']) end unless params['NqaInfo'].nil? @NqaInfo = NQAInfo.new @NqaInfo.deserialize(params['NqaInfo']) end @IPv6Enable = params['IPv6Enable'] unless params['CustomerIDCRoutes'].nil? @CustomerIDCRoutes = [] params['CustomerIDCRoutes'].each do |i| routefilterprefix_tmp = RouteFilterPrefix.new routefilterprefix_tmp.deserialize(i) @CustomerIDCRoutes << routefilterprefix_tmp end end @JumboEnable = params['JumboEnable'] @TencentIPv6Address = params['TencentIPv6Address'] @TencentBackupIPv6Address = params['TencentBackupIPv6Address'] @CustomerIPv6Address = params['CustomerIPv6Address'] @ImportDirectRoute = params['ImportDirectRoute'] end |