-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR iotcentral/resource-manager] IoTCentral - Add ARM endpoint, u…
…pdate model responses/inputs to align with expected values (#3444) * Generated from ddbb8ffb2dd676863a74cd5d44748fbd93a93025 Update models to align with expected responses * Packaging update of azure-mgmt-iotcentral * Generated from 09b4a4594660bc1c21dc7122a3784f64867a041e Fix build errors * Generated from 1c89739e3a40c9bf7a6f40e86367d50e6b88f776 Add required field to definitions * Generated from 92118d9753329c57349608f197514100d250974a Revert model name change. * Generated from f0df5982f4b75520b1b163b84ea33c9a81d6e79b add x-ms-client-flatten to errorSchema * Generated from 08b88d3a11055327409eafebcdac134e797bd38b Test default required field for .net SDK * Packaging update of azure-mgmt-iotcentral * Generated from 3089cb519400047ddfeaffa5fac50c5f1c7a3c85 test enum default * Generated from f878943d61f7e1cd88a4c5ff31a56c73e3ec0a00 revert test changes
- Loading branch information
1 parent
602961e
commit b77b088
Showing
17 changed files
with
242 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
include *.rst | ||
include azure_bdist_wheel.py | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/error_response_body.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ErrorResponseBody(Model): | ||
"""Details of error response. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar code: The error code. | ||
:vartype code: str | ||
:ivar message: The error message. | ||
:vartype message: str | ||
:ivar target: The target of the particular error. | ||
:vartype target: str | ||
:param details: A list of additional details about the error. | ||
:type details: list[~azure.mgmt.iotcentral.models.ErrorResponseBody] | ||
""" | ||
|
||
_validation = { | ||
'code': {'readonly': True}, | ||
'message': {'readonly': True}, | ||
'target': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'code': {'key': 'code', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
'target': {'key': 'target', 'type': 'str'}, | ||
'details': {'key': 'details', 'type': '[ErrorResponseBody]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ErrorResponseBody, self).__init__(**kwargs) | ||
self.code = None | ||
self.message = None | ||
self.target = None | ||
self.details = kwargs.get('details', None) |
49 changes: 49 additions & 0 deletions
49
azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/error_response_body_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ErrorResponseBody(Model): | ||
"""Details of error response. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar code: The error code. | ||
:vartype code: str | ||
:ivar message: The error message. | ||
:vartype message: str | ||
:ivar target: The target of the particular error. | ||
:vartype target: str | ||
:param details: A list of additional details about the error. | ||
:type details: list[~azure.mgmt.iotcentral.models.ErrorResponseBody] | ||
""" | ||
|
||
_validation = { | ||
'code': {'readonly': True}, | ||
'message': {'readonly': True}, | ||
'target': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'code': {'key': 'code', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
'target': {'key': 'target', 'type': 'str'}, | ||
'details': {'key': 'details', 'type': '[ErrorResponseBody]'}, | ||
} | ||
|
||
def __init__(self, *, details=None, **kwargs) -> None: | ||
super(ErrorResponseBody, self).__init__(**kwargs) | ||
self.code = None | ||
self.message = None | ||
self.target = None | ||
self.details = details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.