Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR hdinsight/resource-manager] [HDInsight] Fixed non-existent extra parameter (bug) #3721

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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