1919from volcenginesdkcore .configuration import Configuration
2020
2121
22- class BgpConfigForCreateVpnConnectionInput (object ):
22+ class BGPConfigForCreateVpnConnectionInput (object ):
2323 """NOTE: This class is auto generated by the swagger code generator program.
2424
2525 Do not edit the class manually.
@@ -33,93 +33,93 @@ class BgpConfigForCreateVpnConnectionInput(object):
3333 and the value is json key in definition.
3434 """
3535 swagger_types = {
36- 'enable_bgp ' : 'bool ' ,
36+ 'local_bgp_ip ' : 'str ' ,
3737 'local_bgp_ip' : 'str' ,
3838 'tunnel_cidr' : 'str'
3939 }
4040
4141 attribute_map = {
42- 'enable_bgp ' : 'EnableBgp ' ,
42+ 'local_bgp_ip ' : 'LocalBgpIP ' ,
4343 'local_bgp_ip' : 'LocalBgpIp' ,
4444 'tunnel_cidr' : 'TunnelCidr'
4545 }
4646
47- def __init__ (self , enable_bgp = None , local_bgp_ip = None , tunnel_cidr = None , _configuration = None ): # noqa: E501
48- """BgpConfigForCreateVpnConnectionInput - a model defined in Swagger""" # noqa: E501
47+ def __init__ (self , local_bgp_ip = None , local_bgp_ip = None , tunnel_cidr = None , _configuration = None ): # noqa: E501
48+ """BGPConfigForCreateVpnConnectionInput - a model defined in Swagger""" # noqa: E501
4949 if _configuration is None :
5050 _configuration = Configuration ()
5151 self ._configuration = _configuration
5252
53- self ._enable_bgp = None
53+ self ._local_bgp_ip = None
5454 self ._local_bgp_ip = None
5555 self ._tunnel_cidr = None
5656 self .discriminator = None
5757
58- if enable_bgp is not None :
59- self .enable_bgp = enable_bgp
58+ if local_bgp_ip is not None :
59+ self .local_bgp_ip = local_bgp_ip
6060 if local_bgp_ip is not None :
6161 self .local_bgp_ip = local_bgp_ip
6262 if tunnel_cidr is not None :
6363 self .tunnel_cidr = tunnel_cidr
6464
6565 @property
66- def enable_bgp (self ):
67- """Gets the enable_bgp of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
66+ def local_bgp_ip (self ):
67+ """Gets the local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
6868
6969
70- :return: The enable_bgp of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
71- :rtype: bool
70+ :return: The local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
71+ :rtype: str
7272 """
73- return self ._enable_bgp
73+ return self ._local_bgp_ip
7474
75- @enable_bgp .setter
76- def enable_bgp (self , enable_bgp ):
77- """Sets the enable_bgp of this BgpConfigForCreateVpnConnectionInput .
75+ @local_bgp_ip .setter
76+ def local_bgp_ip (self , local_bgp_ip ):
77+ """Sets the local_bgp_ip of this BGPConfigForCreateVpnConnectionInput .
7878
7979
80- :param enable_bgp : The enable_bgp of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
81- :type: bool
80+ :param local_bgp_ip : The local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
81+ :type: str
8282 """
8383
84- self ._enable_bgp = enable_bgp
84+ self ._local_bgp_ip = local_bgp_ip
8585
8686 @property
8787 def local_bgp_ip (self ):
88- """Gets the local_bgp_ip of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
88+ """Gets the local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
8989
9090
91- :return: The local_bgp_ip of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
91+ :return: The local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
9292 :rtype: str
9393 """
9494 return self ._local_bgp_ip
9595
9696 @local_bgp_ip .setter
9797 def local_bgp_ip (self , local_bgp_ip ):
98- """Sets the local_bgp_ip of this BgpConfigForCreateVpnConnectionInput .
98+ """Sets the local_bgp_ip of this BGPConfigForCreateVpnConnectionInput .
9999
100100
101- :param local_bgp_ip: The local_bgp_ip of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
101+ :param local_bgp_ip: The local_bgp_ip of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
102102 :type: str
103103 """
104104
105105 self ._local_bgp_ip = local_bgp_ip
106106
107107 @property
108108 def tunnel_cidr (self ):
109- """Gets the tunnel_cidr of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
109+ """Gets the tunnel_cidr of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
110110
111111
112- :return: The tunnel_cidr of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
112+ :return: The tunnel_cidr of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
113113 :rtype: str
114114 """
115115 return self ._tunnel_cidr
116116
117117 @tunnel_cidr .setter
118118 def tunnel_cidr (self , tunnel_cidr ):
119- """Sets the tunnel_cidr of this BgpConfigForCreateVpnConnectionInput .
119+ """Sets the tunnel_cidr of this BGPConfigForCreateVpnConnectionInput .
120120
121121
122- :param tunnel_cidr: The tunnel_cidr of this BgpConfigForCreateVpnConnectionInput . # noqa: E501
122+ :param tunnel_cidr: The tunnel_cidr of this BGPConfigForCreateVpnConnectionInput . # noqa: E501
123123 :type: str
124124 """
125125
@@ -146,7 +146,7 @@ def to_dict(self):
146146 ))
147147 else :
148148 result [attr ] = value
149- if issubclass (BgpConfigForCreateVpnConnectionInput , dict ):
149+ if issubclass (BGPConfigForCreateVpnConnectionInput , dict ):
150150 for key , value in self .items ():
151151 result [key ] = value
152152
@@ -162,14 +162,14 @@ def __repr__(self):
162162
163163 def __eq__ (self , other ):
164164 """Returns true if both objects are equal"""
165- if not isinstance (other , BgpConfigForCreateVpnConnectionInput ):
165+ if not isinstance (other , BGPConfigForCreateVpnConnectionInput ):
166166 return False
167167
168168 return self .to_dict () == other .to_dict ()
169169
170170 def __ne__ (self , other ):
171171 """Returns true if both objects are not equal"""
172- if not isinstance (other , BgpConfigForCreateVpnConnectionInput ):
172+ if not isinstance (other , BGPConfigForCreateVpnConnectionInput ):
173173 return True
174174
175175 return self .to_dict () != other .to_dict ()
0 commit comments