Skip to content

Commit

Permalink
Generated from 4470c45fbc3ee7fef05111908a961c64dec8f97f (#3721)
Browse files Browse the repository at this point in the history
Fixed non-existent extra parameter (bug)
  • Loading branch information
AutorestCI authored Oct 31, 2018
1 parent 7394aa2 commit 379b190
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
class ApplicationGetHttpsEndpoint(Model):
"""Gets the application HTTP endpoints.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, str]
:param access_modes: The list of access modes for the application.
:type access_modes: list[str]
:param location: The location of the endpoint.
Expand All @@ -29,7 +26,6 @@ class ApplicationGetHttpsEndpoint(Model):
"""

_attribute_map = {
'additional_properties': {'key': '', 'type': '{str}'},
'access_modes': {'key': 'accessModes', 'type': '[str]'},
'location': {'key': 'location', 'type': 'str'},
'destination_port': {'key': 'destinationPort', 'type': 'int'},
Expand All @@ -38,7 +34,6 @@ class ApplicationGetHttpsEndpoint(Model):

def __init__(self, **kwargs):
super(ApplicationGetHttpsEndpoint, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.access_modes = kwargs.get('access_modes', None)
self.location = kwargs.get('location', None)
self.destination_port = kwargs.get('destination_port', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
class ApplicationGetHttpsEndpoint(Model):
"""Gets the application HTTP endpoints.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, str]
:param access_modes: The list of access modes for the application.
:type access_modes: list[str]
:param location: The location of the endpoint.
Expand All @@ -29,16 +26,14 @@ class ApplicationGetHttpsEndpoint(Model):
"""

_attribute_map = {
'additional_properties': {'key': '', 'type': '{str}'},
'access_modes': {'key': 'accessModes', 'type': '[str]'},
'location': {'key': 'location', 'type': 'str'},
'destination_port': {'key': 'destinationPort', 'type': 'int'},
'public_port': {'key': 'publicPort', 'type': 'int'},
}

def __init__(self, *, additional_properties=None, access_modes=None, location: str=None, destination_port: int=None, public_port: int=None, **kwargs) -> None:
def __init__(self, *, access_modes=None, location: str=None, destination_port: int=None, public_port: int=None, **kwargs) -> None:
super(ApplicationGetHttpsEndpoint, self).__init__(**kwargs)
self.additional_properties = additional_properties
self.access_modes = access_modes
self.location = location
self.destination_port = destination_port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class ApplicationProperties(Model):
:vartype created_date: str
:ivar marketplace_identifier: The marketplace identifier.
:vartype marketplace_identifier: str
:param additional_properties: The additional properties for application.
:type additional_properties: str
"""

_validation = {
Expand All @@ -67,7 +65,6 @@ class ApplicationProperties(Model):
'errors': {'key': 'errors', 'type': '[Errors]'},
'created_date': {'key': 'createdDate', 'type': 'str'},
'marketplace_identifier': {'key': 'marketplaceIdentifier', 'type': 'str'},
'additional_properties': {'key': 'additionalProperties', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -83,4 +80,3 @@ def __init__(self, **kwargs):
self.errors = kwargs.get('errors', None)
self.created_date = None
self.marketplace_identifier = None
self.additional_properties = kwargs.get('additional_properties', None)
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class ApplicationProperties(Model):
:vartype created_date: str
:ivar marketplace_identifier: The marketplace identifier.
:vartype marketplace_identifier: str
:param additional_properties: The additional properties for application.
:type additional_properties: str
"""

_validation = {
Expand All @@ -67,10 +65,9 @@ class ApplicationProperties(Model):
'errors': {'key': 'errors', 'type': '[Errors]'},
'created_date': {'key': 'createdDate', 'type': 'str'},
'marketplace_identifier': {'key': 'marketplaceIdentifier', 'type': 'str'},
'additional_properties': {'key': 'additionalProperties', 'type': 'str'},
}

def __init__(self, *, compute_profile=None, install_script_actions=None, uninstall_script_actions=None, https_endpoints=None, ssh_endpoints=None, application_type: str=None, errors=None, additional_properties: str=None, **kwargs) -> None:
def __init__(self, *, compute_profile=None, install_script_actions=None, uninstall_script_actions=None, https_endpoints=None, ssh_endpoints=None, application_type: str=None, errors=None, **kwargs) -> None:
super(ApplicationProperties, self).__init__(**kwargs)
self.compute_profile = compute_profile
self.install_script_actions = install_script_actions
Expand All @@ -83,4 +80,3 @@ def __init__(self, *, compute_profile=None, install_script_actions=None, uninsta
self.errors = errors
self.created_date = None
self.marketplace_identifier = None
self.additional_properties = additional_properties

0 comments on commit 379b190

Please sign in to comment.