Skip to content

Commit

Permalink
Generated from 04fdf1fe8412fcaa3bd0df3883b5c5b52ee88c24 (#4853)
Browse files Browse the repository at this point in the history
Reformat
  • Loading branch information
AutorestCI authored Apr 15, 2019
1 parent 59d94d1 commit 1aebb99
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class EffectiveRoute(Model):
:param name: The name of the user defined route. This is optional.
:type name: str
:param disable_bgp_route_propagation: If true, on-premises routes are not
propagated to the network interfaces in the subnet.
:type disable_bgp_route_propagation: bool
:param source: Who created the route. Possible values are: 'Unknown',
'User', 'VirtualNetworkGateway', and 'Default'. Possible values include:
'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
Expand All @@ -43,6 +46,7 @@ class EffectiveRoute(Model):

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'disable_bgp_route_propagation': {'key': 'disableBgpRoutePropagation', 'type': 'bool'},
'source': {'key': 'source', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'address_prefix': {'key': 'addressPrefix', 'type': '[str]'},
Expand All @@ -53,6 +57,7 @@ class EffectiveRoute(Model):
def __init__(self, **kwargs):
super(EffectiveRoute, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.disable_bgp_route_propagation = kwargs.get('disable_bgp_route_propagation', None)
self.source = kwargs.get('source', None)
self.state = kwargs.get('state', None)
self.address_prefix = kwargs.get('address_prefix', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class EffectiveRoute(Model):
:param name: The name of the user defined route. This is optional.
:type name: str
:param disable_bgp_route_propagation: If true, on-premises routes are not
propagated to the network interfaces in the subnet.
:type disable_bgp_route_propagation: bool
:param source: Who created the route. Possible values are: 'Unknown',
'User', 'VirtualNetworkGateway', and 'Default'. Possible values include:
'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
Expand All @@ -43,16 +46,18 @@ class EffectiveRoute(Model):

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'disable_bgp_route_propagation': {'key': 'disableBgpRoutePropagation', 'type': 'bool'},
'source': {'key': 'source', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'address_prefix': {'key': 'addressPrefix', 'type': '[str]'},
'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': '[str]'},
'next_hop_type': {'key': 'nextHopType', 'type': 'str'},
}

def __init__(self, *, name: str=None, source=None, state=None, address_prefix=None, next_hop_ip_address=None, next_hop_type=None, **kwargs) -> None:
def __init__(self, *, name: str=None, disable_bgp_route_propagation: bool=None, source=None, state=None, address_prefix=None, next_hop_ip_address=None, next_hop_type=None, **kwargs) -> None:
super(EffectiveRoute, self).__init__(**kwargs)
self.name = name
self.disable_bgp_route_propagation = disable_bgp_route_propagation
self.source = source
self.state = state
self.address_prefix = address_prefix
Expand Down

0 comments on commit 1aebb99

Please sign in to comment.