Skip to content

Commit c2a098d

Browse files
00Kai0SDKAuto
and
SDKAuto
authored
T1 iotcentral 2021 01 05 (Azure#15982)
* CodeGen from PR 12224 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.IoTCentral to add version stable/2018-09-01 (Azure#12224) * update to name * update * test,version,CHANGELOG * fix test Co-authored-by: SDKAuto <[email protected]>
1 parent 47a73de commit c2a098d

File tree

6 files changed

+377
-181
lines changed

6 files changed

+377
-181
lines changed

sdk/iothub/azure-mgmt-iotcentral/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release History
22

3+
## 4.0.0 (2021-01-05)
4+
5+
**Features**
6+
7+
- Model AppTemplate has a new parameter name
8+
9+
**Breaking changes**
10+
11+
- Model AppTemplate no longer has parameter app_template_name
12+
313
## 3.1.0 (2020-06-30)
414

515
**Features**

sdk/iothub/azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/_models.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ class AppTemplate(Model):
235235
:vartype manifest_id: str
236236
:ivar manifest_version: The version of the template.
237237
:vartype manifest_version: str
238-
:ivar app_template_name: The name of the template.
239-
:vartype app_template_name: str
238+
:ivar name: The name of the template.
239+
:vartype name: str
240240
:ivar title: The title of the template.
241241
:vartype title: str
242242
:ivar order: The order of the template in the templates list.
@@ -248,7 +248,7 @@ class AppTemplate(Model):
248248
_validation = {
249249
'manifest_id': {'readonly': True},
250250
'manifest_version': {'readonly': True},
251-
'app_template_name': {'readonly': True},
251+
'name': {'readonly': True},
252252
'title': {'readonly': True},
253253
'order': {'readonly': True},
254254
'description': {'readonly': True},
@@ -257,7 +257,7 @@ class AppTemplate(Model):
257257
_attribute_map = {
258258
'manifest_id': {'key': 'manifestId', 'type': 'str'},
259259
'manifest_version': {'key': 'manifestVersion', 'type': 'str'},
260-
'app_template_name': {'key': 'appTemplateName', 'type': 'str'},
260+
'name': {'key': 'name', 'type': 'str'},
261261
'title': {'key': 'title', 'type': 'str'},
262262
'order': {'key': 'order', 'type': 'float'},
263263
'description': {'key': 'description', 'type': 'str'},
@@ -267,7 +267,7 @@ def __init__(self, **kwargs):
267267
super(AppTemplate, self).__init__(**kwargs)
268268
self.manifest_id = None
269269
self.manifest_version = None
270-
self.app_template_name = None
270+
self.name = None
271271
self.title = None
272272
self.order = None
273273
self.description = None

sdk/iothub/azure-mgmt-iotcentral/azure/mgmt/iotcentral/models/_models_py3.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ class AppTemplate(Model):
235235
:vartype manifest_id: str
236236
:ivar manifest_version: The version of the template.
237237
:vartype manifest_version: str
238-
:ivar app_template_name: The name of the template.
239-
:vartype app_template_name: str
238+
:ivar name: The name of the template.
239+
:vartype name: str
240240
:ivar title: The title of the template.
241241
:vartype title: str
242242
:ivar order: The order of the template in the templates list.
@@ -248,7 +248,7 @@ class AppTemplate(Model):
248248
_validation = {
249249
'manifest_id': {'readonly': True},
250250
'manifest_version': {'readonly': True},
251-
'app_template_name': {'readonly': True},
251+
'name': {'readonly': True},
252252
'title': {'readonly': True},
253253
'order': {'readonly': True},
254254
'description': {'readonly': True},
@@ -257,7 +257,7 @@ class AppTemplate(Model):
257257
_attribute_map = {
258258
'manifest_id': {'key': 'manifestId', 'type': 'str'},
259259
'manifest_version': {'key': 'manifestVersion', 'type': 'str'},
260-
'app_template_name': {'key': 'appTemplateName', 'type': 'str'},
260+
'name': {'key': 'name', 'type': 'str'},
261261
'title': {'key': 'title', 'type': 'str'},
262262
'order': {'key': 'order', 'type': 'float'},
263263
'description': {'key': 'description', 'type': 'str'},
@@ -267,7 +267,7 @@ def __init__(self, **kwargs) -> None:
267267
super(AppTemplate, self).__init__(**kwargs)
268268
self.manifest_id = None
269269
self.manifest_version = None
270-
self.app_template_name = None
270+
self.name = None
271271
self.title = None
272272
self.order = None
273273
self.description = None

sdk/iothub/azure-mgmt-iotcentral/azure/mgmt/iotcentral/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "3.1.0"
12+
VERSION = "4.0.0"
1313

0 commit comments

Comments
 (0)