Skip to content

Commit

Permalink
adjust model for m4 issue #83 (Azure#11938)
Browse files Browse the repository at this point in the history
  • Loading branch information
changlong-liu authored Jun 11, 2020
1 parent cf6eaae commit 08a1499
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 08a1499

Please sign in to comment.