tencentcloud-sdk-python 3.0.1175__py2.py3-none-any.whl → 3.0.1177__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/models.py +30 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +4 -4
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +190 -3
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -70
- tencentcloud/cynosdb/v20190107/models.py +13 -0
- tencentcloud/dlc/v20210125/models.py +1 -1
- tencentcloud/domain/v20180808/models.py +64 -0
- tencentcloud/dts/v20211206/models.py +3 -3
- tencentcloud/ess/v20201111/ess_client.py +5 -5
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +5 -5
- tencentcloud/essbasic/v20210526/models.py +6 -4
- tencentcloud/faceid/v20180301/models.py +1 -16
- tencentcloud/ioa/v20220601/ioa_client.py +69 -0
- tencentcloud/ioa/v20220601/models.py +1239 -63
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +325 -0
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/partners/v20180321/models.py +13 -0
- tencentcloud/redis/v20180412/models.py +12 -10
- tencentcloud/ssl/v20191205/models.py +239 -0
- tencentcloud/tcr/v20190924/models.py +13 -0
- tencentcloud/tcss/v20201101/models.py +150 -27
- tencentcloud/thpc/v20230321/models.py +33 -5
- tencentcloud/tke/v20180525/models.py +87 -0
- tencentcloud/tke/v20180525/tke_client.py +7 -7
- tencentcloud/trtc/v20190722/errorcodes.py +0 -3
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/wedata/v20210820/models.py +539 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1175.dist-info → tencentcloud_sdk_python-3.0.1177.dist-info}/top_level.txt +0 -0
@@ -121,6 +121,418 @@ class Condition(AbstractModel):
|
|
121
121
|
|
122
122
|
|
123
123
|
|
124
|
+
class DescribeAccountGroupsData(AbstractModel):
|
125
|
+
"""账户分响应对象集合
|
126
|
+
|
127
|
+
"""
|
128
|
+
|
129
|
+
def __init__(self):
|
130
|
+
r"""
|
131
|
+
:param _Itime: 创建时间
|
132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
133
|
+
:type Itime: str
|
134
|
+
:param _Name: 账户组名称
|
135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
136
|
+
:type Name: str
|
137
|
+
:param _IdPathArr: id patch数组
|
138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
139
|
+
:type IdPathArr: list of int
|
140
|
+
:param _UserTotal: 该分组下用户总数
|
141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
142
|
+
:type UserTotal: int
|
143
|
+
:param _ExtraInfo: 扩展信息
|
144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
145
|
+
:type ExtraInfo: str
|
146
|
+
:param _ImportType: 导入类型
|
147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
148
|
+
:type ImportType: str
|
149
|
+
:param _Description: 描述
|
150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
151
|
+
:type Description: str
|
152
|
+
:param _Source: 同步数据源
|
153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
154
|
+
:type Source: int
|
155
|
+
:param _MiniIamId: miniIAM id
|
156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
157
|
+
:type MiniIamId: str
|
158
|
+
:param _OrgId: 组织id
|
159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
160
|
+
:type OrgId: str
|
161
|
+
:param _ReadOnly: 是否该账户的直接权限
|
162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
:type ReadOnly: bool
|
164
|
+
:param _ParentId: 父id
|
165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
166
|
+
:type ParentId: int
|
167
|
+
:param _NamePath: 名称path
|
168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
169
|
+
:type NamePath: str
|
170
|
+
:param _ParentOrgId: 父组织id
|
171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
172
|
+
:type ParentOrgId: str
|
173
|
+
:param _IdPath: id path
|
174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
175
|
+
:type IdPath: str
|
176
|
+
:param _Id: 自增id
|
177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
178
|
+
:type Id: int
|
179
|
+
:param _IsLeaf: 是否叶子节点
|
180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
181
|
+
:type IsLeaf: bool
|
182
|
+
:param _Utime: 最后更新时间
|
183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
184
|
+
:type Utime: str
|
185
|
+
"""
|
186
|
+
self._Itime = None
|
187
|
+
self._Name = None
|
188
|
+
self._IdPathArr = None
|
189
|
+
self._UserTotal = None
|
190
|
+
self._ExtraInfo = None
|
191
|
+
self._ImportType = None
|
192
|
+
self._Description = None
|
193
|
+
self._Source = None
|
194
|
+
self._MiniIamId = None
|
195
|
+
self._OrgId = None
|
196
|
+
self._ReadOnly = None
|
197
|
+
self._ParentId = None
|
198
|
+
self._NamePath = None
|
199
|
+
self._ParentOrgId = None
|
200
|
+
self._IdPath = None
|
201
|
+
self._Id = None
|
202
|
+
self._IsLeaf = None
|
203
|
+
self._Utime = None
|
204
|
+
|
205
|
+
@property
|
206
|
+
def Itime(self):
|
207
|
+
return self._Itime
|
208
|
+
|
209
|
+
@Itime.setter
|
210
|
+
def Itime(self, Itime):
|
211
|
+
self._Itime = Itime
|
212
|
+
|
213
|
+
@property
|
214
|
+
def Name(self):
|
215
|
+
return self._Name
|
216
|
+
|
217
|
+
@Name.setter
|
218
|
+
def Name(self, Name):
|
219
|
+
self._Name = Name
|
220
|
+
|
221
|
+
@property
|
222
|
+
def IdPathArr(self):
|
223
|
+
return self._IdPathArr
|
224
|
+
|
225
|
+
@IdPathArr.setter
|
226
|
+
def IdPathArr(self, IdPathArr):
|
227
|
+
self._IdPathArr = IdPathArr
|
228
|
+
|
229
|
+
@property
|
230
|
+
def UserTotal(self):
|
231
|
+
return self._UserTotal
|
232
|
+
|
233
|
+
@UserTotal.setter
|
234
|
+
def UserTotal(self, UserTotal):
|
235
|
+
self._UserTotal = UserTotal
|
236
|
+
|
237
|
+
@property
|
238
|
+
def ExtraInfo(self):
|
239
|
+
return self._ExtraInfo
|
240
|
+
|
241
|
+
@ExtraInfo.setter
|
242
|
+
def ExtraInfo(self, ExtraInfo):
|
243
|
+
self._ExtraInfo = ExtraInfo
|
244
|
+
|
245
|
+
@property
|
246
|
+
def ImportType(self):
|
247
|
+
return self._ImportType
|
248
|
+
|
249
|
+
@ImportType.setter
|
250
|
+
def ImportType(self, ImportType):
|
251
|
+
self._ImportType = ImportType
|
252
|
+
|
253
|
+
@property
|
254
|
+
def Description(self):
|
255
|
+
return self._Description
|
256
|
+
|
257
|
+
@Description.setter
|
258
|
+
def Description(self, Description):
|
259
|
+
self._Description = Description
|
260
|
+
|
261
|
+
@property
|
262
|
+
def Source(self):
|
263
|
+
return self._Source
|
264
|
+
|
265
|
+
@Source.setter
|
266
|
+
def Source(self, Source):
|
267
|
+
self._Source = Source
|
268
|
+
|
269
|
+
@property
|
270
|
+
def MiniIamId(self):
|
271
|
+
return self._MiniIamId
|
272
|
+
|
273
|
+
@MiniIamId.setter
|
274
|
+
def MiniIamId(self, MiniIamId):
|
275
|
+
self._MiniIamId = MiniIamId
|
276
|
+
|
277
|
+
@property
|
278
|
+
def OrgId(self):
|
279
|
+
return self._OrgId
|
280
|
+
|
281
|
+
@OrgId.setter
|
282
|
+
def OrgId(self, OrgId):
|
283
|
+
self._OrgId = OrgId
|
284
|
+
|
285
|
+
@property
|
286
|
+
def ReadOnly(self):
|
287
|
+
return self._ReadOnly
|
288
|
+
|
289
|
+
@ReadOnly.setter
|
290
|
+
def ReadOnly(self, ReadOnly):
|
291
|
+
self._ReadOnly = ReadOnly
|
292
|
+
|
293
|
+
@property
|
294
|
+
def ParentId(self):
|
295
|
+
return self._ParentId
|
296
|
+
|
297
|
+
@ParentId.setter
|
298
|
+
def ParentId(self, ParentId):
|
299
|
+
self._ParentId = ParentId
|
300
|
+
|
301
|
+
@property
|
302
|
+
def NamePath(self):
|
303
|
+
return self._NamePath
|
304
|
+
|
305
|
+
@NamePath.setter
|
306
|
+
def NamePath(self, NamePath):
|
307
|
+
self._NamePath = NamePath
|
308
|
+
|
309
|
+
@property
|
310
|
+
def ParentOrgId(self):
|
311
|
+
return self._ParentOrgId
|
312
|
+
|
313
|
+
@ParentOrgId.setter
|
314
|
+
def ParentOrgId(self, ParentOrgId):
|
315
|
+
self._ParentOrgId = ParentOrgId
|
316
|
+
|
317
|
+
@property
|
318
|
+
def IdPath(self):
|
319
|
+
return self._IdPath
|
320
|
+
|
321
|
+
@IdPath.setter
|
322
|
+
def IdPath(self, IdPath):
|
323
|
+
self._IdPath = IdPath
|
324
|
+
|
325
|
+
@property
|
326
|
+
def Id(self):
|
327
|
+
return self._Id
|
328
|
+
|
329
|
+
@Id.setter
|
330
|
+
def Id(self, Id):
|
331
|
+
self._Id = Id
|
332
|
+
|
333
|
+
@property
|
334
|
+
def IsLeaf(self):
|
335
|
+
return self._IsLeaf
|
336
|
+
|
337
|
+
@IsLeaf.setter
|
338
|
+
def IsLeaf(self, IsLeaf):
|
339
|
+
self._IsLeaf = IsLeaf
|
340
|
+
|
341
|
+
@property
|
342
|
+
def Utime(self):
|
343
|
+
return self._Utime
|
344
|
+
|
345
|
+
@Utime.setter
|
346
|
+
def Utime(self, Utime):
|
347
|
+
self._Utime = Utime
|
348
|
+
|
349
|
+
|
350
|
+
def _deserialize(self, params):
|
351
|
+
self._Itime = params.get("Itime")
|
352
|
+
self._Name = params.get("Name")
|
353
|
+
self._IdPathArr = params.get("IdPathArr")
|
354
|
+
self._UserTotal = params.get("UserTotal")
|
355
|
+
self._ExtraInfo = params.get("ExtraInfo")
|
356
|
+
self._ImportType = params.get("ImportType")
|
357
|
+
self._Description = params.get("Description")
|
358
|
+
self._Source = params.get("Source")
|
359
|
+
self._MiniIamId = params.get("MiniIamId")
|
360
|
+
self._OrgId = params.get("OrgId")
|
361
|
+
self._ReadOnly = params.get("ReadOnly")
|
362
|
+
self._ParentId = params.get("ParentId")
|
363
|
+
self._NamePath = params.get("NamePath")
|
364
|
+
self._ParentOrgId = params.get("ParentOrgId")
|
365
|
+
self._IdPath = params.get("IdPath")
|
366
|
+
self._Id = params.get("Id")
|
367
|
+
self._IsLeaf = params.get("IsLeaf")
|
368
|
+
self._Utime = params.get("Utime")
|
369
|
+
memeber_set = set(params.keys())
|
370
|
+
for name, value in vars(self).items():
|
371
|
+
property_name = name[1:]
|
372
|
+
if property_name in memeber_set:
|
373
|
+
memeber_set.remove(property_name)
|
374
|
+
if len(memeber_set) > 0:
|
375
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
class DescribeAccountGroupsPageResp(AbstractModel):
|
380
|
+
"""账户分组详情响应数据
|
381
|
+
|
382
|
+
"""
|
383
|
+
|
384
|
+
def __init__(self):
|
385
|
+
r"""
|
386
|
+
:param _Items: 账户分响应对象集合
|
387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
388
|
+
:type Items: list of DescribeAccountGroupsData
|
389
|
+
:param _Page: 分页公共对象
|
390
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
391
|
+
:type Page: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
392
|
+
"""
|
393
|
+
self._Items = None
|
394
|
+
self._Page = None
|
395
|
+
|
396
|
+
@property
|
397
|
+
def Items(self):
|
398
|
+
return self._Items
|
399
|
+
|
400
|
+
@Items.setter
|
401
|
+
def Items(self, Items):
|
402
|
+
self._Items = Items
|
403
|
+
|
404
|
+
@property
|
405
|
+
def Page(self):
|
406
|
+
return self._Page
|
407
|
+
|
408
|
+
@Page.setter
|
409
|
+
def Page(self, Page):
|
410
|
+
self._Page = Page
|
411
|
+
|
412
|
+
|
413
|
+
def _deserialize(self, params):
|
414
|
+
if params.get("Items") is not None:
|
415
|
+
self._Items = []
|
416
|
+
for item in params.get("Items"):
|
417
|
+
obj = DescribeAccountGroupsData()
|
418
|
+
obj._deserialize(item)
|
419
|
+
self._Items.append(obj)
|
420
|
+
if params.get("Page") is not None:
|
421
|
+
self._Page = Paging()
|
422
|
+
self._Page._deserialize(params.get("Page"))
|
423
|
+
memeber_set = set(params.keys())
|
424
|
+
for name, value in vars(self).items():
|
425
|
+
property_name = name[1:]
|
426
|
+
if property_name in memeber_set:
|
427
|
+
memeber_set.remove(property_name)
|
428
|
+
if len(memeber_set) > 0:
|
429
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
class DescribeAccountGroupsRequest(AbstractModel):
|
434
|
+
"""DescribeAccountGroups请求参数结构体
|
435
|
+
|
436
|
+
"""
|
437
|
+
|
438
|
+
def __init__(self):
|
439
|
+
r"""
|
440
|
+
:param _Deepin: 搜索范围,0-仅搜直接子组,1-深层搜索(只支持32位)
|
441
|
+
:type Deepin: int
|
442
|
+
:param _Condition: 滤条件、分页参数
|
443
|
+
<li>Name - String - 是否必填:否 - 操作符: like - 排序支持:否- 按账号分组过滤。</li>
|
444
|
+
排序条件
|
445
|
+
<li>Itime - string - 是否必填:否 - 排序支持:是 - 按账号分组创建时间排序。</li>
|
446
|
+
<li>Utime - string - 是否必填:否 - 排序支持:是 - 按账号分组更新时间排序。</li>
|
447
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
448
|
+
:param _ParentId: 父分组id
|
449
|
+
:type ParentId: int
|
450
|
+
"""
|
451
|
+
self._Deepin = None
|
452
|
+
self._Condition = None
|
453
|
+
self._ParentId = None
|
454
|
+
|
455
|
+
@property
|
456
|
+
def Deepin(self):
|
457
|
+
return self._Deepin
|
458
|
+
|
459
|
+
@Deepin.setter
|
460
|
+
def Deepin(self, Deepin):
|
461
|
+
self._Deepin = Deepin
|
462
|
+
|
463
|
+
@property
|
464
|
+
def Condition(self):
|
465
|
+
return self._Condition
|
466
|
+
|
467
|
+
@Condition.setter
|
468
|
+
def Condition(self, Condition):
|
469
|
+
self._Condition = Condition
|
470
|
+
|
471
|
+
@property
|
472
|
+
def ParentId(self):
|
473
|
+
return self._ParentId
|
474
|
+
|
475
|
+
@ParentId.setter
|
476
|
+
def ParentId(self, ParentId):
|
477
|
+
self._ParentId = ParentId
|
478
|
+
|
479
|
+
|
480
|
+
def _deserialize(self, params):
|
481
|
+
self._Deepin = params.get("Deepin")
|
482
|
+
if params.get("Condition") is not None:
|
483
|
+
self._Condition = Condition()
|
484
|
+
self._Condition._deserialize(params.get("Condition"))
|
485
|
+
self._ParentId = params.get("ParentId")
|
486
|
+
memeber_set = set(params.keys())
|
487
|
+
for name, value in vars(self).items():
|
488
|
+
property_name = name[1:]
|
489
|
+
if property_name in memeber_set:
|
490
|
+
memeber_set.remove(property_name)
|
491
|
+
if len(memeber_set) > 0:
|
492
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
class DescribeAccountGroupsResponse(AbstractModel):
|
497
|
+
"""DescribeAccountGroups返回参数结构体
|
498
|
+
|
499
|
+
"""
|
500
|
+
|
501
|
+
def __init__(self):
|
502
|
+
r"""
|
503
|
+
:param _Data: 账户分组详情响应数据
|
504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
505
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsPageResp`
|
506
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
507
|
+
:type RequestId: str
|
508
|
+
"""
|
509
|
+
self._Data = None
|
510
|
+
self._RequestId = None
|
511
|
+
|
512
|
+
@property
|
513
|
+
def Data(self):
|
514
|
+
return self._Data
|
515
|
+
|
516
|
+
@Data.setter
|
517
|
+
def Data(self, Data):
|
518
|
+
self._Data = Data
|
519
|
+
|
520
|
+
@property
|
521
|
+
def RequestId(self):
|
522
|
+
return self._RequestId
|
523
|
+
|
524
|
+
@RequestId.setter
|
525
|
+
def RequestId(self, RequestId):
|
526
|
+
self._RequestId = RequestId
|
527
|
+
|
528
|
+
|
529
|
+
def _deserialize(self, params):
|
530
|
+
if params.get("Data") is not None:
|
531
|
+
self._Data = DescribeAccountGroupsPageResp()
|
532
|
+
self._Data._deserialize(params.get("Data"))
|
533
|
+
self._RequestId = params.get("RequestId")
|
534
|
+
|
535
|
+
|
124
536
|
class DescribeDevicesPageRsp(AbstractModel):
|
125
537
|
"""分页的data数据
|
126
538
|
|
@@ -239,89 +651,565 @@ class DescribeDevicesRequest(AbstractModel):
|
|
239
651
|
self._Condition = Condition
|
240
652
|
|
241
653
|
@property
|
242
|
-
def GroupId(self):
|
243
|
-
return self._GroupId
|
654
|
+
def GroupId(self):
|
655
|
+
return self._GroupId
|
656
|
+
|
657
|
+
@GroupId.setter
|
658
|
+
def GroupId(self, GroupId):
|
659
|
+
self._GroupId = GroupId
|
660
|
+
|
661
|
+
@property
|
662
|
+
def OsType(self):
|
663
|
+
return self._OsType
|
664
|
+
|
665
|
+
@OsType.setter
|
666
|
+
def OsType(self, OsType):
|
667
|
+
self._OsType = OsType
|
668
|
+
|
669
|
+
@property
|
670
|
+
def OnlineStatus(self):
|
671
|
+
return self._OnlineStatus
|
672
|
+
|
673
|
+
@OnlineStatus.setter
|
674
|
+
def OnlineStatus(self, OnlineStatus):
|
675
|
+
self._OnlineStatus = OnlineStatus
|
676
|
+
|
677
|
+
@property
|
678
|
+
def Filters(self):
|
679
|
+
return self._Filters
|
680
|
+
|
681
|
+
@Filters.setter
|
682
|
+
def Filters(self, Filters):
|
683
|
+
self._Filters = Filters
|
684
|
+
|
685
|
+
@property
|
686
|
+
def Sort(self):
|
687
|
+
return self._Sort
|
688
|
+
|
689
|
+
@Sort.setter
|
690
|
+
def Sort(self, Sort):
|
691
|
+
self._Sort = Sort
|
692
|
+
|
693
|
+
@property
|
694
|
+
def PageNum(self):
|
695
|
+
return self._PageNum
|
696
|
+
|
697
|
+
@PageNum.setter
|
698
|
+
def PageNum(self, PageNum):
|
699
|
+
self._PageNum = PageNum
|
700
|
+
|
701
|
+
@property
|
702
|
+
def PageSize(self):
|
703
|
+
return self._PageSize
|
704
|
+
|
705
|
+
@PageSize.setter
|
706
|
+
def PageSize(self, PageSize):
|
707
|
+
self._PageSize = PageSize
|
708
|
+
|
709
|
+
@property
|
710
|
+
def Status(self):
|
711
|
+
return self._Status
|
712
|
+
|
713
|
+
@Status.setter
|
714
|
+
def Status(self, Status):
|
715
|
+
self._Status = Status
|
716
|
+
|
717
|
+
|
718
|
+
def _deserialize(self, params):
|
719
|
+
if params.get("Condition") is not None:
|
720
|
+
self._Condition = Condition()
|
721
|
+
self._Condition._deserialize(params.get("Condition"))
|
722
|
+
self._GroupId = params.get("GroupId")
|
723
|
+
self._OsType = params.get("OsType")
|
724
|
+
self._OnlineStatus = params.get("OnlineStatus")
|
725
|
+
if params.get("Filters") is not None:
|
726
|
+
self._Filters = []
|
727
|
+
for item in params.get("Filters"):
|
728
|
+
obj = Filter()
|
729
|
+
obj._deserialize(item)
|
730
|
+
self._Filters.append(obj)
|
731
|
+
if params.get("Sort") is not None:
|
732
|
+
self._Sort = Sort()
|
733
|
+
self._Sort._deserialize(params.get("Sort"))
|
734
|
+
self._PageNum = params.get("PageNum")
|
735
|
+
self._PageSize = params.get("PageSize")
|
736
|
+
self._Status = params.get("Status")
|
737
|
+
memeber_set = set(params.keys())
|
738
|
+
for name, value in vars(self).items():
|
739
|
+
property_name = name[1:]
|
740
|
+
if property_name in memeber_set:
|
741
|
+
memeber_set.remove(property_name)
|
742
|
+
if len(memeber_set) > 0:
|
743
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
class DescribeDevicesResponse(AbstractModel):
|
748
|
+
"""DescribeDevices返回参数结构体
|
749
|
+
|
750
|
+
"""
|
751
|
+
|
752
|
+
def __init__(self):
|
753
|
+
r"""
|
754
|
+
:param _Data: 分页的data数据
|
755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
756
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeDevicesPageRsp`
|
757
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
758
|
+
:type RequestId: str
|
759
|
+
"""
|
760
|
+
self._Data = None
|
761
|
+
self._RequestId = None
|
762
|
+
|
763
|
+
@property
|
764
|
+
def Data(self):
|
765
|
+
return self._Data
|
766
|
+
|
767
|
+
@Data.setter
|
768
|
+
def Data(self, Data):
|
769
|
+
self._Data = Data
|
770
|
+
|
771
|
+
@property
|
772
|
+
def RequestId(self):
|
773
|
+
return self._RequestId
|
774
|
+
|
775
|
+
@RequestId.setter
|
776
|
+
def RequestId(self, RequestId):
|
777
|
+
self._RequestId = RequestId
|
778
|
+
|
779
|
+
|
780
|
+
def _deserialize(self, params):
|
781
|
+
if params.get("Data") is not None:
|
782
|
+
self._Data = DescribeDevicesPageRsp()
|
783
|
+
self._Data._deserialize(params.get("Data"))
|
784
|
+
self._RequestId = params.get("RequestId")
|
785
|
+
|
786
|
+
|
787
|
+
class DescribeLocalAccountAccountGroupsData(AbstractModel):
|
788
|
+
"""所属组
|
789
|
+
|
790
|
+
"""
|
791
|
+
|
792
|
+
def __init__(self):
|
793
|
+
r"""
|
794
|
+
:param _AccountGroupId: 组Id(只支持32位)
|
795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
796
|
+
:type AccountGroupId: int
|
797
|
+
"""
|
798
|
+
self._AccountGroupId = None
|
799
|
+
|
800
|
+
@property
|
801
|
+
def AccountGroupId(self):
|
802
|
+
return self._AccountGroupId
|
803
|
+
|
804
|
+
@AccountGroupId.setter
|
805
|
+
def AccountGroupId(self, AccountGroupId):
|
806
|
+
self._AccountGroupId = AccountGroupId
|
807
|
+
|
808
|
+
|
809
|
+
def _deserialize(self, params):
|
810
|
+
self._AccountGroupId = params.get("AccountGroupId")
|
811
|
+
memeber_set = set(params.keys())
|
812
|
+
for name, value in vars(self).items():
|
813
|
+
property_name = name[1:]
|
814
|
+
if property_name in memeber_set:
|
815
|
+
memeber_set.remove(property_name)
|
816
|
+
if len(memeber_set) > 0:
|
817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
818
|
+
|
819
|
+
|
820
|
+
|
821
|
+
class DescribeLocalAccountsData(AbstractModel):
|
822
|
+
"""获取账号列表响应的单个对象
|
823
|
+
|
824
|
+
"""
|
825
|
+
|
826
|
+
def __init__(self):
|
827
|
+
r"""
|
828
|
+
:param _Id: uid,数据库中唯一
|
829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
830
|
+
:type Id: int
|
831
|
+
:param _UserId: 账号,登录账号
|
832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
833
|
+
:type UserId: str
|
834
|
+
:param _UserName: 用户名
|
835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
836
|
+
:type UserName: str
|
837
|
+
:param _AccountId: 账号id,同Id字段
|
838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
839
|
+
:type AccountId: int
|
840
|
+
:param _GroupId: 账号所在的分组id
|
841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
842
|
+
:type GroupId: int
|
843
|
+
:param _GroupName: 账号所在的分组名称
|
844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
845
|
+
:type GroupName: str
|
846
|
+
:param _NamePath: 账号所在的分组名称路径,用英文.分割
|
847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
848
|
+
:type NamePath: str
|
849
|
+
:param _Source: 账号来源,0表示本地账号(只支持32位)
|
850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
851
|
+
:type Source: int
|
852
|
+
:param _Status: 账号状态,0禁用,1启用(只支持32位)
|
853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
854
|
+
:type Status: int
|
855
|
+
:param _Itime: 账号的创建时间
|
856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
857
|
+
:type Itime: str
|
858
|
+
:param _Utime: 账号的最后更新时间
|
859
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
860
|
+
:type Utime: str
|
861
|
+
:param _ExtraInfo: 账号的扩展信息,包含邮箱、手机号、身份证、职位等信息
|
862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
863
|
+
:type ExtraInfo: str
|
864
|
+
:param _RiskLevel: 用户风险等级,枚举:none, low, middle, high
|
865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
866
|
+
:type RiskLevel: str
|
867
|
+
:param _AccountGroups: 所属组
|
868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
:type AccountGroups: list of DescribeLocalAccountAccountGroupsData
|
870
|
+
:param _MobileBindNum: 绑定手机端设备数
|
871
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
872
|
+
:type MobileBindNum: int
|
873
|
+
:param _PcBindNum: 绑定Pc端设备数
|
874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
875
|
+
:type PcBindNum: int
|
876
|
+
:param _OnlineStatus: 账号在线状态 1:在线 2:离线
|
877
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
878
|
+
:type OnlineStatus: int
|
879
|
+
:param _ActiveStatus: 账号活跃状态 1:活跃 2:非活跃
|
880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
881
|
+
:type ActiveStatus: int
|
882
|
+
:param _LoginTime: 账号登录时间
|
883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
884
|
+
:type LoginTime: str
|
885
|
+
:param _LogoutTime: 账号登出时间
|
886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
887
|
+
:type LogoutTime: str
|
888
|
+
"""
|
889
|
+
self._Id = None
|
890
|
+
self._UserId = None
|
891
|
+
self._UserName = None
|
892
|
+
self._AccountId = None
|
893
|
+
self._GroupId = None
|
894
|
+
self._GroupName = None
|
895
|
+
self._NamePath = None
|
896
|
+
self._Source = None
|
897
|
+
self._Status = None
|
898
|
+
self._Itime = None
|
899
|
+
self._Utime = None
|
900
|
+
self._ExtraInfo = None
|
901
|
+
self._RiskLevel = None
|
902
|
+
self._AccountGroups = None
|
903
|
+
self._MobileBindNum = None
|
904
|
+
self._PcBindNum = None
|
905
|
+
self._OnlineStatus = None
|
906
|
+
self._ActiveStatus = None
|
907
|
+
self._LoginTime = None
|
908
|
+
self._LogoutTime = None
|
909
|
+
|
910
|
+
@property
|
911
|
+
def Id(self):
|
912
|
+
return self._Id
|
913
|
+
|
914
|
+
@Id.setter
|
915
|
+
def Id(self, Id):
|
916
|
+
self._Id = Id
|
917
|
+
|
918
|
+
@property
|
919
|
+
def UserId(self):
|
920
|
+
return self._UserId
|
921
|
+
|
922
|
+
@UserId.setter
|
923
|
+
def UserId(self, UserId):
|
924
|
+
self._UserId = UserId
|
925
|
+
|
926
|
+
@property
|
927
|
+
def UserName(self):
|
928
|
+
return self._UserName
|
929
|
+
|
930
|
+
@UserName.setter
|
931
|
+
def UserName(self, UserName):
|
932
|
+
self._UserName = UserName
|
933
|
+
|
934
|
+
@property
|
935
|
+
def AccountId(self):
|
936
|
+
return self._AccountId
|
937
|
+
|
938
|
+
@AccountId.setter
|
939
|
+
def AccountId(self, AccountId):
|
940
|
+
self._AccountId = AccountId
|
941
|
+
|
942
|
+
@property
|
943
|
+
def GroupId(self):
|
944
|
+
return self._GroupId
|
945
|
+
|
946
|
+
@GroupId.setter
|
947
|
+
def GroupId(self, GroupId):
|
948
|
+
self._GroupId = GroupId
|
949
|
+
|
950
|
+
@property
|
951
|
+
def GroupName(self):
|
952
|
+
return self._GroupName
|
953
|
+
|
954
|
+
@GroupName.setter
|
955
|
+
def GroupName(self, GroupName):
|
956
|
+
self._GroupName = GroupName
|
957
|
+
|
958
|
+
@property
|
959
|
+
def NamePath(self):
|
960
|
+
return self._NamePath
|
961
|
+
|
962
|
+
@NamePath.setter
|
963
|
+
def NamePath(self, NamePath):
|
964
|
+
self._NamePath = NamePath
|
965
|
+
|
966
|
+
@property
|
967
|
+
def Source(self):
|
968
|
+
return self._Source
|
969
|
+
|
970
|
+
@Source.setter
|
971
|
+
def Source(self, Source):
|
972
|
+
self._Source = Source
|
973
|
+
|
974
|
+
@property
|
975
|
+
def Status(self):
|
976
|
+
return self._Status
|
977
|
+
|
978
|
+
@Status.setter
|
979
|
+
def Status(self, Status):
|
980
|
+
self._Status = Status
|
981
|
+
|
982
|
+
@property
|
983
|
+
def Itime(self):
|
984
|
+
return self._Itime
|
985
|
+
|
986
|
+
@Itime.setter
|
987
|
+
def Itime(self, Itime):
|
988
|
+
self._Itime = Itime
|
989
|
+
|
990
|
+
@property
|
991
|
+
def Utime(self):
|
992
|
+
return self._Utime
|
993
|
+
|
994
|
+
@Utime.setter
|
995
|
+
def Utime(self, Utime):
|
996
|
+
self._Utime = Utime
|
997
|
+
|
998
|
+
@property
|
999
|
+
def ExtraInfo(self):
|
1000
|
+
return self._ExtraInfo
|
1001
|
+
|
1002
|
+
@ExtraInfo.setter
|
1003
|
+
def ExtraInfo(self, ExtraInfo):
|
1004
|
+
self._ExtraInfo = ExtraInfo
|
1005
|
+
|
1006
|
+
@property
|
1007
|
+
def RiskLevel(self):
|
1008
|
+
return self._RiskLevel
|
1009
|
+
|
1010
|
+
@RiskLevel.setter
|
1011
|
+
def RiskLevel(self, RiskLevel):
|
1012
|
+
self._RiskLevel = RiskLevel
|
1013
|
+
|
1014
|
+
@property
|
1015
|
+
def AccountGroups(self):
|
1016
|
+
return self._AccountGroups
|
1017
|
+
|
1018
|
+
@AccountGroups.setter
|
1019
|
+
def AccountGroups(self, AccountGroups):
|
1020
|
+
self._AccountGroups = AccountGroups
|
1021
|
+
|
1022
|
+
@property
|
1023
|
+
def MobileBindNum(self):
|
1024
|
+
return self._MobileBindNum
|
1025
|
+
|
1026
|
+
@MobileBindNum.setter
|
1027
|
+
def MobileBindNum(self, MobileBindNum):
|
1028
|
+
self._MobileBindNum = MobileBindNum
|
1029
|
+
|
1030
|
+
@property
|
1031
|
+
def PcBindNum(self):
|
1032
|
+
return self._PcBindNum
|
1033
|
+
|
1034
|
+
@PcBindNum.setter
|
1035
|
+
def PcBindNum(self, PcBindNum):
|
1036
|
+
self._PcBindNum = PcBindNum
|
1037
|
+
|
1038
|
+
@property
|
1039
|
+
def OnlineStatus(self):
|
1040
|
+
return self._OnlineStatus
|
1041
|
+
|
1042
|
+
@OnlineStatus.setter
|
1043
|
+
def OnlineStatus(self, OnlineStatus):
|
1044
|
+
self._OnlineStatus = OnlineStatus
|
1045
|
+
|
1046
|
+
@property
|
1047
|
+
def ActiveStatus(self):
|
1048
|
+
return self._ActiveStatus
|
1049
|
+
|
1050
|
+
@ActiveStatus.setter
|
1051
|
+
def ActiveStatus(self, ActiveStatus):
|
1052
|
+
self._ActiveStatus = ActiveStatus
|
1053
|
+
|
1054
|
+
@property
|
1055
|
+
def LoginTime(self):
|
1056
|
+
return self._LoginTime
|
1057
|
+
|
1058
|
+
@LoginTime.setter
|
1059
|
+
def LoginTime(self, LoginTime):
|
1060
|
+
self._LoginTime = LoginTime
|
1061
|
+
|
1062
|
+
@property
|
1063
|
+
def LogoutTime(self):
|
1064
|
+
return self._LogoutTime
|
1065
|
+
|
1066
|
+
@LogoutTime.setter
|
1067
|
+
def LogoutTime(self, LogoutTime):
|
1068
|
+
self._LogoutTime = LogoutTime
|
1069
|
+
|
1070
|
+
|
1071
|
+
def _deserialize(self, params):
|
1072
|
+
self._Id = params.get("Id")
|
1073
|
+
self._UserId = params.get("UserId")
|
1074
|
+
self._UserName = params.get("UserName")
|
1075
|
+
self._AccountId = params.get("AccountId")
|
1076
|
+
self._GroupId = params.get("GroupId")
|
1077
|
+
self._GroupName = params.get("GroupName")
|
1078
|
+
self._NamePath = params.get("NamePath")
|
1079
|
+
self._Source = params.get("Source")
|
1080
|
+
self._Status = params.get("Status")
|
1081
|
+
self._Itime = params.get("Itime")
|
1082
|
+
self._Utime = params.get("Utime")
|
1083
|
+
self._ExtraInfo = params.get("ExtraInfo")
|
1084
|
+
self._RiskLevel = params.get("RiskLevel")
|
1085
|
+
if params.get("AccountGroups") is not None:
|
1086
|
+
self._AccountGroups = []
|
1087
|
+
for item in params.get("AccountGroups"):
|
1088
|
+
obj = DescribeLocalAccountAccountGroupsData()
|
1089
|
+
obj._deserialize(item)
|
1090
|
+
self._AccountGroups.append(obj)
|
1091
|
+
self._MobileBindNum = params.get("MobileBindNum")
|
1092
|
+
self._PcBindNum = params.get("PcBindNum")
|
1093
|
+
self._OnlineStatus = params.get("OnlineStatus")
|
1094
|
+
self._ActiveStatus = params.get("ActiveStatus")
|
1095
|
+
self._LoginTime = params.get("LoginTime")
|
1096
|
+
self._LogoutTime = params.get("LogoutTime")
|
1097
|
+
memeber_set = set(params.keys())
|
1098
|
+
for name, value in vars(self).items():
|
1099
|
+
property_name = name[1:]
|
1100
|
+
if property_name in memeber_set:
|
1101
|
+
memeber_set.remove(property_name)
|
1102
|
+
if len(memeber_set) > 0:
|
1103
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1104
|
+
|
1105
|
+
|
1106
|
+
|
1107
|
+
class DescribeLocalAccountsPage(AbstractModel):
|
1108
|
+
"""获取账号列表响应的分页对象
|
1109
|
+
|
1110
|
+
"""
|
1111
|
+
|
1112
|
+
def __init__(self):
|
1113
|
+
r"""
|
1114
|
+
:param _Page: 公共分页对象
|
1115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1116
|
+
:type Page: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
1117
|
+
:param _Items: 获取账号列表响应的单个对象
|
1118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1119
|
+
:type Items: list of DescribeLocalAccountsData
|
1120
|
+
"""
|
1121
|
+
self._Page = None
|
1122
|
+
self._Items = None
|
1123
|
+
|
1124
|
+
@property
|
1125
|
+
def Page(self):
|
1126
|
+
return self._Page
|
244
1127
|
|
245
|
-
@
|
246
|
-
def
|
247
|
-
self.
|
1128
|
+
@Page.setter
|
1129
|
+
def Page(self, Page):
|
1130
|
+
self._Page = Page
|
248
1131
|
|
249
1132
|
@property
|
250
|
-
def
|
251
|
-
return self.
|
1133
|
+
def Items(self):
|
1134
|
+
return self._Items
|
252
1135
|
|
253
|
-
@
|
254
|
-
def
|
255
|
-
self.
|
1136
|
+
@Items.setter
|
1137
|
+
def Items(self, Items):
|
1138
|
+
self._Items = Items
|
256
1139
|
|
257
|
-
@property
|
258
|
-
def OnlineStatus(self):
|
259
|
-
return self._OnlineStatus
|
260
1140
|
|
261
|
-
|
262
|
-
|
263
|
-
|
1141
|
+
def _deserialize(self, params):
|
1142
|
+
if params.get("Page") is not None:
|
1143
|
+
self._Page = Paging()
|
1144
|
+
self._Page._deserialize(params.get("Page"))
|
1145
|
+
if params.get("Items") is not None:
|
1146
|
+
self._Items = []
|
1147
|
+
for item in params.get("Items"):
|
1148
|
+
obj = DescribeLocalAccountsData()
|
1149
|
+
obj._deserialize(item)
|
1150
|
+
self._Items.append(obj)
|
1151
|
+
memeber_set = set(params.keys())
|
1152
|
+
for name, value in vars(self).items():
|
1153
|
+
property_name = name[1:]
|
1154
|
+
if property_name in memeber_set:
|
1155
|
+
memeber_set.remove(property_name)
|
1156
|
+
if len(memeber_set) > 0:
|
1157
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1158
|
+
|
264
1159
|
|
265
|
-
@property
|
266
|
-
def Filters(self):
|
267
|
-
return self._Filters
|
268
1160
|
|
269
|
-
|
270
|
-
|
271
|
-
self._Filters = Filters
|
1161
|
+
class DescribeLocalAccountsRequest(AbstractModel):
|
1162
|
+
"""DescribeLocalAccounts请求参数结构体
|
272
1163
|
|
273
|
-
|
274
|
-
def Sort(self):
|
275
|
-
return self._Sort
|
1164
|
+
"""
|
276
1165
|
|
277
|
-
|
278
|
-
|
279
|
-
|
1166
|
+
def __init__(self):
|
1167
|
+
r"""
|
1168
|
+
:param _Condition: 滤条件、分页参数
|
1169
|
+
<li>UserName - String - 是否必填:否 - 操作符: eq,like - 排序支持:否- 按账号UserName过滤。</li>
|
1170
|
+
<li>UserId - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按账号UserNd过滤。</li>
|
1171
|
+
<li>Phone - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按手机号过滤。</li>
|
1172
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
1173
|
+
:param _AccountGroupId: 获取账号的分组Id,不传默认获取全部(只支持32位)
|
1174
|
+
:type AccountGroupId: int
|
1175
|
+
:param _ShowFlag: 是否仅展示当前目录下用户 1: 递归显示 2:仅显示当前目录下用户(只支持32位)
|
1176
|
+
:type ShowFlag: int
|
1177
|
+
"""
|
1178
|
+
self._Condition = None
|
1179
|
+
self._AccountGroupId = None
|
1180
|
+
self._ShowFlag = None
|
280
1181
|
|
281
1182
|
@property
|
282
|
-
def
|
283
|
-
return self.
|
1183
|
+
def Condition(self):
|
1184
|
+
return self._Condition
|
284
1185
|
|
285
|
-
@
|
286
|
-
def
|
287
|
-
self.
|
1186
|
+
@Condition.setter
|
1187
|
+
def Condition(self, Condition):
|
1188
|
+
self._Condition = Condition
|
288
1189
|
|
289
1190
|
@property
|
290
|
-
def
|
291
|
-
return self.
|
1191
|
+
def AccountGroupId(self):
|
1192
|
+
return self._AccountGroupId
|
292
1193
|
|
293
|
-
@
|
294
|
-
def
|
295
|
-
self.
|
1194
|
+
@AccountGroupId.setter
|
1195
|
+
def AccountGroupId(self, AccountGroupId):
|
1196
|
+
self._AccountGroupId = AccountGroupId
|
296
1197
|
|
297
1198
|
@property
|
298
|
-
def
|
299
|
-
return self.
|
1199
|
+
def ShowFlag(self):
|
1200
|
+
return self._ShowFlag
|
300
1201
|
|
301
|
-
@
|
302
|
-
def
|
303
|
-
self.
|
1202
|
+
@ShowFlag.setter
|
1203
|
+
def ShowFlag(self, ShowFlag):
|
1204
|
+
self._ShowFlag = ShowFlag
|
304
1205
|
|
305
1206
|
|
306
1207
|
def _deserialize(self, params):
|
307
1208
|
if params.get("Condition") is not None:
|
308
1209
|
self._Condition = Condition()
|
309
1210
|
self._Condition._deserialize(params.get("Condition"))
|
310
|
-
self.
|
311
|
-
self.
|
312
|
-
self._OnlineStatus = params.get("OnlineStatus")
|
313
|
-
if params.get("Filters") is not None:
|
314
|
-
self._Filters = []
|
315
|
-
for item in params.get("Filters"):
|
316
|
-
obj = Filter()
|
317
|
-
obj._deserialize(item)
|
318
|
-
self._Filters.append(obj)
|
319
|
-
if params.get("Sort") is not None:
|
320
|
-
self._Sort = Sort()
|
321
|
-
self._Sort._deserialize(params.get("Sort"))
|
322
|
-
self._PageNum = params.get("PageNum")
|
323
|
-
self._PageSize = params.get("PageSize")
|
324
|
-
self._Status = params.get("Status")
|
1211
|
+
self._AccountGroupId = params.get("AccountGroupId")
|
1212
|
+
self._ShowFlag = params.get("ShowFlag")
|
325
1213
|
memeber_set = set(params.keys())
|
326
1214
|
for name, value in vars(self).items():
|
327
1215
|
property_name = name[1:]
|
@@ -332,16 +1220,16 @@ class DescribeDevicesRequest(AbstractModel):
|
|
332
1220
|
|
333
1221
|
|
334
1222
|
|
335
|
-
class
|
336
|
-
"""
|
1223
|
+
class DescribeLocalAccountsResponse(AbstractModel):
|
1224
|
+
"""DescribeLocalAccounts返回参数结构体
|
337
1225
|
|
338
1226
|
"""
|
339
1227
|
|
340
1228
|
def __init__(self):
|
341
1229
|
r"""
|
342
|
-
:param _Data:
|
1230
|
+
:param _Data: 获取账号列表响应的分页对象
|
343
1231
|
注意:此字段可能返回 null,表示取不到有效值。
|
344
|
-
:type Data: :class:`tencentcloud.ioa.v20220601.models.
|
1232
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeLocalAccountsPage`
|
345
1233
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
346
1234
|
:type RequestId: str
|
347
1235
|
"""
|
@@ -367,7 +1255,53 @@ class DescribeDevicesResponse(AbstractModel):
|
|
367
1255
|
|
368
1256
|
def _deserialize(self, params):
|
369
1257
|
if params.get("Data") is not None:
|
370
|
-
self._Data =
|
1258
|
+
self._Data = DescribeLocalAccountsPage()
|
1259
|
+
self._Data._deserialize(params.get("Data"))
|
1260
|
+
self._RequestId = params.get("RequestId")
|
1261
|
+
|
1262
|
+
|
1263
|
+
class DescribeRootAccountGroupRequest(AbstractModel):
|
1264
|
+
"""DescribeRootAccountGroup请求参数结构体
|
1265
|
+
|
1266
|
+
"""
|
1267
|
+
|
1268
|
+
|
1269
|
+
class DescribeRootAccountGroupResponse(AbstractModel):
|
1270
|
+
"""DescribeRootAccountGroup返回参数结构体
|
1271
|
+
|
1272
|
+
"""
|
1273
|
+
|
1274
|
+
def __init__(self):
|
1275
|
+
r"""
|
1276
|
+
:param _Data: 账户分组详情响应数据
|
1277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1278
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.GetAccountGroupData`
|
1279
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1280
|
+
:type RequestId: str
|
1281
|
+
"""
|
1282
|
+
self._Data = None
|
1283
|
+
self._RequestId = None
|
1284
|
+
|
1285
|
+
@property
|
1286
|
+
def Data(self):
|
1287
|
+
return self._Data
|
1288
|
+
|
1289
|
+
@Data.setter
|
1290
|
+
def Data(self, Data):
|
1291
|
+
self._Data = Data
|
1292
|
+
|
1293
|
+
@property
|
1294
|
+
def RequestId(self):
|
1295
|
+
return self._RequestId
|
1296
|
+
|
1297
|
+
@RequestId.setter
|
1298
|
+
def RequestId(self, RequestId):
|
1299
|
+
self._RequestId = RequestId
|
1300
|
+
|
1301
|
+
|
1302
|
+
def _deserialize(self, params):
|
1303
|
+
if params.get("Data") is not None:
|
1304
|
+
self._Data = GetAccountGroupData()
|
371
1305
|
self._Data._deserialize(params.get("Data"))
|
372
1306
|
self._RequestId = params.get("RequestId")
|
373
1307
|
|
@@ -1051,6 +1985,248 @@ class FilterGroup(AbstractModel):
|
|
1051
1985
|
|
1052
1986
|
|
1053
1987
|
|
1988
|
+
class GetAccountGroupData(AbstractModel):
|
1989
|
+
"""账户分组详情响应数据
|
1990
|
+
|
1991
|
+
"""
|
1992
|
+
|
1993
|
+
def __init__(self):
|
1994
|
+
r"""
|
1995
|
+
:param _NamePath: 分组Namepath
|
1996
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1997
|
+
:type NamePath: str
|
1998
|
+
:param _IdPathArr: 分组Id path arr(只支持32位)
|
1999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2000
|
+
:type IdPathArr: list of int
|
2001
|
+
:param _ExtraInfo: 分组扩展信息
|
2002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2003
|
+
:type ExtraInfo: str
|
2004
|
+
:param _Utime: 最后更新时间
|
2005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2006
|
+
:type Utime: str
|
2007
|
+
:param _ParentId: 父分组id(只支持32位)
|
2008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2009
|
+
:type ParentId: int
|
2010
|
+
:param _OrgId: 组织id
|
2011
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2012
|
+
:type OrgId: str
|
2013
|
+
:param _Name: 分组名称
|
2014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2015
|
+
:type Name: str
|
2016
|
+
:param _Id: 分组id(只支持32位)
|
2017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2018
|
+
:type Id: int
|
2019
|
+
:param _Description: 描述
|
2020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2021
|
+
:type Description: str
|
2022
|
+
:param _Source: 分组导入源(只支持32位)
|
2023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2024
|
+
:type Source: int
|
2025
|
+
:param _IdPath: Id Path
|
2026
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2027
|
+
:type IdPath: str
|
2028
|
+
:param _Itime: 创建时间
|
2029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2030
|
+
:type Itime: str
|
2031
|
+
:param _ParentOrgId: 父组织id
|
2032
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2033
|
+
:type ParentOrgId: str
|
2034
|
+
:param _Import: 导入信息,json格式
|
2035
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2036
|
+
:type Import: str
|
2037
|
+
:param _ImportEnable: 是否开启导入架构
|
2038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2039
|
+
:type ImportEnable: bool
|
2040
|
+
:param _ImportType: 导入类型
|
2041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2042
|
+
:type ImportType: str
|
2043
|
+
:param _MiniIamId: miniIAMId,MiniIAM源才有
|
2044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2045
|
+
:type MiniIamId: str
|
2046
|
+
"""
|
2047
|
+
self._NamePath = None
|
2048
|
+
self._IdPathArr = None
|
2049
|
+
self._ExtraInfo = None
|
2050
|
+
self._Utime = None
|
2051
|
+
self._ParentId = None
|
2052
|
+
self._OrgId = None
|
2053
|
+
self._Name = None
|
2054
|
+
self._Id = None
|
2055
|
+
self._Description = None
|
2056
|
+
self._Source = None
|
2057
|
+
self._IdPath = None
|
2058
|
+
self._Itime = None
|
2059
|
+
self._ParentOrgId = None
|
2060
|
+
self._Import = None
|
2061
|
+
self._ImportEnable = None
|
2062
|
+
self._ImportType = None
|
2063
|
+
self._MiniIamId = None
|
2064
|
+
|
2065
|
+
@property
|
2066
|
+
def NamePath(self):
|
2067
|
+
return self._NamePath
|
2068
|
+
|
2069
|
+
@NamePath.setter
|
2070
|
+
def NamePath(self, NamePath):
|
2071
|
+
self._NamePath = NamePath
|
2072
|
+
|
2073
|
+
@property
|
2074
|
+
def IdPathArr(self):
|
2075
|
+
return self._IdPathArr
|
2076
|
+
|
2077
|
+
@IdPathArr.setter
|
2078
|
+
def IdPathArr(self, IdPathArr):
|
2079
|
+
self._IdPathArr = IdPathArr
|
2080
|
+
|
2081
|
+
@property
|
2082
|
+
def ExtraInfo(self):
|
2083
|
+
return self._ExtraInfo
|
2084
|
+
|
2085
|
+
@ExtraInfo.setter
|
2086
|
+
def ExtraInfo(self, ExtraInfo):
|
2087
|
+
self._ExtraInfo = ExtraInfo
|
2088
|
+
|
2089
|
+
@property
|
2090
|
+
def Utime(self):
|
2091
|
+
return self._Utime
|
2092
|
+
|
2093
|
+
@Utime.setter
|
2094
|
+
def Utime(self, Utime):
|
2095
|
+
self._Utime = Utime
|
2096
|
+
|
2097
|
+
@property
|
2098
|
+
def ParentId(self):
|
2099
|
+
return self._ParentId
|
2100
|
+
|
2101
|
+
@ParentId.setter
|
2102
|
+
def ParentId(self, ParentId):
|
2103
|
+
self._ParentId = ParentId
|
2104
|
+
|
2105
|
+
@property
|
2106
|
+
def OrgId(self):
|
2107
|
+
return self._OrgId
|
2108
|
+
|
2109
|
+
@OrgId.setter
|
2110
|
+
def OrgId(self, OrgId):
|
2111
|
+
self._OrgId = OrgId
|
2112
|
+
|
2113
|
+
@property
|
2114
|
+
def Name(self):
|
2115
|
+
return self._Name
|
2116
|
+
|
2117
|
+
@Name.setter
|
2118
|
+
def Name(self, Name):
|
2119
|
+
self._Name = Name
|
2120
|
+
|
2121
|
+
@property
|
2122
|
+
def Id(self):
|
2123
|
+
return self._Id
|
2124
|
+
|
2125
|
+
@Id.setter
|
2126
|
+
def Id(self, Id):
|
2127
|
+
self._Id = Id
|
2128
|
+
|
2129
|
+
@property
|
2130
|
+
def Description(self):
|
2131
|
+
return self._Description
|
2132
|
+
|
2133
|
+
@Description.setter
|
2134
|
+
def Description(self, Description):
|
2135
|
+
self._Description = Description
|
2136
|
+
|
2137
|
+
@property
|
2138
|
+
def Source(self):
|
2139
|
+
return self._Source
|
2140
|
+
|
2141
|
+
@Source.setter
|
2142
|
+
def Source(self, Source):
|
2143
|
+
self._Source = Source
|
2144
|
+
|
2145
|
+
@property
|
2146
|
+
def IdPath(self):
|
2147
|
+
return self._IdPath
|
2148
|
+
|
2149
|
+
@IdPath.setter
|
2150
|
+
def IdPath(self, IdPath):
|
2151
|
+
self._IdPath = IdPath
|
2152
|
+
|
2153
|
+
@property
|
2154
|
+
def Itime(self):
|
2155
|
+
return self._Itime
|
2156
|
+
|
2157
|
+
@Itime.setter
|
2158
|
+
def Itime(self, Itime):
|
2159
|
+
self._Itime = Itime
|
2160
|
+
|
2161
|
+
@property
|
2162
|
+
def ParentOrgId(self):
|
2163
|
+
return self._ParentOrgId
|
2164
|
+
|
2165
|
+
@ParentOrgId.setter
|
2166
|
+
def ParentOrgId(self, ParentOrgId):
|
2167
|
+
self._ParentOrgId = ParentOrgId
|
2168
|
+
|
2169
|
+
@property
|
2170
|
+
def Import(self):
|
2171
|
+
return self._Import
|
2172
|
+
|
2173
|
+
@Import.setter
|
2174
|
+
def Import(self, Import):
|
2175
|
+
self._Import = Import
|
2176
|
+
|
2177
|
+
@property
|
2178
|
+
def ImportEnable(self):
|
2179
|
+
return self._ImportEnable
|
2180
|
+
|
2181
|
+
@ImportEnable.setter
|
2182
|
+
def ImportEnable(self, ImportEnable):
|
2183
|
+
self._ImportEnable = ImportEnable
|
2184
|
+
|
2185
|
+
@property
|
2186
|
+
def ImportType(self):
|
2187
|
+
return self._ImportType
|
2188
|
+
|
2189
|
+
@ImportType.setter
|
2190
|
+
def ImportType(self, ImportType):
|
2191
|
+
self._ImportType = ImportType
|
2192
|
+
|
2193
|
+
@property
|
2194
|
+
def MiniIamId(self):
|
2195
|
+
return self._MiniIamId
|
2196
|
+
|
2197
|
+
@MiniIamId.setter
|
2198
|
+
def MiniIamId(self, MiniIamId):
|
2199
|
+
self._MiniIamId = MiniIamId
|
2200
|
+
|
2201
|
+
|
2202
|
+
def _deserialize(self, params):
|
2203
|
+
self._NamePath = params.get("NamePath")
|
2204
|
+
self._IdPathArr = params.get("IdPathArr")
|
2205
|
+
self._ExtraInfo = params.get("ExtraInfo")
|
2206
|
+
self._Utime = params.get("Utime")
|
2207
|
+
self._ParentId = params.get("ParentId")
|
2208
|
+
self._OrgId = params.get("OrgId")
|
2209
|
+
self._Name = params.get("Name")
|
2210
|
+
self._Id = params.get("Id")
|
2211
|
+
self._Description = params.get("Description")
|
2212
|
+
self._Source = params.get("Source")
|
2213
|
+
self._IdPath = params.get("IdPath")
|
2214
|
+
self._Itime = params.get("Itime")
|
2215
|
+
self._ParentOrgId = params.get("ParentOrgId")
|
2216
|
+
self._Import = params.get("Import")
|
2217
|
+
self._ImportEnable = params.get("ImportEnable")
|
2218
|
+
self._ImportType = params.get("ImportType")
|
2219
|
+
self._MiniIamId = params.get("MiniIamId")
|
2220
|
+
memeber_set = set(params.keys())
|
2221
|
+
for name, value in vars(self).items():
|
2222
|
+
property_name = name[1:]
|
2223
|
+
if property_name in memeber_set:
|
2224
|
+
memeber_set.remove(property_name)
|
2225
|
+
if len(memeber_set) > 0:
|
2226
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2227
|
+
|
2228
|
+
|
2229
|
+
|
1054
2230
|
class Paging(AbstractModel):
|
1055
2231
|
"""页码
|
1056
2232
|
|