From 52115df45325251e819cacd6f638a954f0be6e82 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 18 Feb 2022 09:17:56 +0000 Subject: [PATCH] CodeGen from PR 17827 in Azure/azure-rest-api-specs Merge 6298506a310492065a6a2db33e5f34b7515800fd into 0229905ebb1e140b68ce2f4b90ef185dea0f79ad --- sdk/subscription/azure-mgmt-subscription/_meta.json | 2 +- .../azure/mgmt/subscription/_version.py | 2 +- .../azure/mgmt/subscription/models/_models_py3.py | 12 +++--------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/sdk/subscription/azure-mgmt-subscription/_meta.json b/sdk/subscription/azure-mgmt-subscription/_meta.json index 26df39e60ba6..0d25c4e1eca6 100644 --- a/sdk/subscription/azure-mgmt-subscription/_meta.json +++ b/sdk/subscription/azure-mgmt-subscription/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.12.0", "@autorest/modelerfour@4.19.3" ], - "commit": "1b0a465061c68175898f8f5d27f0301f42ce994c", + "commit": "46ad97970c9c2050396de6d1d0f586166b8d0417", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/subscription/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/subscription/resource-manager/readme.md" diff --git a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py index cac9f5d10f8b..e5754a47ce68 100644 --- a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py +++ b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py index 85bfda0fa46b..740ad487b7dd 100644 --- a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py +++ b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py @@ -1142,18 +1142,12 @@ def __init__( class SubscriptionListResult(msrest.serialization.Model): """Subscription list operation response. - All required parameters must be populated in order to send to Azure. - :ivar value: An array of subscriptions. :vartype value: list[~azure.mgmt.subscription.models.Subscription] - :ivar next_link: Required. The URL to get the next set of results. + :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ - _validation = { - 'next_link': {'required': True}, - } - _attribute_map = { 'value': {'key': 'value', 'type': '[Subscription]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, @@ -1162,14 +1156,14 @@ class SubscriptionListResult(msrest.serialization.Model): def __init__( self, *, - next_link: str, value: Optional[List["Subscription"]] = None, + next_link: Optional[str] = None, **kwargs ): """ :keyword value: An array of subscriptions. :paramtype value: list[~azure.mgmt.subscription.models.Subscription] - :keyword next_link: Required. The URL to get the next set of results. + :keyword next_link: The URL to get the next set of results. :paramtype next_link: str """ super(SubscriptionListResult, self).__init__(**kwargs)