diff --git a/azure-mgmt-billing/azure/mgmt/billing/models/__init__.py b/azure-mgmt-billing/azure/mgmt/billing/models/__init__.py index d0e7c3841e9a..d86175e64959 100644 --- a/azure-mgmt-billing/azure/mgmt/billing/models/__init__.py +++ b/azure-mgmt-billing/azure/mgmt/billing/models/__init__.py @@ -9,7 +9,7 @@ # regenerated. # -------------------------------------------------------------------------- -from .enrollment_account_result import EnrollmentAccountResult +from .enrollment_account import EnrollmentAccount from .enrollment_account_list_result import EnrollmentAccountListResult from .billing_period import BillingPeriod from .download_url import DownloadUrl @@ -24,7 +24,7 @@ from .operation_paged import OperationPaged __all__ = [ - 'EnrollmentAccountResult', + 'EnrollmentAccount', 'EnrollmentAccountListResult', 'BillingPeriod', 'DownloadUrl', diff --git a/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_result.py b/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account.py similarity index 93% rename from azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_result.py rename to azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account.py index 35ede880e131..3e8e6cb69204 100644 --- a/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_result.py +++ b/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account.py @@ -12,7 +12,7 @@ from .resource import Resource -class EnrollmentAccountResult(Resource): +class EnrollmentAccount(Resource): """An enrollment account resource. Variables are only populated by the server, and will be ignored when @@ -43,5 +43,5 @@ class EnrollmentAccountResult(Resource): } def __init__(self): - super(EnrollmentAccountResult, self).__init__() + super(EnrollmentAccount, self).__init__() self.principal_name = None diff --git a/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_list_result.py b/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_list_result.py index a13993e35f43..c0213efc3aa7 100644 --- a/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_list_result.py +++ b/azure-mgmt-billing/azure/mgmt/billing/models/enrollment_account_list_result.py @@ -19,17 +19,22 @@ class EnrollmentAccountListResult(Model): sending a request. :ivar value: The list of enrollment accounts. - :vartype value: list[~azure.mgmt.billing.models.EnrollmentAccountResult] + :vartype value: list[~azure.mgmt.billing.models.EnrollmentAccount] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str """ _validation = { 'value': {'readonly': True}, + 'next_link': {'readonly': True}, } _attribute_map = { - 'value': {'key': 'value', 'type': '[EnrollmentAccountResult]'}, + 'value': {'key': 'value', 'type': '[EnrollmentAccount]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__(self): super(EnrollmentAccountListResult, self).__init__() self.value = None + self.next_link = None diff --git a/azure-mgmt-billing/azure/mgmt/billing/operations/enrollment_accounts_operations.py b/azure-mgmt-billing/azure/mgmt/billing/operations/enrollment_accounts_operations.py index 34253be4c9ee..f57d6400f917 100644 --- a/azure-mgmt-billing/azure/mgmt/billing/operations/enrollment_accounts_operations.py +++ b/azure-mgmt-billing/azure/mgmt/billing/operations/enrollment_accounts_operations.py @@ -98,8 +98,8 @@ def get( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: EnrollmentAccountResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.billing.models.EnrollmentAccountResult or + :return: EnrollmentAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.billing.models.EnrollmentAccount or ~msrest.pipeline.ClientRawResponse :raises: :class:`ErrorResponseException` @@ -135,7 +135,7 @@ def get( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('EnrollmentAccountResult', response) + deserialized = self._deserialize('EnrollmentAccount', response) if raw: client_raw_response = ClientRawResponse(deserialized, response)