Skip to content

Commit 08a1499

Browse files
adjust model for m4 issue #83 (Azure#11938)
1 parent cf6eaae commit 08a1499

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@
1313
from msrest.exceptions import HttpOperationError
1414

1515

16+
class DigitalTwinsSkuInfo(Model):
17+
"""Information about the SKU of the DigitalTwinsInstance.
18+
19+
Variables are only populated by the server, and will be ignored when
20+
sending a request.
21+
22+
All required parameters must be populated in order to send to Azure.
23+
24+
:ivar name: Required. The name of the SKU. Default value: "F1" .
25+
:vartype name: str
26+
"""
27+
28+
_validation = {
29+
'name': {'required': True, 'constant': True},
30+
}
31+
32+
_attribute_map = {
33+
'name': {'key': 'name', 'type': 'str'},
34+
}
35+
36+
name = "F1"
37+
38+
1639
class CheckNameRequest(Model):
1740
"""The result returned from a database check name availability request.
1841
@@ -335,29 +358,6 @@ def __init__(self, **kwargs):
335358
self.tags = kwargs.get('tags', None)
336359

337360

338-
class DigitalTwinsSkuInfo(Model):
339-
"""Information about the SKU of the DigitalTwinsInstance.
340-
341-
Variables are only populated by the server, and will be ignored when
342-
sending a request.
343-
344-
All required parameters must be populated in order to send to Azure.
345-
346-
:ivar name: Required. The name of the SKU. Default value: "F1" .
347-
:vartype name: str
348-
"""
349-
350-
_validation = {
351-
'name': {'required': True, 'constant': True},
352-
}
353-
354-
_attribute_map = {
355-
'name': {'key': 'name', 'type': 'str'},
356-
}
357-
358-
name = "F1"
359-
360-
361361
class ErrorDefinition(Model):
362362
"""Error definition.
363363

sdk/digitaltwins/azure-mgmt-digitaltwins/azure/mgmt/digitaltwins/models/_models_py3.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@
1313
from msrest.exceptions import HttpOperationError
1414

1515

16+
class DigitalTwinsSkuInfo(Model):
17+
"""Information about the SKU of the DigitalTwinsInstance.
18+
19+
Variables are only populated by the server, and will be ignored when
20+
sending a request.
21+
22+
All required parameters must be populated in order to send to Azure.
23+
24+
:ivar name: Required. The name of the SKU. Default value: "F1" .
25+
:vartype name: str
26+
"""
27+
28+
_validation = {
29+
'name': {'required': True, 'constant': True},
30+
}
31+
32+
_attribute_map = {
33+
'name': {'key': 'name', 'type': 'str'},
34+
}
35+
36+
name = "F1"
37+
38+
1639
class CheckNameRequest(Model):
1740
"""The result returned from a database check name availability request.
1841
@@ -335,29 +358,6 @@ def __init__(self, *, tags=None, **kwargs) -> None:
335358
self.tags = tags
336359

337360

338-
class DigitalTwinsSkuInfo(Model):
339-
"""Information about the SKU of the DigitalTwinsInstance.
340-
341-
Variables are only populated by the server, and will be ignored when
342-
sending a request.
343-
344-
All required parameters must be populated in order to send to Azure.
345-
346-
:ivar name: Required. The name of the SKU. Default value: "F1" .
347-
:vartype name: str
348-
"""
349-
350-
_validation = {
351-
'name': {'required': True, 'constant': True},
352-
}
353-
354-
_attribute_map = {
355-
'name': {'key': 'name', 'type': 'str'},
356-
}
357-
358-
name = "F1"
359-
360-
361361
class ErrorDefinition(Model):
362362
"""Error definition.
363363

0 commit comments

Comments
 (0)