From 9949be281bfa1e5cb3c56c6d0a7f57057f997c21 Mon Sep 17 00:00:00 2001 From: Changlong Liu Date: Wed, 10 Jun 2020 11:02:48 +0800 Subject: [PATCH] adjust model for m4 issue #83 --- .../azure/mgmt/digitaltwins/models/_models.py | 46 +++++++++---------- .../mgmt/digitaltwins/models/_models_py3.py | 46 +++++++++---------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models.py b/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models.py index e2653ada7f3b..63f480f26cb1 100644 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models.py +++ b/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models.py @@ -13,6 +13,29 @@ from msrest.exceptions import HttpOperationError +class DigitalTwinsSkuInfo(Model): + """Information about the SKU of the DigitalTwinsInstance. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. Default value: "F1" . + :vartype name: str + """ + + _validation = { + 'name': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + name = "F1" + + class CheckNameRequest(Model): """The result returned from a database check name availability request. @@ -335,29 +358,6 @@ def __init__(self, **kwargs): self.tags = kwargs.get('tags', None) -class DigitalTwinsSkuInfo(Model): - """Information about the SKU of the DigitalTwinsInstance. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar name: Required. The name of the SKU. Default value: "F1" . - :vartype name: str - """ - - _validation = { - 'name': {'required': True, 'constant': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - } - - name = "F1" - - class ErrorDefinition(Model): """Error definition. diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models_py3.py b/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models_py3.py index e09f6604c70d..d260c445a45a 100644 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models_py3.py +++ b/sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models_py3.py @@ -13,6 +13,29 @@ from msrest.exceptions import HttpOperationError +class DigitalTwinsSkuInfo(Model): + """Information about the SKU of the DigitalTwinsInstance. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. Default value: "F1" . + :vartype name: str + """ + + _validation = { + 'name': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + name = "F1" + + class CheckNameRequest(Model): """The result returned from a database check name availability request. @@ -335,29 +358,6 @@ def __init__(self, *, tags=None, **kwargs) -> None: self.tags = tags -class DigitalTwinsSkuInfo(Model): - """Information about the SKU of the DigitalTwinsInstance. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar name: Required. The name of the SKU. Default value: "F1" . - :vartype name: str - """ - - _validation = { - 'name': {'required': True, 'constant': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - } - - name = "F1" - - class ErrorDefinition(Model): """Error definition.