tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
|
@@ -18,6 +18,229 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AggrCategorySoftDetailRow(AbstractModel):
|
|
22
|
+
"""按版本聚合后的软件列表
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _ID: ID
|
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
:type ID: int
|
|
31
|
+
:param _Name: 软件名称
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
:type Name: str
|
|
34
|
+
:param _PiracyRisk: 盗版风险
|
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
|
+
:type PiracyRisk: int
|
|
37
|
+
:param _OsType: 系统平台
|
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39
|
+
:type OsType: int
|
|
40
|
+
:param _CorpName: 企业名
|
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
|
+
:type CorpName: str
|
|
43
|
+
:param _InstalledDeviceNum: 安装设备数量(只支持32位)
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
:type InstalledDeviceNum: int
|
|
46
|
+
:param _PiracyInstalledDeviceNum: 盗版安装设备数
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
:type PiracyInstalledDeviceNum: int
|
|
49
|
+
:param _InstalledUserNum: 已安装用户数
|
|
50
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
51
|
+
:type InstalledUserNum: int
|
|
52
|
+
:param _PiracyInstalledUserNum: 盗版软件用户数
|
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54
|
+
:type PiracyInstalledUserNum: int
|
|
55
|
+
:param _AuthNum: 授权总数
|
|
56
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
57
|
+
:type AuthNum: int
|
|
58
|
+
:param _GenuineRate: 正版率
|
|
59
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60
|
+
:type GenuineRate: float
|
|
61
|
+
:param _UpgradableDeviceNum: 有新版本可升级的设备数量
|
|
62
|
+
:type UpgradableDeviceNum: int
|
|
63
|
+
"""
|
|
64
|
+
self._ID = None
|
|
65
|
+
self._Name = None
|
|
66
|
+
self._PiracyRisk = None
|
|
67
|
+
self._OsType = None
|
|
68
|
+
self._CorpName = None
|
|
69
|
+
self._InstalledDeviceNum = None
|
|
70
|
+
self._PiracyInstalledDeviceNum = None
|
|
71
|
+
self._InstalledUserNum = None
|
|
72
|
+
self._PiracyInstalledUserNum = None
|
|
73
|
+
self._AuthNum = None
|
|
74
|
+
self._GenuineRate = None
|
|
75
|
+
self._UpgradableDeviceNum = None
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def ID(self):
|
|
79
|
+
"""ID
|
|
80
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
81
|
+
:rtype: int
|
|
82
|
+
"""
|
|
83
|
+
return self._ID
|
|
84
|
+
|
|
85
|
+
@ID.setter
|
|
86
|
+
def ID(self, ID):
|
|
87
|
+
self._ID = ID
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def Name(self):
|
|
91
|
+
"""软件名称
|
|
92
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
93
|
+
:rtype: str
|
|
94
|
+
"""
|
|
95
|
+
return self._Name
|
|
96
|
+
|
|
97
|
+
@Name.setter
|
|
98
|
+
def Name(self, Name):
|
|
99
|
+
self._Name = Name
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def PiracyRisk(self):
|
|
103
|
+
"""盗版风险
|
|
104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
105
|
+
:rtype: int
|
|
106
|
+
"""
|
|
107
|
+
return self._PiracyRisk
|
|
108
|
+
|
|
109
|
+
@PiracyRisk.setter
|
|
110
|
+
def PiracyRisk(self, PiracyRisk):
|
|
111
|
+
self._PiracyRisk = PiracyRisk
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def OsType(self):
|
|
115
|
+
"""系统平台
|
|
116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
117
|
+
:rtype: int
|
|
118
|
+
"""
|
|
119
|
+
return self._OsType
|
|
120
|
+
|
|
121
|
+
@OsType.setter
|
|
122
|
+
def OsType(self, OsType):
|
|
123
|
+
self._OsType = OsType
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def CorpName(self):
|
|
127
|
+
"""企业名
|
|
128
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
129
|
+
:rtype: str
|
|
130
|
+
"""
|
|
131
|
+
return self._CorpName
|
|
132
|
+
|
|
133
|
+
@CorpName.setter
|
|
134
|
+
def CorpName(self, CorpName):
|
|
135
|
+
self._CorpName = CorpName
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def InstalledDeviceNum(self):
|
|
139
|
+
"""安装设备数量(只支持32位)
|
|
140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
141
|
+
:rtype: int
|
|
142
|
+
"""
|
|
143
|
+
return self._InstalledDeviceNum
|
|
144
|
+
|
|
145
|
+
@InstalledDeviceNum.setter
|
|
146
|
+
def InstalledDeviceNum(self, InstalledDeviceNum):
|
|
147
|
+
self._InstalledDeviceNum = InstalledDeviceNum
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def PiracyInstalledDeviceNum(self):
|
|
151
|
+
"""盗版安装设备数
|
|
152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
153
|
+
:rtype: int
|
|
154
|
+
"""
|
|
155
|
+
return self._PiracyInstalledDeviceNum
|
|
156
|
+
|
|
157
|
+
@PiracyInstalledDeviceNum.setter
|
|
158
|
+
def PiracyInstalledDeviceNum(self, PiracyInstalledDeviceNum):
|
|
159
|
+
self._PiracyInstalledDeviceNum = PiracyInstalledDeviceNum
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def InstalledUserNum(self):
|
|
163
|
+
"""已安装用户数
|
|
164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
165
|
+
:rtype: int
|
|
166
|
+
"""
|
|
167
|
+
return self._InstalledUserNum
|
|
168
|
+
|
|
169
|
+
@InstalledUserNum.setter
|
|
170
|
+
def InstalledUserNum(self, InstalledUserNum):
|
|
171
|
+
self._InstalledUserNum = InstalledUserNum
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
def PiracyInstalledUserNum(self):
|
|
175
|
+
"""盗版软件用户数
|
|
176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
177
|
+
:rtype: int
|
|
178
|
+
"""
|
|
179
|
+
return self._PiracyInstalledUserNum
|
|
180
|
+
|
|
181
|
+
@PiracyInstalledUserNum.setter
|
|
182
|
+
def PiracyInstalledUserNum(self, PiracyInstalledUserNum):
|
|
183
|
+
self._PiracyInstalledUserNum = PiracyInstalledUserNum
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def AuthNum(self):
|
|
187
|
+
"""授权总数
|
|
188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
189
|
+
:rtype: int
|
|
190
|
+
"""
|
|
191
|
+
return self._AuthNum
|
|
192
|
+
|
|
193
|
+
@AuthNum.setter
|
|
194
|
+
def AuthNum(self, AuthNum):
|
|
195
|
+
self._AuthNum = AuthNum
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
def GenuineRate(self):
|
|
199
|
+
"""正版率
|
|
200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
201
|
+
:rtype: float
|
|
202
|
+
"""
|
|
203
|
+
return self._GenuineRate
|
|
204
|
+
|
|
205
|
+
@GenuineRate.setter
|
|
206
|
+
def GenuineRate(self, GenuineRate):
|
|
207
|
+
self._GenuineRate = GenuineRate
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def UpgradableDeviceNum(self):
|
|
211
|
+
"""有新版本可升级的设备数量
|
|
212
|
+
:rtype: int
|
|
213
|
+
"""
|
|
214
|
+
return self._UpgradableDeviceNum
|
|
215
|
+
|
|
216
|
+
@UpgradableDeviceNum.setter
|
|
217
|
+
def UpgradableDeviceNum(self, UpgradableDeviceNum):
|
|
218
|
+
self._UpgradableDeviceNum = UpgradableDeviceNum
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def _deserialize(self, params):
|
|
222
|
+
self._ID = params.get("ID")
|
|
223
|
+
self._Name = params.get("Name")
|
|
224
|
+
self._PiracyRisk = params.get("PiracyRisk")
|
|
225
|
+
self._OsType = params.get("OsType")
|
|
226
|
+
self._CorpName = params.get("CorpName")
|
|
227
|
+
self._InstalledDeviceNum = params.get("InstalledDeviceNum")
|
|
228
|
+
self._PiracyInstalledDeviceNum = params.get("PiracyInstalledDeviceNum")
|
|
229
|
+
self._InstalledUserNum = params.get("InstalledUserNum")
|
|
230
|
+
self._PiracyInstalledUserNum = params.get("PiracyInstalledUserNum")
|
|
231
|
+
self._AuthNum = params.get("AuthNum")
|
|
232
|
+
self._GenuineRate = params.get("GenuineRate")
|
|
233
|
+
self._UpgradableDeviceNum = params.get("UpgradableDeviceNum")
|
|
234
|
+
memeber_set = set(params.keys())
|
|
235
|
+
for name, value in vars(self).items():
|
|
236
|
+
property_name = name[1:]
|
|
237
|
+
if property_name in memeber_set:
|
|
238
|
+
memeber_set.remove(property_name)
|
|
239
|
+
if len(memeber_set) > 0:
|
|
240
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
21
244
|
class ComplexRule(AbstractModel):
|
|
22
245
|
"""自动划分规则数据
|
|
23
246
|
|
|
@@ -370,11 +593,25 @@ class CreateDeviceTaskRequest(AbstractModel):
|
|
|
370
593
|
|
|
371
594
|
def __init__(self):
|
|
372
595
|
r"""
|
|
596
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
597
|
+
:type DomainInstanceId: str
|
|
373
598
|
:param _Mid: 终端id
|
|
374
599
|
:type Mid: str
|
|
375
600
|
"""
|
|
601
|
+
self._DomainInstanceId = None
|
|
376
602
|
self._Mid = None
|
|
377
603
|
|
|
604
|
+
@property
|
|
605
|
+
def DomainInstanceId(self):
|
|
606
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
607
|
+
:rtype: str
|
|
608
|
+
"""
|
|
609
|
+
return self._DomainInstanceId
|
|
610
|
+
|
|
611
|
+
@DomainInstanceId.setter
|
|
612
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
613
|
+
self._DomainInstanceId = DomainInstanceId
|
|
614
|
+
|
|
378
615
|
@property
|
|
379
616
|
def Mid(self):
|
|
380
617
|
"""终端id
|
|
@@ -388,6 +625,7 @@ class CreateDeviceTaskRequest(AbstractModel):
|
|
|
388
625
|
|
|
389
626
|
|
|
390
627
|
def _deserialize(self, params):
|
|
628
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
391
629
|
self._Mid = params.get("Mid")
|
|
392
630
|
memeber_set = set(params.keys())
|
|
393
631
|
for name, value in vars(self).items():
|
|
@@ -434,40 +672,29 @@ class CreateDeviceVirtualGroupRequest(AbstractModel):
|
|
|
434
672
|
|
|
435
673
|
def __init__(self):
|
|
436
674
|
r"""
|
|
437
|
-
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
438
|
-
:type DomainInstanceId: str
|
|
439
675
|
:param _DeviceVirtualGroupName: 必填,终端自定义分组名
|
|
440
676
|
:type DeviceVirtualGroupName: str
|
|
677
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
678
|
+
:type DomainInstanceId: str
|
|
441
679
|
:param _Description: 详情
|
|
442
680
|
:type Description: str
|
|
443
|
-
:param _OsType:
|
|
681
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios ; 默认值0)(只支持32位)
|
|
444
682
|
:type OsType: int
|
|
445
|
-
:param _TimeType:
|
|
683
|
+
:param _TimeType: 分组类型(0:手动分组;非0为自动划分分组;具体枚举值为:1:自动每小时划分分组、2:自动每天划分分组、3:自定义时间划分分组; 默认值0)(只支持32位)
|
|
446
684
|
:type TimeType: int
|
|
447
685
|
:param _AutoMinute: 选填,TimeType=3时的自动划分时间,其他情况为0(单位min)(只支持32位)
|
|
448
686
|
:type AutoMinute: int
|
|
449
687
|
:param _AutoRules: 选填,手动分组不填,自动划分分组的划分规则数据
|
|
450
688
|
:type AutoRules: :class:`tencentcloud.ioa.v20220601.models.ComplexRule`
|
|
451
689
|
"""
|
|
452
|
-
self._DomainInstanceId = None
|
|
453
690
|
self._DeviceVirtualGroupName = None
|
|
691
|
+
self._DomainInstanceId = None
|
|
454
692
|
self._Description = None
|
|
455
693
|
self._OsType = None
|
|
456
694
|
self._TimeType = None
|
|
457
695
|
self._AutoMinute = None
|
|
458
696
|
self._AutoRules = None
|
|
459
697
|
|
|
460
|
-
@property
|
|
461
|
-
def DomainInstanceId(self):
|
|
462
|
-
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
463
|
-
:rtype: str
|
|
464
|
-
"""
|
|
465
|
-
return self._DomainInstanceId
|
|
466
|
-
|
|
467
|
-
@DomainInstanceId.setter
|
|
468
|
-
def DomainInstanceId(self, DomainInstanceId):
|
|
469
|
-
self._DomainInstanceId = DomainInstanceId
|
|
470
|
-
|
|
471
698
|
@property
|
|
472
699
|
def DeviceVirtualGroupName(self):
|
|
473
700
|
"""必填,终端自定义分组名
|
|
@@ -479,6 +706,17 @@ class CreateDeviceVirtualGroupRequest(AbstractModel):
|
|
|
479
706
|
def DeviceVirtualGroupName(self, DeviceVirtualGroupName):
|
|
480
707
|
self._DeviceVirtualGroupName = DeviceVirtualGroupName
|
|
481
708
|
|
|
709
|
+
@property
|
|
710
|
+
def DomainInstanceId(self):
|
|
711
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
712
|
+
:rtype: str
|
|
713
|
+
"""
|
|
714
|
+
return self._DomainInstanceId
|
|
715
|
+
|
|
716
|
+
@DomainInstanceId.setter
|
|
717
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
718
|
+
self._DomainInstanceId = DomainInstanceId
|
|
719
|
+
|
|
482
720
|
@property
|
|
483
721
|
def Description(self):
|
|
484
722
|
"""详情
|
|
@@ -492,7 +730,7 @@ class CreateDeviceVirtualGroupRequest(AbstractModel):
|
|
|
492
730
|
|
|
493
731
|
@property
|
|
494
732
|
def OsType(self):
|
|
495
|
-
"""
|
|
733
|
+
"""系统类型(0: win,1:linux,2: mac,4:android,5:ios ; 默认值0)(只支持32位)
|
|
496
734
|
:rtype: int
|
|
497
735
|
"""
|
|
498
736
|
return self._OsType
|
|
@@ -503,7 +741,7 @@ class CreateDeviceVirtualGroupRequest(AbstractModel):
|
|
|
503
741
|
|
|
504
742
|
@property
|
|
505
743
|
def TimeType(self):
|
|
506
|
-
"""
|
|
744
|
+
"""分组类型(0:手动分组;非0为自动划分分组;具体枚举值为:1:自动每小时划分分组、2:自动每天划分分组、3:自定义时间划分分组; 默认值0)(只支持32位)
|
|
507
745
|
:rtype: int
|
|
508
746
|
"""
|
|
509
747
|
return self._TimeType
|
|
@@ -536,8 +774,8 @@ class CreateDeviceVirtualGroupRequest(AbstractModel):
|
|
|
536
774
|
|
|
537
775
|
|
|
538
776
|
def _deserialize(self, params):
|
|
539
|
-
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
540
777
|
self._DeviceVirtualGroupName = params.get("DeviceVirtualGroupName")
|
|
778
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
541
779
|
self._Description = params.get("Description")
|
|
542
780
|
self._OsType = params.get("OsType")
|
|
543
781
|
self._TimeType = params.get("TimeType")
|
|
@@ -643,13 +881,27 @@ class CreatePrivilegeCodeRequest(AbstractModel):
|
|
|
643
881
|
|
|
644
882
|
def __init__(self):
|
|
645
883
|
r"""
|
|
646
|
-
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
647
|
-
:type DomainInstanceId: str
|
|
648
884
|
:param _Mid: 必填;设备唯一标识符;
|
|
649
885
|
:type Mid: str
|
|
886
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
887
|
+
:type DomainInstanceId: str
|
|
888
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios );默认值0
|
|
889
|
+
:type OsType: int
|
|
650
890
|
"""
|
|
651
|
-
self._DomainInstanceId = None
|
|
652
891
|
self._Mid = None
|
|
892
|
+
self._DomainInstanceId = None
|
|
893
|
+
self._OsType = None
|
|
894
|
+
|
|
895
|
+
@property
|
|
896
|
+
def Mid(self):
|
|
897
|
+
"""必填;设备唯一标识符;
|
|
898
|
+
:rtype: str
|
|
899
|
+
"""
|
|
900
|
+
return self._Mid
|
|
901
|
+
|
|
902
|
+
@Mid.setter
|
|
903
|
+
def Mid(self, Mid):
|
|
904
|
+
self._Mid = Mid
|
|
653
905
|
|
|
654
906
|
@property
|
|
655
907
|
def DomainInstanceId(self):
|
|
@@ -663,20 +915,21 @@ class CreatePrivilegeCodeRequest(AbstractModel):
|
|
|
663
915
|
self._DomainInstanceId = DomainInstanceId
|
|
664
916
|
|
|
665
917
|
@property
|
|
666
|
-
def
|
|
667
|
-
"""
|
|
668
|
-
:rtype:
|
|
918
|
+
def OsType(self):
|
|
919
|
+
"""系统类型(0: win,1:linux,2: mac,4:android,5:ios );默认值0
|
|
920
|
+
:rtype: int
|
|
669
921
|
"""
|
|
670
|
-
return self.
|
|
922
|
+
return self._OsType
|
|
671
923
|
|
|
672
|
-
@
|
|
673
|
-
def
|
|
674
|
-
self.
|
|
924
|
+
@OsType.setter
|
|
925
|
+
def OsType(self, OsType):
|
|
926
|
+
self._OsType = OsType
|
|
675
927
|
|
|
676
928
|
|
|
677
929
|
def _deserialize(self, params):
|
|
678
|
-
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
679
930
|
self._Mid = params.get("Mid")
|
|
931
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
932
|
+
self._OsType = params.get("OsType")
|
|
680
933
|
memeber_set = set(params.keys())
|
|
681
934
|
for name, value in vars(self).items():
|
|
682
935
|
property_name = name[1:]
|
|
@@ -695,7 +948,6 @@ class CreatePrivilegeCodeResponse(AbstractModel):
|
|
|
695
948
|
def __init__(self):
|
|
696
949
|
r"""
|
|
697
950
|
:param _Data: 业务响应数据
|
|
698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
699
951
|
:type Data: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeRspData`
|
|
700
952
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
701
953
|
:type RequestId: str
|
|
@@ -706,7 +958,6 @@ class CreatePrivilegeCodeResponse(AbstractModel):
|
|
|
706
958
|
@property
|
|
707
959
|
def Data(self):
|
|
708
960
|
"""业务响应数据
|
|
709
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
710
961
|
:rtype: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeRspData`
|
|
711
962
|
"""
|
|
712
963
|
return self._Data
|
|
@@ -1207,30 +1458,190 @@ class DescribeAccountGroupsRequest(AbstractModel):
|
|
|
1207
1458
|
是否必填:否
|
|
1208
1459
|
:rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
1209
1460
|
"""
|
|
1210
|
-
return self._Condition
|
|
1211
|
-
|
|
1212
|
-
@Condition.setter
|
|
1213
|
-
def Condition(self, Condition):
|
|
1214
|
-
self._Condition = Condition
|
|
1461
|
+
return self._Condition
|
|
1462
|
+
|
|
1463
|
+
@Condition.setter
|
|
1464
|
+
def Condition(self, Condition):
|
|
1465
|
+
self._Condition = Condition
|
|
1466
|
+
|
|
1467
|
+
@property
|
|
1468
|
+
def ParentId(self):
|
|
1469
|
+
"""父分组ID,获取该分组下的子组信息。默认查询全网根分组下子组信息。
|
|
1470
|
+
:rtype: int
|
|
1471
|
+
"""
|
|
1472
|
+
return self._ParentId
|
|
1473
|
+
|
|
1474
|
+
@ParentId.setter
|
|
1475
|
+
def ParentId(self, ParentId):
|
|
1476
|
+
self._ParentId = ParentId
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
def _deserialize(self, params):
|
|
1480
|
+
self._Deepin = params.get("Deepin")
|
|
1481
|
+
if params.get("Condition") is not None:
|
|
1482
|
+
self._Condition = Condition()
|
|
1483
|
+
self._Condition._deserialize(params.get("Condition"))
|
|
1484
|
+
self._ParentId = params.get("ParentId")
|
|
1485
|
+
memeber_set = set(params.keys())
|
|
1486
|
+
for name, value in vars(self).items():
|
|
1487
|
+
property_name = name[1:]
|
|
1488
|
+
if property_name in memeber_set:
|
|
1489
|
+
memeber_set.remove(property_name)
|
|
1490
|
+
if len(memeber_set) > 0:
|
|
1491
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
class DescribeAccountGroupsResponse(AbstractModel):
|
|
1496
|
+
"""DescribeAccountGroups返回参数结构体
|
|
1497
|
+
|
|
1498
|
+
"""
|
|
1499
|
+
|
|
1500
|
+
def __init__(self):
|
|
1501
|
+
r"""
|
|
1502
|
+
:param _Data: 账号分组详情响应数据
|
|
1503
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsPageResp`
|
|
1504
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1505
|
+
:type RequestId: str
|
|
1506
|
+
"""
|
|
1507
|
+
self._Data = None
|
|
1508
|
+
self._RequestId = None
|
|
1509
|
+
|
|
1510
|
+
@property
|
|
1511
|
+
def Data(self):
|
|
1512
|
+
"""账号分组详情响应数据
|
|
1513
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsPageResp`
|
|
1514
|
+
"""
|
|
1515
|
+
return self._Data
|
|
1516
|
+
|
|
1517
|
+
@Data.setter
|
|
1518
|
+
def Data(self, Data):
|
|
1519
|
+
self._Data = Data
|
|
1520
|
+
|
|
1521
|
+
@property
|
|
1522
|
+
def RequestId(self):
|
|
1523
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1524
|
+
:rtype: str
|
|
1525
|
+
"""
|
|
1526
|
+
return self._RequestId
|
|
1527
|
+
|
|
1528
|
+
@RequestId.setter
|
|
1529
|
+
def RequestId(self, RequestId):
|
|
1530
|
+
self._RequestId = RequestId
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
def _deserialize(self, params):
|
|
1534
|
+
if params.get("Data") is not None:
|
|
1535
|
+
self._Data = DescribeAccountGroupsPageResp()
|
|
1536
|
+
self._Data._deserialize(params.get("Data"))
|
|
1537
|
+
self._RequestId = params.get("RequestId")
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
class DescribeAggrSoftCategorySoftListData(AbstractModel):
|
|
1541
|
+
"""业务响应数据
|
|
1542
|
+
|
|
1543
|
+
"""
|
|
1544
|
+
|
|
1545
|
+
def __init__(self):
|
|
1546
|
+
r"""
|
|
1547
|
+
:param _Page: 分页公共对象
|
|
1548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1549
|
+
:type Page: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
|
1550
|
+
:param _Total: 总数(只支持32位)
|
|
1551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1552
|
+
:type Total: int
|
|
1553
|
+
:param _AggrSoftCategorySoftList: 行数据
|
|
1554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1555
|
+
:type AggrSoftCategorySoftList: list of AggrCategorySoftDetailRow
|
|
1556
|
+
"""
|
|
1557
|
+
self._Page = None
|
|
1558
|
+
self._Total = None
|
|
1559
|
+
self._AggrSoftCategorySoftList = None
|
|
1560
|
+
|
|
1561
|
+
@property
|
|
1562
|
+
def Page(self):
|
|
1563
|
+
"""分页公共对象
|
|
1564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1565
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
|
1566
|
+
"""
|
|
1567
|
+
return self._Page
|
|
1568
|
+
|
|
1569
|
+
@Page.setter
|
|
1570
|
+
def Page(self, Page):
|
|
1571
|
+
self._Page = Page
|
|
1572
|
+
|
|
1573
|
+
@property
|
|
1574
|
+
def Total(self):
|
|
1575
|
+
"""总数(只支持32位)
|
|
1576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1577
|
+
:rtype: int
|
|
1578
|
+
"""
|
|
1579
|
+
return self._Total
|
|
1580
|
+
|
|
1581
|
+
@Total.setter
|
|
1582
|
+
def Total(self, Total):
|
|
1583
|
+
self._Total = Total
|
|
1584
|
+
|
|
1585
|
+
@property
|
|
1586
|
+
def AggrSoftCategorySoftList(self):
|
|
1587
|
+
"""行数据
|
|
1588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1589
|
+
:rtype: list of AggrCategorySoftDetailRow
|
|
1590
|
+
"""
|
|
1591
|
+
return self._AggrSoftCategorySoftList
|
|
1592
|
+
|
|
1593
|
+
@AggrSoftCategorySoftList.setter
|
|
1594
|
+
def AggrSoftCategorySoftList(self, AggrSoftCategorySoftList):
|
|
1595
|
+
self._AggrSoftCategorySoftList = AggrSoftCategorySoftList
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
def _deserialize(self, params):
|
|
1599
|
+
if params.get("Page") is not None:
|
|
1600
|
+
self._Page = Paging()
|
|
1601
|
+
self._Page._deserialize(params.get("Page"))
|
|
1602
|
+
self._Total = params.get("Total")
|
|
1603
|
+
if params.get("AggrSoftCategorySoftList") is not None:
|
|
1604
|
+
self._AggrSoftCategorySoftList = []
|
|
1605
|
+
for item in params.get("AggrSoftCategorySoftList"):
|
|
1606
|
+
obj = AggrCategorySoftDetailRow()
|
|
1607
|
+
obj._deserialize(item)
|
|
1608
|
+
self._AggrSoftCategorySoftList.append(obj)
|
|
1609
|
+
memeber_set = set(params.keys())
|
|
1610
|
+
for name, value in vars(self).items():
|
|
1611
|
+
property_name = name[1:]
|
|
1612
|
+
if property_name in memeber_set:
|
|
1613
|
+
memeber_set.remove(property_name)
|
|
1614
|
+
if len(memeber_set) > 0:
|
|
1615
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
class DescribeAggrSoftCategorySoftListRequest(AbstractModel):
|
|
1620
|
+
"""DescribeAggrSoftCategorySoftList请求参数结构体
|
|
1621
|
+
|
|
1622
|
+
"""
|
|
1623
|
+
|
|
1624
|
+
def __init__(self):
|
|
1625
|
+
r"""
|
|
1626
|
+
:param _OsType: os类别(只支持32位)
|
|
1627
|
+
:type OsType: int
|
|
1628
|
+
"""
|
|
1629
|
+
self._OsType = None
|
|
1215
1630
|
|
|
1216
1631
|
@property
|
|
1217
|
-
def
|
|
1218
|
-
"""
|
|
1632
|
+
def OsType(self):
|
|
1633
|
+
"""os类别(只支持32位)
|
|
1219
1634
|
:rtype: int
|
|
1220
1635
|
"""
|
|
1221
|
-
return self.
|
|
1636
|
+
return self._OsType
|
|
1222
1637
|
|
|
1223
|
-
@
|
|
1224
|
-
def
|
|
1225
|
-
self.
|
|
1638
|
+
@OsType.setter
|
|
1639
|
+
def OsType(self, OsType):
|
|
1640
|
+
self._OsType = OsType
|
|
1226
1641
|
|
|
1227
1642
|
|
|
1228
1643
|
def _deserialize(self, params):
|
|
1229
|
-
self.
|
|
1230
|
-
if params.get("Condition") is not None:
|
|
1231
|
-
self._Condition = Condition()
|
|
1232
|
-
self._Condition._deserialize(params.get("Condition"))
|
|
1233
|
-
self._ParentId = params.get("ParentId")
|
|
1644
|
+
self._OsType = params.get("OsType")
|
|
1234
1645
|
memeber_set = set(params.keys())
|
|
1235
1646
|
for name, value in vars(self).items():
|
|
1236
1647
|
property_name = name[1:]
|
|
@@ -1241,15 +1652,15 @@ class DescribeAccountGroupsRequest(AbstractModel):
|
|
|
1241
1652
|
|
|
1242
1653
|
|
|
1243
1654
|
|
|
1244
|
-
class
|
|
1245
|
-
"""
|
|
1655
|
+
class DescribeAggrSoftCategorySoftListResponse(AbstractModel):
|
|
1656
|
+
"""DescribeAggrSoftCategorySoftList返回参数结构体
|
|
1246
1657
|
|
|
1247
1658
|
"""
|
|
1248
1659
|
|
|
1249
1660
|
def __init__(self):
|
|
1250
1661
|
r"""
|
|
1251
|
-
:param _Data:
|
|
1252
|
-
:type Data: :class:`tencentcloud.ioa.v20220601.models.
|
|
1662
|
+
:param _Data: 数据
|
|
1663
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftCategorySoftListData`
|
|
1253
1664
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1254
1665
|
:type RequestId: str
|
|
1255
1666
|
"""
|
|
@@ -1258,8 +1669,8 @@ class DescribeAccountGroupsResponse(AbstractModel):
|
|
|
1258
1669
|
|
|
1259
1670
|
@property
|
|
1260
1671
|
def Data(self):
|
|
1261
|
-
"""
|
|
1262
|
-
:rtype: :class:`tencentcloud.ioa.v20220601.models.
|
|
1672
|
+
"""数据
|
|
1673
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAggrSoftCategorySoftListData`
|
|
1263
1674
|
"""
|
|
1264
1675
|
return self._Data
|
|
1265
1676
|
|
|
@@ -1281,7 +1692,7 @@ class DescribeAccountGroupsResponse(AbstractModel):
|
|
|
1281
1692
|
|
|
1282
1693
|
def _deserialize(self, params):
|
|
1283
1694
|
if params.get("Data") is not None:
|
|
1284
|
-
self._Data =
|
|
1695
|
+
self._Data = DescribeAggrSoftCategorySoftListData()
|
|
1285
1696
|
self._Data._deserialize(params.get("Data"))
|
|
1286
1697
|
self._RequestId = params.get("RequestId")
|
|
1287
1698
|
|
|
@@ -1463,6 +1874,191 @@ class DescribeDLPFileDetectResultResponse(AbstractModel):
|
|
|
1463
1874
|
self._RequestId = params.get("RequestId")
|
|
1464
1875
|
|
|
1465
1876
|
|
|
1877
|
+
class DescribeDeviceChildGroupsRequest(AbstractModel):
|
|
1878
|
+
"""DescribeDeviceChildGroups请求参数结构体
|
|
1879
|
+
|
|
1880
|
+
"""
|
|
1881
|
+
|
|
1882
|
+
def __init__(self):
|
|
1883
|
+
r"""
|
|
1884
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
1885
|
+
:type DomainInstanceId: str
|
|
1886
|
+
:param _Condition: 过滤条件参数(字段含义请参考接口返回值)
|
|
1887
|
+
- Name, 类型String,支持操作:【like,ilike】,支持排序
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
分页参数
|
|
1893
|
+
- PageNum 从1开始,小于等于0时使用默认参数
|
|
1894
|
+
- PageSize 最大值5000,最好不超过100
|
|
1895
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
1896
|
+
:param _ParentId: 父分组id,默认0:表示获取全网终端分组
|
|
1897
|
+
:type ParentId: int
|
|
1898
|
+
:param _OsType: 操作系统类型(0:win,1:linux,2:mac,4:android,5:ios;默认0:系统win)
|
|
1899
|
+
:type OsType: int
|
|
1900
|
+
"""
|
|
1901
|
+
self._DomainInstanceId = None
|
|
1902
|
+
self._Condition = None
|
|
1903
|
+
self._ParentId = None
|
|
1904
|
+
self._OsType = None
|
|
1905
|
+
|
|
1906
|
+
@property
|
|
1907
|
+
def DomainInstanceId(self):
|
|
1908
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
1909
|
+
:rtype: str
|
|
1910
|
+
"""
|
|
1911
|
+
return self._DomainInstanceId
|
|
1912
|
+
|
|
1913
|
+
@DomainInstanceId.setter
|
|
1914
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
1915
|
+
self._DomainInstanceId = DomainInstanceId
|
|
1916
|
+
|
|
1917
|
+
@property
|
|
1918
|
+
def Condition(self):
|
|
1919
|
+
"""过滤条件参数(字段含义请参考接口返回值)
|
|
1920
|
+
- Name, 类型String,支持操作:【like,ilike】,支持排序
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
分页参数
|
|
1926
|
+
- PageNum 从1开始,小于等于0时使用默认参数
|
|
1927
|
+
- PageSize 最大值5000,最好不超过100
|
|
1928
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
1929
|
+
"""
|
|
1930
|
+
return self._Condition
|
|
1931
|
+
|
|
1932
|
+
@Condition.setter
|
|
1933
|
+
def Condition(self, Condition):
|
|
1934
|
+
self._Condition = Condition
|
|
1935
|
+
|
|
1936
|
+
@property
|
|
1937
|
+
def ParentId(self):
|
|
1938
|
+
"""父分组id,默认0:表示获取全网终端分组
|
|
1939
|
+
:rtype: int
|
|
1940
|
+
"""
|
|
1941
|
+
return self._ParentId
|
|
1942
|
+
|
|
1943
|
+
@ParentId.setter
|
|
1944
|
+
def ParentId(self, ParentId):
|
|
1945
|
+
self._ParentId = ParentId
|
|
1946
|
+
|
|
1947
|
+
@property
|
|
1948
|
+
def OsType(self):
|
|
1949
|
+
"""操作系统类型(0:win,1:linux,2:mac,4:android,5:ios;默认0:系统win)
|
|
1950
|
+
:rtype: int
|
|
1951
|
+
"""
|
|
1952
|
+
return self._OsType
|
|
1953
|
+
|
|
1954
|
+
@OsType.setter
|
|
1955
|
+
def OsType(self, OsType):
|
|
1956
|
+
self._OsType = OsType
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
def _deserialize(self, params):
|
|
1960
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
1961
|
+
if params.get("Condition") is not None:
|
|
1962
|
+
self._Condition = Condition()
|
|
1963
|
+
self._Condition._deserialize(params.get("Condition"))
|
|
1964
|
+
self._ParentId = params.get("ParentId")
|
|
1965
|
+
self._OsType = params.get("OsType")
|
|
1966
|
+
memeber_set = set(params.keys())
|
|
1967
|
+
for name, value in vars(self).items():
|
|
1968
|
+
property_name = name[1:]
|
|
1969
|
+
if property_name in memeber_set:
|
|
1970
|
+
memeber_set.remove(property_name)
|
|
1971
|
+
if len(memeber_set) > 0:
|
|
1972
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
class DescribeDeviceChildGroupsResponse(AbstractModel):
|
|
1977
|
+
"""DescribeDeviceChildGroups返回参数结构体
|
|
1978
|
+
|
|
1979
|
+
"""
|
|
1980
|
+
|
|
1981
|
+
def __init__(self):
|
|
1982
|
+
r"""
|
|
1983
|
+
:param _Data: 查询设备组子分组详情响应结构
|
|
1984
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceChildGroupsRspData`
|
|
1985
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1986
|
+
:type RequestId: str
|
|
1987
|
+
"""
|
|
1988
|
+
self._Data = None
|
|
1989
|
+
self._RequestId = None
|
|
1990
|
+
|
|
1991
|
+
@property
|
|
1992
|
+
def Data(self):
|
|
1993
|
+
"""查询设备组子分组详情响应结构
|
|
1994
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceChildGroupsRspData`
|
|
1995
|
+
"""
|
|
1996
|
+
return self._Data
|
|
1997
|
+
|
|
1998
|
+
@Data.setter
|
|
1999
|
+
def Data(self, Data):
|
|
2000
|
+
self._Data = Data
|
|
2001
|
+
|
|
2002
|
+
@property
|
|
2003
|
+
def RequestId(self):
|
|
2004
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2005
|
+
:rtype: str
|
|
2006
|
+
"""
|
|
2007
|
+
return self._RequestId
|
|
2008
|
+
|
|
2009
|
+
@RequestId.setter
|
|
2010
|
+
def RequestId(self, RequestId):
|
|
2011
|
+
self._RequestId = RequestId
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
def _deserialize(self, params):
|
|
2015
|
+
if params.get("Data") is not None:
|
|
2016
|
+
self._Data = DescribeDeviceChildGroupsRspData()
|
|
2017
|
+
self._Data._deserialize(params.get("Data"))
|
|
2018
|
+
self._RequestId = params.get("RequestId")
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
class DescribeDeviceChildGroupsRspData(AbstractModel):
|
|
2022
|
+
"""查询设备组子分组详情响应结构
|
|
2023
|
+
|
|
2024
|
+
"""
|
|
2025
|
+
|
|
2026
|
+
def __init__(self):
|
|
2027
|
+
r"""
|
|
2028
|
+
:param _Items: 返回的数组列表
|
|
2029
|
+
:type Items: list of DeviceGroupDetail
|
|
2030
|
+
"""
|
|
2031
|
+
self._Items = None
|
|
2032
|
+
|
|
2033
|
+
@property
|
|
2034
|
+
def Items(self):
|
|
2035
|
+
"""返回的数组列表
|
|
2036
|
+
:rtype: list of DeviceGroupDetail
|
|
2037
|
+
"""
|
|
2038
|
+
return self._Items
|
|
2039
|
+
|
|
2040
|
+
@Items.setter
|
|
2041
|
+
def Items(self, Items):
|
|
2042
|
+
self._Items = Items
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
def _deserialize(self, params):
|
|
2046
|
+
if params.get("Items") is not None:
|
|
2047
|
+
self._Items = []
|
|
2048
|
+
for item in params.get("Items"):
|
|
2049
|
+
obj = DeviceGroupDetail()
|
|
2050
|
+
obj._deserialize(item)
|
|
2051
|
+
self._Items.append(obj)
|
|
2052
|
+
memeber_set = set(params.keys())
|
|
2053
|
+
for name, value in vars(self).items():
|
|
2054
|
+
property_name = name[1:]
|
|
2055
|
+
if property_name in memeber_set:
|
|
2056
|
+
memeber_set.remove(property_name)
|
|
2057
|
+
if len(memeber_set) > 0:
|
|
2058
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
|
|
1466
2062
|
class DescribeDeviceHardwareInfoItem(AbstractModel):
|
|
1467
2063
|
"""终端硬件信息列表Item数据
|
|
1468
2064
|
|
|
@@ -1502,6 +2098,8 @@ class DescribeDeviceHardwareInfoItem(AbstractModel):
|
|
|
1502
2098
|
:type HardDiskSize: str
|
|
1503
2099
|
:param _Monitor: 显示器品牌型号
|
|
1504
2100
|
:type Monitor: str
|
|
2101
|
+
:param _RemarkName: 终端备注名
|
|
2102
|
+
:type RemarkName: str
|
|
1505
2103
|
"""
|
|
1506
2104
|
self._Id = None
|
|
1507
2105
|
self._Mid = None
|
|
@@ -1519,6 +2117,7 @@ class DescribeDeviceHardwareInfoItem(AbstractModel):
|
|
|
1519
2117
|
self._Memory = None
|
|
1520
2118
|
self._HardDiskSize = None
|
|
1521
2119
|
self._Monitor = None
|
|
2120
|
+
self._RemarkName = None
|
|
1522
2121
|
|
|
1523
2122
|
@property
|
|
1524
2123
|
def Id(self):
|
|
@@ -1696,6 +2295,17 @@ class DescribeDeviceHardwareInfoItem(AbstractModel):
|
|
|
1696
2295
|
def Monitor(self, Monitor):
|
|
1697
2296
|
self._Monitor = Monitor
|
|
1698
2297
|
|
|
2298
|
+
@property
|
|
2299
|
+
def RemarkName(self):
|
|
2300
|
+
"""终端备注名
|
|
2301
|
+
:rtype: str
|
|
2302
|
+
"""
|
|
2303
|
+
return self._RemarkName
|
|
2304
|
+
|
|
2305
|
+
@RemarkName.setter
|
|
2306
|
+
def RemarkName(self, RemarkName):
|
|
2307
|
+
self._RemarkName = RemarkName
|
|
2308
|
+
|
|
1699
2309
|
|
|
1700
2310
|
def _deserialize(self, params):
|
|
1701
2311
|
self._Id = params.get("Id")
|
|
@@ -1714,6 +2324,7 @@ class DescribeDeviceHardwareInfoItem(AbstractModel):
|
|
|
1714
2324
|
self._Memory = params.get("Memory")
|
|
1715
2325
|
self._HardDiskSize = params.get("HardDiskSize")
|
|
1716
2326
|
self._Monitor = params.get("Monitor")
|
|
2327
|
+
self._RemarkName = params.get("RemarkName")
|
|
1717
2328
|
memeber_set = set(params.keys())
|
|
1718
2329
|
for name, value in vars(self).items():
|
|
1719
2330
|
property_name = name[1:]
|
|
@@ -1917,14 +2528,28 @@ class DescribeDeviceInfoRequest(AbstractModel):
|
|
|
1917
2528
|
|
|
1918
2529
|
def __init__(self):
|
|
1919
2530
|
r"""
|
|
2531
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
2532
|
+
:type DomainInstanceId: str
|
|
1920
2533
|
:param _Mid: 终端id
|
|
1921
2534
|
:type Mid: str
|
|
1922
2535
|
:param _Type: 查询类型 process_list network_list service_list
|
|
1923
2536
|
:type Type: str
|
|
1924
2537
|
"""
|
|
2538
|
+
self._DomainInstanceId = None
|
|
1925
2539
|
self._Mid = None
|
|
1926
2540
|
self._Type = None
|
|
1927
2541
|
|
|
2542
|
+
@property
|
|
2543
|
+
def DomainInstanceId(self):
|
|
2544
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
2545
|
+
:rtype: str
|
|
2546
|
+
"""
|
|
2547
|
+
return self._DomainInstanceId
|
|
2548
|
+
|
|
2549
|
+
@DomainInstanceId.setter
|
|
2550
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
2551
|
+
self._DomainInstanceId = DomainInstanceId
|
|
2552
|
+
|
|
1928
2553
|
@property
|
|
1929
2554
|
def Mid(self):
|
|
1930
2555
|
"""终端id
|
|
@@ -1949,6 +2574,7 @@ class DescribeDeviceInfoRequest(AbstractModel):
|
|
|
1949
2574
|
|
|
1950
2575
|
|
|
1951
2576
|
def _deserialize(self, params):
|
|
2577
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
1952
2578
|
self._Mid = params.get("Mid")
|
|
1953
2579
|
self._Type = params.get("Type")
|
|
1954
2580
|
memeber_set = set(params.keys())
|
|
@@ -3343,6 +3969,8 @@ class DescribeSoftCensusListByDeviceData(AbstractModel):
|
|
|
3343
3969
|
:param _PiracyRisk: 盗版风险(1=风险;2=未知)
|
|
3344
3970
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3345
3971
|
:type PiracyRisk: int
|
|
3972
|
+
:param _RemarkName: 终端备注名
|
|
3973
|
+
:type RemarkName: str
|
|
3346
3974
|
"""
|
|
3347
3975
|
self._UserName = None
|
|
3348
3976
|
self._MacAddr = None
|
|
@@ -3356,6 +3984,7 @@ class DescribeSoftCensusListByDeviceData(AbstractModel):
|
|
|
3356
3984
|
self._Id = None
|
|
3357
3985
|
self._SoftNum = None
|
|
3358
3986
|
self._PiracyRisk = None
|
|
3987
|
+
self._RemarkName = None
|
|
3359
3988
|
|
|
3360
3989
|
@property
|
|
3361
3990
|
def UserName(self):
|
|
@@ -3501,6 +4130,17 @@ class DescribeSoftCensusListByDeviceData(AbstractModel):
|
|
|
3501
4130
|
def PiracyRisk(self, PiracyRisk):
|
|
3502
4131
|
self._PiracyRisk = PiracyRisk
|
|
3503
4132
|
|
|
4133
|
+
@property
|
|
4134
|
+
def RemarkName(self):
|
|
4135
|
+
"""终端备注名
|
|
4136
|
+
:rtype: str
|
|
4137
|
+
"""
|
|
4138
|
+
return self._RemarkName
|
|
4139
|
+
|
|
4140
|
+
@RemarkName.setter
|
|
4141
|
+
def RemarkName(self, RemarkName):
|
|
4142
|
+
self._RemarkName = RemarkName
|
|
4143
|
+
|
|
3504
4144
|
|
|
3505
4145
|
def _deserialize(self, params):
|
|
3506
4146
|
self._UserName = params.get("UserName")
|
|
@@ -3515,6 +4155,7 @@ class DescribeSoftCensusListByDeviceData(AbstractModel):
|
|
|
3515
4155
|
self._Id = params.get("Id")
|
|
3516
4156
|
self._SoftNum = params.get("SoftNum")
|
|
3517
4157
|
self._PiracyRisk = params.get("PiracyRisk")
|
|
4158
|
+
self._RemarkName = params.get("RemarkName")
|
|
3518
4159
|
memeber_set = set(params.keys())
|
|
3519
4160
|
for name, value in vars(self).items():
|
|
3520
4161
|
property_name = name[1:]
|
|
@@ -3594,27 +4235,19 @@ class DescribeSoftCensusListByDeviceRequest(AbstractModel):
|
|
|
3594
4235
|
|
|
3595
4236
|
def __init__(self):
|
|
3596
4237
|
r"""
|
|
3597
|
-
:param _OsType: 必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios )
|
|
3598
|
-
:type OsType: int
|
|
3599
4238
|
:param _GroupId: 必填,终端分组ID
|
|
3600
4239
|
:type GroupId: int
|
|
4240
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
4241
|
+
:type DomainInstanceId: str
|
|
4242
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios );默认值0
|
|
4243
|
+
:type OsType: int
|
|
3601
4244
|
:param _Condition: 过滤条件、分页参数 <li>Name - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,终端名。</li> <li>UserName - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,终端用户名。</li> <li>IoaUserName - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,最近登录账号。</li> <li>Ip - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,IP地址。</li> <li>MacAddr - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,MAC地址。</li>
|
|
3602
4245
|
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
3603
4246
|
"""
|
|
3604
|
-
self._OsType = None
|
|
3605
4247
|
self._GroupId = None
|
|
3606
|
-
self.
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
def OsType(self):
|
|
3610
|
-
"""必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios )
|
|
3611
|
-
:rtype: int
|
|
3612
|
-
"""
|
|
3613
|
-
return self._OsType
|
|
3614
|
-
|
|
3615
|
-
@OsType.setter
|
|
3616
|
-
def OsType(self, OsType):
|
|
3617
|
-
self._OsType = OsType
|
|
4248
|
+
self._DomainInstanceId = None
|
|
4249
|
+
self._OsType = None
|
|
4250
|
+
self._Condition = None
|
|
3618
4251
|
|
|
3619
4252
|
@property
|
|
3620
4253
|
def GroupId(self):
|
|
@@ -3627,6 +4260,28 @@ class DescribeSoftCensusListByDeviceRequest(AbstractModel):
|
|
|
3627
4260
|
def GroupId(self, GroupId):
|
|
3628
4261
|
self._GroupId = GroupId
|
|
3629
4262
|
|
|
4263
|
+
@property
|
|
4264
|
+
def DomainInstanceId(self):
|
|
4265
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
4266
|
+
:rtype: str
|
|
4267
|
+
"""
|
|
4268
|
+
return self._DomainInstanceId
|
|
4269
|
+
|
|
4270
|
+
@DomainInstanceId.setter
|
|
4271
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
4272
|
+
self._DomainInstanceId = DomainInstanceId
|
|
4273
|
+
|
|
4274
|
+
@property
|
|
4275
|
+
def OsType(self):
|
|
4276
|
+
"""系统类型(0: win,1:linux,2: mac,4:android,5:ios );默认值0
|
|
4277
|
+
:rtype: int
|
|
4278
|
+
"""
|
|
4279
|
+
return self._OsType
|
|
4280
|
+
|
|
4281
|
+
@OsType.setter
|
|
4282
|
+
def OsType(self, OsType):
|
|
4283
|
+
self._OsType = OsType
|
|
4284
|
+
|
|
3630
4285
|
@property
|
|
3631
4286
|
def Condition(self):
|
|
3632
4287
|
"""过滤条件、分页参数 <li>Name - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,终端名。</li> <li>UserName - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,终端用户名。</li> <li>IoaUserName - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,最近登录账号。</li> <li>Ip - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,IP地址。</li> <li>MacAddr - String - 是否必填:否 - 操作符: eq,like,ilike - 排序支持:否 - 备注:字段含义,MAC地址。</li>
|
|
@@ -3640,8 +4295,9 @@ class DescribeSoftCensusListByDeviceRequest(AbstractModel):
|
|
|
3640
4295
|
|
|
3641
4296
|
|
|
3642
4297
|
def _deserialize(self, params):
|
|
3643
|
-
self._OsType = params.get("OsType")
|
|
3644
4298
|
self._GroupId = params.get("GroupId")
|
|
4299
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
4300
|
+
self._OsType = params.get("OsType")
|
|
3645
4301
|
if params.get("Condition") is not None:
|
|
3646
4302
|
self._Condition = Condition()
|
|
3647
4303
|
self._Condition._deserialize(params.get("Condition"))
|
|
@@ -3663,7 +4319,6 @@ class DescribeSoftCensusListByDeviceResponse(AbstractModel):
|
|
|
3663
4319
|
def __init__(self):
|
|
3664
4320
|
r"""
|
|
3665
4321
|
:param _Data: 业务响应数据
|
|
3666
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3667
4322
|
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDevicePageData`
|
|
3668
4323
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3669
4324
|
:type RequestId: str
|
|
@@ -3674,7 +4329,6 @@ class DescribeSoftCensusListByDeviceResponse(AbstractModel):
|
|
|
3674
4329
|
@property
|
|
3675
4330
|
def Data(self):
|
|
3676
4331
|
"""业务响应数据
|
|
3677
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3678
4332
|
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDevicePageData`
|
|
3679
4333
|
"""
|
|
3680
4334
|
return self._Data
|
|
@@ -4817,6 +5471,297 @@ class DeviceDetail(AbstractModel):
|
|
|
4817
5471
|
|
|
4818
5472
|
|
|
4819
5473
|
|
|
5474
|
+
class DeviceGroupDetail(AbstractModel):
|
|
5475
|
+
"""返回的数组列表
|
|
5476
|
+
|
|
5477
|
+
"""
|
|
5478
|
+
|
|
5479
|
+
def __init__(self):
|
|
5480
|
+
r"""
|
|
5481
|
+
:param _Id: 设备组id
|
|
5482
|
+
:type Id: int
|
|
5483
|
+
:param _Name: 设备组名称
|
|
5484
|
+
:type Name: str
|
|
5485
|
+
:param _Description: 设备组描述
|
|
5486
|
+
:type Description: str
|
|
5487
|
+
:param _ParentId: 父节点id
|
|
5488
|
+
:type ParentId: int
|
|
5489
|
+
:param _IdPath: 基于id的节点路径
|
|
5490
|
+
:type IdPath: str
|
|
5491
|
+
:param _NamePath: 基于名称的节点路径
|
|
5492
|
+
:type NamePath: str
|
|
5493
|
+
:param _Locked: 分组锁定状态
|
|
5494
|
+
:type Locked: int
|
|
5495
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios )
|
|
5496
|
+
:type OsType: int
|
|
5497
|
+
:param _Sort: 排序
|
|
5498
|
+
:type Sort: int
|
|
5499
|
+
:param _FromAuto: 是否自动调整
|
|
5500
|
+
:type FromAuto: int
|
|
5501
|
+
:param _Count: 子节点数量
|
|
5502
|
+
:type Count: int
|
|
5503
|
+
:param _Icon: 图标
|
|
5504
|
+
:type Icon: str
|
|
5505
|
+
:param _WithIp: 是否有ip
|
|
5506
|
+
:type WithIp: int
|
|
5507
|
+
:param _HasIp: 是否有组ip
|
|
5508
|
+
:type HasIp: bool
|
|
5509
|
+
:param _IsLeaf: 是否是叶子节点
|
|
5510
|
+
:type IsLeaf: bool
|
|
5511
|
+
:param _ReadOnly: 是否只读
|
|
5512
|
+
:type ReadOnly: bool
|
|
5513
|
+
:param _BindAccount: 对应绑定的账号id
|
|
5514
|
+
:type BindAccount: int
|
|
5515
|
+
:param _BindAccountName: 绑定账号的用户名
|
|
5516
|
+
:type BindAccountName: str
|
|
5517
|
+
"""
|
|
5518
|
+
self._Id = None
|
|
5519
|
+
self._Name = None
|
|
5520
|
+
self._Description = None
|
|
5521
|
+
self._ParentId = None
|
|
5522
|
+
self._IdPath = None
|
|
5523
|
+
self._NamePath = None
|
|
5524
|
+
self._Locked = None
|
|
5525
|
+
self._OsType = None
|
|
5526
|
+
self._Sort = None
|
|
5527
|
+
self._FromAuto = None
|
|
5528
|
+
self._Count = None
|
|
5529
|
+
self._Icon = None
|
|
5530
|
+
self._WithIp = None
|
|
5531
|
+
self._HasIp = None
|
|
5532
|
+
self._IsLeaf = None
|
|
5533
|
+
self._ReadOnly = None
|
|
5534
|
+
self._BindAccount = None
|
|
5535
|
+
self._BindAccountName = None
|
|
5536
|
+
|
|
5537
|
+
@property
|
|
5538
|
+
def Id(self):
|
|
5539
|
+
"""设备组id
|
|
5540
|
+
:rtype: int
|
|
5541
|
+
"""
|
|
5542
|
+
return self._Id
|
|
5543
|
+
|
|
5544
|
+
@Id.setter
|
|
5545
|
+
def Id(self, Id):
|
|
5546
|
+
self._Id = Id
|
|
5547
|
+
|
|
5548
|
+
@property
|
|
5549
|
+
def Name(self):
|
|
5550
|
+
"""设备组名称
|
|
5551
|
+
:rtype: str
|
|
5552
|
+
"""
|
|
5553
|
+
return self._Name
|
|
5554
|
+
|
|
5555
|
+
@Name.setter
|
|
5556
|
+
def Name(self, Name):
|
|
5557
|
+
self._Name = Name
|
|
5558
|
+
|
|
5559
|
+
@property
|
|
5560
|
+
def Description(self):
|
|
5561
|
+
"""设备组描述
|
|
5562
|
+
:rtype: str
|
|
5563
|
+
"""
|
|
5564
|
+
return self._Description
|
|
5565
|
+
|
|
5566
|
+
@Description.setter
|
|
5567
|
+
def Description(self, Description):
|
|
5568
|
+
self._Description = Description
|
|
5569
|
+
|
|
5570
|
+
@property
|
|
5571
|
+
def ParentId(self):
|
|
5572
|
+
"""父节点id
|
|
5573
|
+
:rtype: int
|
|
5574
|
+
"""
|
|
5575
|
+
return self._ParentId
|
|
5576
|
+
|
|
5577
|
+
@ParentId.setter
|
|
5578
|
+
def ParentId(self, ParentId):
|
|
5579
|
+
self._ParentId = ParentId
|
|
5580
|
+
|
|
5581
|
+
@property
|
|
5582
|
+
def IdPath(self):
|
|
5583
|
+
"""基于id的节点路径
|
|
5584
|
+
:rtype: str
|
|
5585
|
+
"""
|
|
5586
|
+
return self._IdPath
|
|
5587
|
+
|
|
5588
|
+
@IdPath.setter
|
|
5589
|
+
def IdPath(self, IdPath):
|
|
5590
|
+
self._IdPath = IdPath
|
|
5591
|
+
|
|
5592
|
+
@property
|
|
5593
|
+
def NamePath(self):
|
|
5594
|
+
"""基于名称的节点路径
|
|
5595
|
+
:rtype: str
|
|
5596
|
+
"""
|
|
5597
|
+
return self._NamePath
|
|
5598
|
+
|
|
5599
|
+
@NamePath.setter
|
|
5600
|
+
def NamePath(self, NamePath):
|
|
5601
|
+
self._NamePath = NamePath
|
|
5602
|
+
|
|
5603
|
+
@property
|
|
5604
|
+
def Locked(self):
|
|
5605
|
+
"""分组锁定状态
|
|
5606
|
+
:rtype: int
|
|
5607
|
+
"""
|
|
5608
|
+
return self._Locked
|
|
5609
|
+
|
|
5610
|
+
@Locked.setter
|
|
5611
|
+
def Locked(self, Locked):
|
|
5612
|
+
self._Locked = Locked
|
|
5613
|
+
|
|
5614
|
+
@property
|
|
5615
|
+
def OsType(self):
|
|
5616
|
+
"""系统类型(0: win,1:linux,2: mac,4:android,5:ios )
|
|
5617
|
+
:rtype: int
|
|
5618
|
+
"""
|
|
5619
|
+
return self._OsType
|
|
5620
|
+
|
|
5621
|
+
@OsType.setter
|
|
5622
|
+
def OsType(self, OsType):
|
|
5623
|
+
self._OsType = OsType
|
|
5624
|
+
|
|
5625
|
+
@property
|
|
5626
|
+
def Sort(self):
|
|
5627
|
+
"""排序
|
|
5628
|
+
:rtype: int
|
|
5629
|
+
"""
|
|
5630
|
+
return self._Sort
|
|
5631
|
+
|
|
5632
|
+
@Sort.setter
|
|
5633
|
+
def Sort(self, Sort):
|
|
5634
|
+
self._Sort = Sort
|
|
5635
|
+
|
|
5636
|
+
@property
|
|
5637
|
+
def FromAuto(self):
|
|
5638
|
+
"""是否自动调整
|
|
5639
|
+
:rtype: int
|
|
5640
|
+
"""
|
|
5641
|
+
return self._FromAuto
|
|
5642
|
+
|
|
5643
|
+
@FromAuto.setter
|
|
5644
|
+
def FromAuto(self, FromAuto):
|
|
5645
|
+
self._FromAuto = FromAuto
|
|
5646
|
+
|
|
5647
|
+
@property
|
|
5648
|
+
def Count(self):
|
|
5649
|
+
"""子节点数量
|
|
5650
|
+
:rtype: int
|
|
5651
|
+
"""
|
|
5652
|
+
return self._Count
|
|
5653
|
+
|
|
5654
|
+
@Count.setter
|
|
5655
|
+
def Count(self, Count):
|
|
5656
|
+
self._Count = Count
|
|
5657
|
+
|
|
5658
|
+
@property
|
|
5659
|
+
def Icon(self):
|
|
5660
|
+
"""图标
|
|
5661
|
+
:rtype: str
|
|
5662
|
+
"""
|
|
5663
|
+
return self._Icon
|
|
5664
|
+
|
|
5665
|
+
@Icon.setter
|
|
5666
|
+
def Icon(self, Icon):
|
|
5667
|
+
self._Icon = Icon
|
|
5668
|
+
|
|
5669
|
+
@property
|
|
5670
|
+
def WithIp(self):
|
|
5671
|
+
"""是否有ip
|
|
5672
|
+
:rtype: int
|
|
5673
|
+
"""
|
|
5674
|
+
return self._WithIp
|
|
5675
|
+
|
|
5676
|
+
@WithIp.setter
|
|
5677
|
+
def WithIp(self, WithIp):
|
|
5678
|
+
self._WithIp = WithIp
|
|
5679
|
+
|
|
5680
|
+
@property
|
|
5681
|
+
def HasIp(self):
|
|
5682
|
+
"""是否有组ip
|
|
5683
|
+
:rtype: bool
|
|
5684
|
+
"""
|
|
5685
|
+
return self._HasIp
|
|
5686
|
+
|
|
5687
|
+
@HasIp.setter
|
|
5688
|
+
def HasIp(self, HasIp):
|
|
5689
|
+
self._HasIp = HasIp
|
|
5690
|
+
|
|
5691
|
+
@property
|
|
5692
|
+
def IsLeaf(self):
|
|
5693
|
+
"""是否是叶子节点
|
|
5694
|
+
:rtype: bool
|
|
5695
|
+
"""
|
|
5696
|
+
return self._IsLeaf
|
|
5697
|
+
|
|
5698
|
+
@IsLeaf.setter
|
|
5699
|
+
def IsLeaf(self, IsLeaf):
|
|
5700
|
+
self._IsLeaf = IsLeaf
|
|
5701
|
+
|
|
5702
|
+
@property
|
|
5703
|
+
def ReadOnly(self):
|
|
5704
|
+
"""是否只读
|
|
5705
|
+
:rtype: bool
|
|
5706
|
+
"""
|
|
5707
|
+
return self._ReadOnly
|
|
5708
|
+
|
|
5709
|
+
@ReadOnly.setter
|
|
5710
|
+
def ReadOnly(self, ReadOnly):
|
|
5711
|
+
self._ReadOnly = ReadOnly
|
|
5712
|
+
|
|
5713
|
+
@property
|
|
5714
|
+
def BindAccount(self):
|
|
5715
|
+
"""对应绑定的账号id
|
|
5716
|
+
:rtype: int
|
|
5717
|
+
"""
|
|
5718
|
+
return self._BindAccount
|
|
5719
|
+
|
|
5720
|
+
@BindAccount.setter
|
|
5721
|
+
def BindAccount(self, BindAccount):
|
|
5722
|
+
self._BindAccount = BindAccount
|
|
5723
|
+
|
|
5724
|
+
@property
|
|
5725
|
+
def BindAccountName(self):
|
|
5726
|
+
"""绑定账号的用户名
|
|
5727
|
+
:rtype: str
|
|
5728
|
+
"""
|
|
5729
|
+
return self._BindAccountName
|
|
5730
|
+
|
|
5731
|
+
@BindAccountName.setter
|
|
5732
|
+
def BindAccountName(self, BindAccountName):
|
|
5733
|
+
self._BindAccountName = BindAccountName
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
def _deserialize(self, params):
|
|
5737
|
+
self._Id = params.get("Id")
|
|
5738
|
+
self._Name = params.get("Name")
|
|
5739
|
+
self._Description = params.get("Description")
|
|
5740
|
+
self._ParentId = params.get("ParentId")
|
|
5741
|
+
self._IdPath = params.get("IdPath")
|
|
5742
|
+
self._NamePath = params.get("NamePath")
|
|
5743
|
+
self._Locked = params.get("Locked")
|
|
5744
|
+
self._OsType = params.get("OsType")
|
|
5745
|
+
self._Sort = params.get("Sort")
|
|
5746
|
+
self._FromAuto = params.get("FromAuto")
|
|
5747
|
+
self._Count = params.get("Count")
|
|
5748
|
+
self._Icon = params.get("Icon")
|
|
5749
|
+
self._WithIp = params.get("WithIp")
|
|
5750
|
+
self._HasIp = params.get("HasIp")
|
|
5751
|
+
self._IsLeaf = params.get("IsLeaf")
|
|
5752
|
+
self._ReadOnly = params.get("ReadOnly")
|
|
5753
|
+
self._BindAccount = params.get("BindAccount")
|
|
5754
|
+
self._BindAccountName = params.get("BindAccountName")
|
|
5755
|
+
memeber_set = set(params.keys())
|
|
5756
|
+
for name, value in vars(self).items():
|
|
5757
|
+
property_name = name[1:]
|
|
5758
|
+
if property_name in memeber_set:
|
|
5759
|
+
memeber_set.remove(property_name)
|
|
5760
|
+
if len(memeber_set) > 0:
|
|
5761
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5762
|
+
|
|
5763
|
+
|
|
5764
|
+
|
|
4820
5765
|
class DeviceNetworkInfo(AbstractModel):
|
|
4821
5766
|
"""分页的具体数据对象
|
|
4822
5767
|
|
|
@@ -5789,23 +6734,34 @@ class ModifyVirtualDeviceGroupsRequest(AbstractModel):
|
|
|
5789
6734
|
|
|
5790
6735
|
def __init__(self):
|
|
5791
6736
|
r"""
|
|
6737
|
+
:param _DeviceList: 必填,操作的设备列表数据
|
|
6738
|
+
:type DeviceList: list of ModifyVirtualDeviceGroupsReqItem
|
|
5792
6739
|
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
5793
6740
|
:type DomainInstanceId: str
|
|
5794
6741
|
:param _DeviceVirtualGroupId: 添加到的终端自定义分组id。和DeviceVirtualGroupIds互斥,必填其一,优先使用本参数
|
|
5795
6742
|
:type DeviceVirtualGroupId: int
|
|
5796
|
-
:param _DeviceList: 必填,操作的设备列表数据
|
|
5797
|
-
:type DeviceList: list of ModifyVirtualDeviceGroupsReqItem
|
|
5798
6743
|
:param _DeviceVirtualGroupIds: 要添加的终端自定义分组id列表
|
|
5799
6744
|
:type DeviceVirtualGroupIds: list of int
|
|
5800
|
-
:param _OsType:
|
|
6745
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
|
|
5801
6746
|
:type OsType: int
|
|
5802
6747
|
"""
|
|
6748
|
+
self._DeviceList = None
|
|
5803
6749
|
self._DomainInstanceId = None
|
|
5804
6750
|
self._DeviceVirtualGroupId = None
|
|
5805
|
-
self._DeviceList = None
|
|
5806
6751
|
self._DeviceVirtualGroupIds = None
|
|
5807
6752
|
self._OsType = None
|
|
5808
6753
|
|
|
6754
|
+
@property
|
|
6755
|
+
def DeviceList(self):
|
|
6756
|
+
"""必填,操作的设备列表数据
|
|
6757
|
+
:rtype: list of ModifyVirtualDeviceGroupsReqItem
|
|
6758
|
+
"""
|
|
6759
|
+
return self._DeviceList
|
|
6760
|
+
|
|
6761
|
+
@DeviceList.setter
|
|
6762
|
+
def DeviceList(self, DeviceList):
|
|
6763
|
+
self._DeviceList = DeviceList
|
|
6764
|
+
|
|
5809
6765
|
@property
|
|
5810
6766
|
def DomainInstanceId(self):
|
|
5811
6767
|
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
@@ -5828,17 +6784,6 @@ class ModifyVirtualDeviceGroupsRequest(AbstractModel):
|
|
|
5828
6784
|
def DeviceVirtualGroupId(self, DeviceVirtualGroupId):
|
|
5829
6785
|
self._DeviceVirtualGroupId = DeviceVirtualGroupId
|
|
5830
6786
|
|
|
5831
|
-
@property
|
|
5832
|
-
def DeviceList(self):
|
|
5833
|
-
"""必填,操作的设备列表数据
|
|
5834
|
-
:rtype: list of ModifyVirtualDeviceGroupsReqItem
|
|
5835
|
-
"""
|
|
5836
|
-
return self._DeviceList
|
|
5837
|
-
|
|
5838
|
-
@DeviceList.setter
|
|
5839
|
-
def DeviceList(self, DeviceList):
|
|
5840
|
-
self._DeviceList = DeviceList
|
|
5841
|
-
|
|
5842
6787
|
@property
|
|
5843
6788
|
def DeviceVirtualGroupIds(self):
|
|
5844
6789
|
"""要添加的终端自定义分组id列表
|
|
@@ -5852,7 +6797,7 @@ class ModifyVirtualDeviceGroupsRequest(AbstractModel):
|
|
|
5852
6797
|
|
|
5853
6798
|
@property
|
|
5854
6799
|
def OsType(self):
|
|
5855
|
-
"""
|
|
6800
|
+
"""系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
|
|
5856
6801
|
:rtype: int
|
|
5857
6802
|
"""
|
|
5858
6803
|
return self._OsType
|
|
@@ -5863,14 +6808,14 @@ class ModifyVirtualDeviceGroupsRequest(AbstractModel):
|
|
|
5863
6808
|
|
|
5864
6809
|
|
|
5865
6810
|
def _deserialize(self, params):
|
|
5866
|
-
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
5867
|
-
self._DeviceVirtualGroupId = params.get("DeviceVirtualGroupId")
|
|
5868
6811
|
if params.get("DeviceList") is not None:
|
|
5869
6812
|
self._DeviceList = []
|
|
5870
6813
|
for item in params.get("DeviceList"):
|
|
5871
6814
|
obj = ModifyVirtualDeviceGroupsReqItem()
|
|
5872
6815
|
obj._deserialize(item)
|
|
5873
6816
|
self._DeviceList.append(obj)
|
|
6817
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
6818
|
+
self._DeviceVirtualGroupId = params.get("DeviceVirtualGroupId")
|
|
5874
6819
|
self._DeviceVirtualGroupIds = params.get("DeviceVirtualGroupIds")
|
|
5875
6820
|
self._OsType = params.get("OsType")
|
|
5876
6821
|
memeber_set = set(params.keys())
|