tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1478__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1477'
17
+ __version__ = '3.0.1478'
@@ -1333,10 +1333,13 @@ class BindNumberCallInInterfaceRequest(AbstractModel):
1333
1333
  :type Number: str
1334
1334
  :param _CallInInterface: 待绑定的回调地址
1335
1335
  :type CallInInterface: :class:`tencentcloud.ccc.v20200210.models.Interface`
1336
+ :param _NumberType: 绑定号码类型: inner: 内线号码 | number: 正常线路号码
1337
+ :type NumberType: str
1336
1338
  """
1337
1339
  self._SdkAppId = None
1338
1340
  self._Number = None
1339
1341
  self._CallInInterface = None
1342
+ self._NumberType = None
1340
1343
 
1341
1344
  @property
1342
1345
  def SdkAppId(self):
@@ -1371,6 +1374,17 @@ class BindNumberCallInInterfaceRequest(AbstractModel):
1371
1374
  def CallInInterface(self, CallInInterface):
1372
1375
  self._CallInInterface = CallInInterface
1373
1376
 
1377
+ @property
1378
+ def NumberType(self):
1379
+ r"""绑定号码类型: inner: 内线号码 | number: 正常线路号码
1380
+ :rtype: str
1381
+ """
1382
+ return self._NumberType
1383
+
1384
+ @NumberType.setter
1385
+ def NumberType(self, NumberType):
1386
+ self._NumberType = NumberType
1387
+
1374
1388
 
1375
1389
  def _deserialize(self, params):
1376
1390
  self._SdkAppId = params.get("SdkAppId")
@@ -1378,6 +1392,7 @@ class BindNumberCallInInterfaceRequest(AbstractModel):
1378
1392
  if params.get("CallInInterface") is not None:
1379
1393
  self._CallInInterface = Interface()
1380
1394
  self._CallInInterface._deserialize(params.get("CallInInterface"))
1395
+ self._NumberType = params.get("NumberType")
1381
1396
  memeber_set = set(params.keys())
1382
1397
  for name, value in vars(self).items():
1383
1398
  property_name = name[1:]
@@ -2054,6 +2054,29 @@ class CdbClient(AbstractClient):
2054
2054
  raise TencentCloudSDKException(type(e).__name__, str(e))
2055
2055
 
2056
2056
 
2057
+ def DescribeInstancePasswordComplexity(self, request):
2058
+ r"""该接口(DescribeInstancePasswordComplexity)用于查询实例的密码复杂度参数列表。
2059
+
2060
+ :param request: Request instance for DescribeInstancePasswordComplexity.
2061
+ :type request: :class:`tencentcloud.cdb.v20170320.models.DescribeInstancePasswordComplexityRequest`
2062
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeInstancePasswordComplexityResponse`
2063
+
2064
+ """
2065
+ try:
2066
+ params = request._serialize()
2067
+ headers = request.headers
2068
+ body = self.call("DescribeInstancePasswordComplexity", params, headers=headers)
2069
+ response = json.loads(body)
2070
+ model = models.DescribeInstancePasswordComplexityResponse()
2071
+ model._deserialize(response["Response"])
2072
+ return model
2073
+ except Exception as e:
2074
+ if isinstance(e, TencentCloudSDKException):
2075
+ raise
2076
+ else:
2077
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2078
+
2079
+
2057
2080
  def DescribeInstanceUpgradeCheckJob(self, request):
2058
2081
  r"""该接口(DescribeInstanceUpgradeCheckJob)查询实例版本升级校验任务。
2059
2082
 
@@ -19634,6 +19634,105 @@ class DescribeInstanceParamsResponse(AbstractModel):
19634
19634
  self._RequestId = params.get("RequestId")
19635
19635
 
19636
19636
 
19637
+ class DescribeInstancePasswordComplexityRequest(AbstractModel):
19638
+ r"""DescribeInstancePasswordComplexity请求参数结构体
19639
+
19640
+ """
19641
+
19642
+ def __init__(self):
19643
+ r"""
19644
+ :param _InstanceId: 实例ID
19645
+ :type InstanceId: str
19646
+ """
19647
+ self._InstanceId = None
19648
+
19649
+ @property
19650
+ def InstanceId(self):
19651
+ r"""实例ID
19652
+ :rtype: str
19653
+ """
19654
+ return self._InstanceId
19655
+
19656
+ @InstanceId.setter
19657
+ def InstanceId(self, InstanceId):
19658
+ self._InstanceId = InstanceId
19659
+
19660
+
19661
+ def _deserialize(self, params):
19662
+ self._InstanceId = params.get("InstanceId")
19663
+ memeber_set = set(params.keys())
19664
+ for name, value in vars(self).items():
19665
+ property_name = name[1:]
19666
+ if property_name in memeber_set:
19667
+ memeber_set.remove(property_name)
19668
+ if len(memeber_set) > 0:
19669
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19670
+
19671
+
19672
+
19673
+ class DescribeInstancePasswordComplexityResponse(AbstractModel):
19674
+ r"""DescribeInstancePasswordComplexity返回参数结构体
19675
+
19676
+ """
19677
+
19678
+ def __init__(self):
19679
+ r"""
19680
+ :param _TotalCount: 实例的参数总数
19681
+ :type TotalCount: int
19682
+ :param _Items: 参数详情
19683
+ :type Items: list of ParameterDetail
19684
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19685
+ :type RequestId: str
19686
+ """
19687
+ self._TotalCount = None
19688
+ self._Items = None
19689
+ self._RequestId = None
19690
+
19691
+ @property
19692
+ def TotalCount(self):
19693
+ r"""实例的参数总数
19694
+ :rtype: int
19695
+ """
19696
+ return self._TotalCount
19697
+
19698
+ @TotalCount.setter
19699
+ def TotalCount(self, TotalCount):
19700
+ self._TotalCount = TotalCount
19701
+
19702
+ @property
19703
+ def Items(self):
19704
+ r"""参数详情
19705
+ :rtype: list of ParameterDetail
19706
+ """
19707
+ return self._Items
19708
+
19709
+ @Items.setter
19710
+ def Items(self, Items):
19711
+ self._Items = Items
19712
+
19713
+ @property
19714
+ def RequestId(self):
19715
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19716
+ :rtype: str
19717
+ """
19718
+ return self._RequestId
19719
+
19720
+ @RequestId.setter
19721
+ def RequestId(self, RequestId):
19722
+ self._RequestId = RequestId
19723
+
19724
+
19725
+ def _deserialize(self, params):
19726
+ self._TotalCount = params.get("TotalCount")
19727
+ if params.get("Items") is not None:
19728
+ self._Items = []
19729
+ for item in params.get("Items"):
19730
+ obj = ParameterDetail()
19731
+ obj._deserialize(item)
19732
+ self._Items.append(obj)
19733
+ self._RequestId = params.get("RequestId")
19734
+
19735
+
19637
19736
  class DescribeInstanceUpgradeCheckJobRequest(AbstractModel):
19638
19737
  r"""DescribeInstanceUpgradeCheckJob请求参数结构体
19639
19738
 
@@ -19088,21 +19088,21 @@ class SlowLogAgg(AbstractModel):
19088
19088
 
19089
19089
  def __init__(self):
19090
19090
  r"""
19091
- :param _Cmd: 命令模版。
19091
+ :param _Cmd: 命令模板。
19092
19092
  :type Cmd: str
19093
19093
  :param _Detail: 命令详情。
19094
19094
  :type Detail: str
19095
19095
  :param _ExecTimes: 执行次数。
19096
19096
  :type ExecTimes: int
19097
- :param _QueryTime: 总耗时。
19097
+ :param _QueryTime: 总耗时。单位:s
19098
19098
  :type QueryTime: float
19099
- :param _QueryTimeAvg: 平均执行时间。
19099
+ :param _QueryTimeAvg: 平均执行时间。单位:s
19100
19100
  :type QueryTimeAvg: float
19101
- :param _QueryTimeMax: 最大执行时间。
19101
+ :param _QueryTimeMax: 最大执行时间。单位:s
19102
19102
  :type QueryTimeMax: float
19103
- :param _QueryTimeMin: 最小执行时间。
19103
+ :param _QueryTimeMin: 最小执行时间。单位:s
19104
19104
  :type QueryTimeMin: float
19105
- :param _QueryTimeRatio: 总耗时占比
19105
+ :param _QueryTimeRatio: 总耗时占比。单位:%
19106
19106
  :type QueryTimeRatio: float
19107
19107
  """
19108
19108
  self._Cmd = None
@@ -19116,7 +19116,7 @@ class SlowLogAgg(AbstractModel):
19116
19116
 
19117
19117
  @property
19118
19118
  def Cmd(self):
19119
- r"""命令模版。
19119
+ r"""命令模板。
19120
19120
  :rtype: str
19121
19121
  """
19122
19122
  return self._Cmd
@@ -19149,7 +19149,7 @@ class SlowLogAgg(AbstractModel):
19149
19149
 
19150
19150
  @property
19151
19151
  def QueryTime(self):
19152
- r"""总耗时。
19152
+ r"""总耗时。单位:s
19153
19153
  :rtype: float
19154
19154
  """
19155
19155
  return self._QueryTime
@@ -19160,7 +19160,7 @@ class SlowLogAgg(AbstractModel):
19160
19160
 
19161
19161
  @property
19162
19162
  def QueryTimeAvg(self):
19163
- r"""平均执行时间。
19163
+ r"""平均执行时间。单位:s
19164
19164
  :rtype: float
19165
19165
  """
19166
19166
  return self._QueryTimeAvg
@@ -19171,7 +19171,7 @@ class SlowLogAgg(AbstractModel):
19171
19171
 
19172
19172
  @property
19173
19173
  def QueryTimeMax(self):
19174
- r"""最大执行时间。
19174
+ r"""最大执行时间。单位:s
19175
19175
  :rtype: float
19176
19176
  """
19177
19177
  return self._QueryTimeMax
@@ -19182,7 +19182,7 @@ class SlowLogAgg(AbstractModel):
19182
19182
 
19183
19183
  @property
19184
19184
  def QueryTimeMin(self):
19185
- r"""最小执行时间。
19185
+ r"""最小执行时间。单位:s
19186
19186
  :rtype: float
19187
19187
  """
19188
19188
  return self._QueryTimeMin
@@ -19193,7 +19193,7 @@ class SlowLogAgg(AbstractModel):
19193
19193
 
19194
19194
  @property
19195
19195
  def QueryTimeRatio(self):
19196
- r"""总耗时占比
19196
+ r"""总耗时占比。单位:%
19197
19197
  :rtype: float
19198
19198
  """
19199
19199
  return self._QueryTimeRatio
@@ -2856,10 +2856,10 @@ class EssbasicClient(AbstractClient):
2856
2856
 
2857
2857
 
2858
2858
  def DescribeUserFlowType(self, request):
2859
- r"""查询用户模版类型,分为两种模式:
2859
+ r"""查询用户模板类型,分为两种模式:
2860
2860
  <ul>
2861
- <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
2862
- <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
2861
+ <li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息</li>
2862
+ <li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息,被绑定的模板数量</li>
2863
2863
  </ul>
2864
2864
 
2865
2865
  :param request: Request instance for DescribeUserFlowType.
@@ -21135,13 +21135,9 @@ class DescribeUserFlowTypeRequest(AbstractModel):
21135
21135
  r"""
21136
21136
  :param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 此接口下面信息必填。 <ul> <li>渠道应用标识: Agent.AppId</li> <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li> <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li> </ul> 第三方平台子客企业和员工必须已经经过实名认证
21137
21137
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
21138
- :param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
21138
+ :param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模板类型id列表。</li></ul>
21139
21139
  :type Filters: list of Filter
21140
- :param _QueryBindTemplate: 查询绑定了模版的用户合同类型
21141
- <ul>
21142
- <li>false(默认值),查询用户合同类型</li>
21143
- <li>true,查询绑定了模版的用户合同类型</li>
21144
- </ul>
21140
+ :param _QueryBindTemplate: 查询绑定了模板的用户合同类型<ul><li>false(默认值),查询用户合同类型</li><li>true,查询绑定了模板的用户合同类型</li></ul>
21145
21141
  :type QueryBindTemplate: bool
21146
21142
  """
21147
21143
  self._Agent = None
@@ -21161,7 +21157,7 @@ class DescribeUserFlowTypeRequest(AbstractModel):
21161
21157
 
21162
21158
  @property
21163
21159
  def Filters(self):
21164
- r"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
21160
+ r"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模板类型id列表。</li></ul>
21165
21161
  :rtype: list of Filter
21166
21162
  """
21167
21163
  return self._Filters
@@ -21172,11 +21168,7 @@ class DescribeUserFlowTypeRequest(AbstractModel):
21172
21168
 
21173
21169
  @property
21174
21170
  def QueryBindTemplate(self):
21175
- r"""查询绑定了模版的用户合同类型
21176
- <ul>
21177
- <li>false(默认值),查询用户合同类型</li>
21178
- <li>true,查询绑定了模版的用户合同类型</li>
21179
- </ul>
21171
+ r"""查询绑定了模板的用户合同类型<ul><li>false(默认值),查询用户合同类型</li><li>true,查询绑定了模板的用户合同类型</li></ul>
21180
21172
  :rtype: bool
21181
21173
  """
21182
21174
  return self._QueryBindTemplate
@@ -18319,7 +18319,7 @@ class RuleInfo(AbstractModel):
18319
18319
  :param _RealServerSet: 已绑定的源站相关信息
18320
18320
  :type RealServerSet: list of BindRealServer
18321
18321
  :param _BindStatus: 源站的服务状态,0表示异常,1表示正常。
18322
- 未开启健康检查时,该状态始终未正常。
18322
+ 未开启健康检查时,该状态始终为正常。
18323
18323
  只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
18324
18324
  :type BindStatus: int
18325
18325
  :param _ForwardHost: 通道转发到源站的请求所携带的host,其中default表示直接转发接收到的host。
@@ -18333,6 +18333,8 @@ class RuleInfo(AbstractModel):
18333
18333
  :param _ForcedRedirect: 强转HTTPS指示,当传递值为https:时表示强转为https
18334
18334
  注意:此字段可能返回 null,表示取不到有效值。
18335
18335
  :type ForcedRedirect: str
18336
+ :param _ForwardProtocol: 七层转发规则的回源协议类型
18337
+ :type ForwardProtocol: str
18336
18338
  """
18337
18339
  self._RuleId = None
18338
18340
  self._ListenerId = None
@@ -18349,6 +18351,7 @@ class RuleInfo(AbstractModel):
18349
18351
  self._ServerNameIndicationSwitch = None
18350
18352
  self._ServerNameIndication = None
18351
18353
  self._ForcedRedirect = None
18354
+ self._ForwardProtocol = None
18352
18355
 
18353
18356
  @property
18354
18357
  def RuleId(self):
@@ -18463,7 +18466,7 @@ class RuleInfo(AbstractModel):
18463
18466
  @property
18464
18467
  def BindStatus(self):
18465
18468
  r"""源站的服务状态,0表示异常,1表示正常。
18466
- 未开启健康检查时,该状态始终未正常。
18469
+ 未开启健康检查时,该状态始终为正常。
18467
18470
  只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
18468
18471
  :rtype: int
18469
18472
  """
@@ -18520,6 +18523,17 @@ class RuleInfo(AbstractModel):
18520
18523
  def ForcedRedirect(self, ForcedRedirect):
18521
18524
  self._ForcedRedirect = ForcedRedirect
18522
18525
 
18526
+ @property
18527
+ def ForwardProtocol(self):
18528
+ r"""七层转发规则的回源协议类型
18529
+ :rtype: str
18530
+ """
18531
+ return self._ForwardProtocol
18532
+
18533
+ @ForwardProtocol.setter
18534
+ def ForwardProtocol(self, ForwardProtocol):
18535
+ self._ForwardProtocol = ForwardProtocol
18536
+
18523
18537
 
18524
18538
  def _deserialize(self, params):
18525
18539
  self._RuleId = params.get("RuleId")
@@ -18544,6 +18558,7 @@ class RuleInfo(AbstractModel):
18544
18558
  self._ServerNameIndicationSwitch = params.get("ServerNameIndicationSwitch")
18545
18559
  self._ServerNameIndication = params.get("ServerNameIndication")
18546
18560
  self._ForcedRedirect = params.get("ForcedRedirect")
18561
+ self._ForwardProtocol = params.get("ForwardProtocol")
18547
18562
  memeber_set = set(params.keys())
18548
18563
  for name, value in vars(self).items():
18549
18564
  property_name = name[1:]
@@ -59,6 +59,9 @@ INVALIDPARAMETERVALUE_VIRTUALDEVICEGROUPNOTFOUND = 'InvalidParameterValue.Virtua
59
59
  # 缺少公共参数。
60
60
  MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'
61
61
 
62
+ # 终端导出任务同一时间仅允许一个,请稍后再试。
63
+ REQUESTLIMITEXCEEDED_DEVICEDOWNLOADTASK = 'RequestLimitExceeded.DeviceDownloadTask'
64
+
62
65
  # 上次操作还未完成,请稍后重试。
63
66
  REQUESTLIMITEXCEEDED_WAITFORTHELASTOPERATIONTOCOMPLETE = 'RequestLimitExceeded.WaitForTheLastOperationToComplete'
64
67
 
@@ -578,6 +578,29 @@ class IoaClient(AbstractClient):
578
578
  raise TencentCloudSDKException(type(e).__name__, str(e))
579
579
 
580
580
 
581
+ def ExportDeviceDownloadTask(self, request):
582
+ r"""创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
583
+
584
+ :param request: Request instance for ExportDeviceDownloadTask.
585
+ :type request: :class:`tencentcloud.ioa.v20220601.models.ExportDeviceDownloadTaskRequest`
586
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.ExportDeviceDownloadTaskResponse`
587
+
588
+ """
589
+ try:
590
+ params = request._serialize()
591
+ headers = request.headers
592
+ body = self.call("ExportDeviceDownloadTask", params, headers=headers)
593
+ response = json.loads(body)
594
+ model = models.ExportDeviceDownloadTaskResponse()
595
+ model._deserialize(response["Response"])
596
+ return model
597
+ except Exception as e:
598
+ if isinstance(e, TencentCloudSDKException):
599
+ raise
600
+ else:
601
+ raise TencentCloudSDKException(type(e).__name__, str(e))
602
+
603
+
581
604
  def ExportSoftwareInformationList(self, request):
582
605
  r"""导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList
583
606
 
@@ -7939,6 +7939,57 @@ class DeviceDetail(AbstractModel):
7939
7939
 
7940
7940
 
7941
7941
 
7942
+ class DeviceDownloadTask(AbstractModel):
7943
+ r"""业务响应数据
7944
+
7945
+ """
7946
+
7947
+ def __init__(self):
7948
+ r"""
7949
+ :param _DownloadURL: 同步数据下载的url
7950
+ :type DownloadURL: str
7951
+ :param _TaskId: 异步任务id,需要根据id去任务中心下载
7952
+ :type TaskId: int
7953
+ """
7954
+ self._DownloadURL = None
7955
+ self._TaskId = None
7956
+
7957
+ @property
7958
+ def DownloadURL(self):
7959
+ r"""同步数据下载的url
7960
+ :rtype: str
7961
+ """
7962
+ return self._DownloadURL
7963
+
7964
+ @DownloadURL.setter
7965
+ def DownloadURL(self, DownloadURL):
7966
+ self._DownloadURL = DownloadURL
7967
+
7968
+ @property
7969
+ def TaskId(self):
7970
+ r"""异步任务id,需要根据id去任务中心下载
7971
+ :rtype: int
7972
+ """
7973
+ return self._TaskId
7974
+
7975
+ @TaskId.setter
7976
+ def TaskId(self, TaskId):
7977
+ self._TaskId = TaskId
7978
+
7979
+
7980
+ def _deserialize(self, params):
7981
+ self._DownloadURL = params.get("DownloadURL")
7982
+ self._TaskId = params.get("TaskId")
7983
+ memeber_set = set(params.keys())
7984
+ for name, value in vars(self).items():
7985
+ property_name = name[1:]
7986
+ if property_name in memeber_set:
7987
+ memeber_set.remove(property_name)
7988
+ if len(memeber_set) > 0:
7989
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7990
+
7991
+
7992
+
7942
7993
  class DeviceGroupDetail(AbstractModel):
7943
7994
  r"""返回的数组列表
7944
7995
 
@@ -8761,6 +8812,179 @@ class DeviceVirtualDeviceGroupsDetail(AbstractModel):
8761
8812
 
8762
8813
 
8763
8814
 
8815
+ class ExportDeviceDownloadTaskRequest(AbstractModel):
8816
+ r"""ExportDeviceDownloadTask请求参数结构体
8817
+
8818
+ """
8819
+
8820
+ def __init__(self):
8821
+ r"""
8822
+ :param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
8823
+ :type OsType: int
8824
+ :param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
8825
+ :type DomainInstanceId: str
8826
+ :param _GroupId: 分组id
8827
+ :type GroupId: int
8828
+ :param _OnlineStatus: 在线状态 2 在线 0,1 离线
8829
+ :type OnlineStatus: int
8830
+ :param _ExportOrder: 导出顺序,接口返回的数据字段
8831
+ :type ExportOrder: str
8832
+ :param _ExportType: 导出类型, 0:终端树;7:硬件信息列表导出;
8833
+ :type ExportType: int
8834
+ :param _Condition: 过滤条件。同DescribeDevices接口
8835
+ :type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
8836
+ """
8837
+ self._OsType = None
8838
+ self._DomainInstanceId = None
8839
+ self._GroupId = None
8840
+ self._OnlineStatus = None
8841
+ self._ExportOrder = None
8842
+ self._ExportType = None
8843
+ self._Condition = None
8844
+
8845
+ @property
8846
+ def OsType(self):
8847
+ r"""系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
8848
+ :rtype: int
8849
+ """
8850
+ return self._OsType
8851
+
8852
+ @OsType.setter
8853
+ def OsType(self, OsType):
8854
+ self._OsType = OsType
8855
+
8856
+ @property
8857
+ def DomainInstanceId(self):
8858
+ r"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
8859
+ :rtype: str
8860
+ """
8861
+ return self._DomainInstanceId
8862
+
8863
+ @DomainInstanceId.setter
8864
+ def DomainInstanceId(self, DomainInstanceId):
8865
+ self._DomainInstanceId = DomainInstanceId
8866
+
8867
+ @property
8868
+ def GroupId(self):
8869
+ r"""分组id
8870
+ :rtype: int
8871
+ """
8872
+ return self._GroupId
8873
+
8874
+ @GroupId.setter
8875
+ def GroupId(self, GroupId):
8876
+ self._GroupId = GroupId
8877
+
8878
+ @property
8879
+ def OnlineStatus(self):
8880
+ r""" 在线状态 2 在线 0,1 离线
8881
+ :rtype: int
8882
+ """
8883
+ return self._OnlineStatus
8884
+
8885
+ @OnlineStatus.setter
8886
+ def OnlineStatus(self, OnlineStatus):
8887
+ self._OnlineStatus = OnlineStatus
8888
+
8889
+ @property
8890
+ def ExportOrder(self):
8891
+ r"""导出顺序,接口返回的数据字段
8892
+ :rtype: str
8893
+ """
8894
+ return self._ExportOrder
8895
+
8896
+ @ExportOrder.setter
8897
+ def ExportOrder(self, ExportOrder):
8898
+ self._ExportOrder = ExportOrder
8899
+
8900
+ @property
8901
+ def ExportType(self):
8902
+ r""" 导出类型, 0:终端树;7:硬件信息列表导出;
8903
+ :rtype: int
8904
+ """
8905
+ return self._ExportType
8906
+
8907
+ @ExportType.setter
8908
+ def ExportType(self, ExportType):
8909
+ self._ExportType = ExportType
8910
+
8911
+ @property
8912
+ def Condition(self):
8913
+ r"""过滤条件。同DescribeDevices接口
8914
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
8915
+ """
8916
+ return self._Condition
8917
+
8918
+ @Condition.setter
8919
+ def Condition(self, Condition):
8920
+ self._Condition = Condition
8921
+
8922
+
8923
+ def _deserialize(self, params):
8924
+ self._OsType = params.get("OsType")
8925
+ self._DomainInstanceId = params.get("DomainInstanceId")
8926
+ self._GroupId = params.get("GroupId")
8927
+ self._OnlineStatus = params.get("OnlineStatus")
8928
+ self._ExportOrder = params.get("ExportOrder")
8929
+ self._ExportType = params.get("ExportType")
8930
+ if params.get("Condition") is not None:
8931
+ self._Condition = Condition()
8932
+ self._Condition._deserialize(params.get("Condition"))
8933
+ memeber_set = set(params.keys())
8934
+ for name, value in vars(self).items():
8935
+ property_name = name[1:]
8936
+ if property_name in memeber_set:
8937
+ memeber_set.remove(property_name)
8938
+ if len(memeber_set) > 0:
8939
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8940
+
8941
+
8942
+
8943
+ class ExportDeviceDownloadTaskResponse(AbstractModel):
8944
+ r"""ExportDeviceDownloadTask返回参数结构体
8945
+
8946
+ """
8947
+
8948
+ def __init__(self):
8949
+ r"""
8950
+ :param _Data: 业务响应数据
8951
+ :type Data: :class:`tencentcloud.ioa.v20220601.models.DeviceDownloadTask`
8952
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8953
+ :type RequestId: str
8954
+ """
8955
+ self._Data = None
8956
+ self._RequestId = None
8957
+
8958
+ @property
8959
+ def Data(self):
8960
+ r"""业务响应数据
8961
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DeviceDownloadTask`
8962
+ """
8963
+ return self._Data
8964
+
8965
+ @Data.setter
8966
+ def Data(self, Data):
8967
+ self._Data = Data
8968
+
8969
+ @property
8970
+ def RequestId(self):
8971
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8972
+ :rtype: str
8973
+ """
8974
+ return self._RequestId
8975
+
8976
+ @RequestId.setter
8977
+ def RequestId(self, RequestId):
8978
+ self._RequestId = RequestId
8979
+
8980
+
8981
+ def _deserialize(self, params):
8982
+ if params.get("Data") is not None:
8983
+ self._Data = DeviceDownloadTask()
8984
+ self._Data._deserialize(params.get("Data"))
8985
+ self._RequestId = params.get("RequestId")
8986
+
8987
+
8764
8988
  class ExportSoftwareDownloadUrlRspData(AbstractModel):
8765
8989
  r"""业务响应数据
8766
8990