tencentcloud-sdk-ioa 3.0.850 → 3.0.851

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04df09c75b633120a92c0c99d943542c7b7b9858
4
- data.tar.gz: 99a966b6a1a989ea5b3a011c7df0f545c5f4f5eb
3
+ metadata.gz: aa1decd660e0ec4053819dac05d030b80e14173f
4
+ data.tar.gz: d42c61c25b61b5d04d7d51a776ff8ed6240a9b65
5
5
  SHA512:
6
- metadata.gz: d537026f0a0025be9e4394a8bd943aa59fabdc7c9b9ebc3015b313323bde1719218f2f3d92f3a56ebcb1b7a982470b924268b2f5e76d1388947eeee59cfdf2ad
7
- data.tar.gz: d321691b26ba930ce954e25afcc2d4577afed751480cab9a2cb6ac45c6bb9ff31a000b6d353b6995907417498e4c4d97ca8ab87f97b312820f401682bac4ad87
6
+ metadata.gz: 431eb30a98c474314d17e765c0ea455375523ef7099300d0fb10f3d69297aa2e1d3e9a22f7b365241292da5a282274ab7bda0ff30e8dfe6b5567eecee62b686a
7
+ data.tar.gz: 4fe585b238dcb62111bbe0e4b6c204f0dab1cfeaaabd0b517faa7311b531ed5d81315252fc05918d077c896f79e88559281cdb20eeaa8533978b1d3b8dd17546
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.850
1
+ 3.0.851
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 以分页的方式查询账户目录列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
33
+
34
+ # @param request: Request instance for DescribeAccountGroups.
35
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeAccountGroupsRequest`
36
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeAccountGroupsResponse`
37
+ def DescribeAccountGroups(request)
38
+ body = send_request('DescribeAccountGroups', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = DescribeAccountGroupsResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
33
57
 
34
58
  # @param request: Request instance for DescribeDevices.
@@ -53,6 +77,54 @@ module TencentCloud
53
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
78
  end
55
79
 
80
+ # 获取账号列表,支持分页,模糊搜索,私有化调用path为:/capi/Assets/Account/DescribeLocalAccounts
81
+
82
+ # @param request: Request instance for DescribeLocalAccounts.
83
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeLocalAccountsRequest`
84
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeLocalAccountsResponse`
85
+ def DescribeLocalAccounts(request)
86
+ body = send_request('DescribeLocalAccounts', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeLocalAccountsResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 查询账户根分组详情,私有化调用path为:capi/Assets/DescribeRootAccountGroup
105
+
106
+ # @param request: Request instance for DescribeRootAccountGroup.
107
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeRootAccountGroupRequest`
108
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeRootAccountGroupResponse`
109
+ def DescribeRootAccountGroup(request)
110
+ body = send_request('DescribeRootAccountGroup', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeRootAccountGroupResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
56
128
 
57
129
  end
58
130
  end
@@ -76,6 +76,195 @@ module TencentCloud
76
76
  end
77
77
  end
78
78
 
79
+ # 账户分响应对象集合
80
+ class DescribeAccountGroupsData < TencentCloud::Common::AbstractModel
81
+ # @param Itime: 创建时间
82
+ # 注意:此字段可能返回 null,表示取不到有效值。
83
+ # @type Itime: String
84
+ # @param Name: 账户组名称
85
+ # 注意:此字段可能返回 null,表示取不到有效值。
86
+ # @type Name: String
87
+ # @param IdPathArr: id patch数组
88
+ # 注意:此字段可能返回 null,表示取不到有效值。
89
+ # @type IdPathArr: Array
90
+ # @param UserTotal: 该分组下用户总数
91
+ # 注意:此字段可能返回 null,表示取不到有效值。
92
+ # @type UserTotal: Integer
93
+ # @param ExtraInfo: 扩展信息
94
+ # 注意:此字段可能返回 null,表示取不到有效值。
95
+ # @type ExtraInfo: String
96
+ # @param ImportType: 导入类型
97
+ # 注意:此字段可能返回 null,表示取不到有效值。
98
+ # @type ImportType: String
99
+ # @param Description: 描述
100
+ # 注意:此字段可能返回 null,表示取不到有效值。
101
+ # @type Description: String
102
+ # @param Source: 同步数据源
103
+ # 注意:此字段可能返回 null,表示取不到有效值。
104
+ # @type Source: Integer
105
+ # @param MiniIamId: miniIAM id
106
+ # 注意:此字段可能返回 null,表示取不到有效值。
107
+ # @type MiniIamId: String
108
+ # @param OrgId: 组织id
109
+ # 注意:此字段可能返回 null,表示取不到有效值。
110
+ # @type OrgId: String
111
+ # @param ReadOnly: 是否该账户的直接权限
112
+ # 注意:此字段可能返回 null,表示取不到有效值。
113
+ # @type ReadOnly: Boolean
114
+ # @param ParentId: 父id
115
+ # 注意:此字段可能返回 null,表示取不到有效值。
116
+ # @type ParentId: Integer
117
+ # @param NamePath: 名称path
118
+ # 注意:此字段可能返回 null,表示取不到有效值。
119
+ # @type NamePath: String
120
+ # @param ParentOrgId: 父组织id
121
+ # 注意:此字段可能返回 null,表示取不到有效值。
122
+ # @type ParentOrgId: String
123
+ # @param IdPath: id path
124
+ # 注意:此字段可能返回 null,表示取不到有效值。
125
+ # @type IdPath: String
126
+ # @param Id: 自增id
127
+ # 注意:此字段可能返回 null,表示取不到有效值。
128
+ # @type Id: Integer
129
+ # @param IsLeaf: 是否叶子节点
130
+ # 注意:此字段可能返回 null,表示取不到有效值。
131
+ # @type IsLeaf: Boolean
132
+ # @param Utime: 最后更新时间
133
+ # 注意:此字段可能返回 null,表示取不到有效值。
134
+ # @type Utime: String
135
+
136
+ attr_accessor :Itime, :Name, :IdPathArr, :UserTotal, :ExtraInfo, :ImportType, :Description, :Source, :MiniIamId, :OrgId, :ReadOnly, :ParentId, :NamePath, :ParentOrgId, :IdPath, :Id, :IsLeaf, :Utime
137
+
138
+ def initialize(itime=nil, name=nil, idpatharr=nil, usertotal=nil, extrainfo=nil, importtype=nil, description=nil, source=nil, miniiamid=nil, orgid=nil, readonly=nil, parentid=nil, namepath=nil, parentorgid=nil, idpath=nil, id=nil, isleaf=nil, utime=nil)
139
+ @Itime = itime
140
+ @Name = name
141
+ @IdPathArr = idpatharr
142
+ @UserTotal = usertotal
143
+ @ExtraInfo = extrainfo
144
+ @ImportType = importtype
145
+ @Description = description
146
+ @Source = source
147
+ @MiniIamId = miniiamid
148
+ @OrgId = orgid
149
+ @ReadOnly = readonly
150
+ @ParentId = parentid
151
+ @NamePath = namepath
152
+ @ParentOrgId = parentorgid
153
+ @IdPath = idpath
154
+ @Id = id
155
+ @IsLeaf = isleaf
156
+ @Utime = utime
157
+ end
158
+
159
+ def deserialize(params)
160
+ @Itime = params['Itime']
161
+ @Name = params['Name']
162
+ @IdPathArr = params['IdPathArr']
163
+ @UserTotal = params['UserTotal']
164
+ @ExtraInfo = params['ExtraInfo']
165
+ @ImportType = params['ImportType']
166
+ @Description = params['Description']
167
+ @Source = params['Source']
168
+ @MiniIamId = params['MiniIamId']
169
+ @OrgId = params['OrgId']
170
+ @ReadOnly = params['ReadOnly']
171
+ @ParentId = params['ParentId']
172
+ @NamePath = params['NamePath']
173
+ @ParentOrgId = params['ParentOrgId']
174
+ @IdPath = params['IdPath']
175
+ @Id = params['Id']
176
+ @IsLeaf = params['IsLeaf']
177
+ @Utime = params['Utime']
178
+ end
179
+ end
180
+
181
+ # 账户分组详情响应数据
182
+ class DescribeAccountGroupsPageResp < TencentCloud::Common::AbstractModel
183
+ # @param Items: 账户分响应对象集合
184
+ # 注意:此字段可能返回 null,表示取不到有效值。
185
+ # @type Items: Array
186
+ # @param Page: 分页公共对象
187
+ # 注意:此字段可能返回 null,表示取不到有效值。
188
+ # @type Page: :class:`Tencentcloud::Ioa.v20220601.models.Paging`
189
+
190
+ attr_accessor :Items, :Page
191
+
192
+ def initialize(items=nil, page=nil)
193
+ @Items = items
194
+ @Page = page
195
+ end
196
+
197
+ def deserialize(params)
198
+ unless params['Items'].nil?
199
+ @Items = []
200
+ params['Items'].each do |i|
201
+ describeaccountgroupsdata_tmp = DescribeAccountGroupsData.new
202
+ describeaccountgroupsdata_tmp.deserialize(i)
203
+ @Items << describeaccountgroupsdata_tmp
204
+ end
205
+ end
206
+ unless params['Page'].nil?
207
+ @Page = Paging.new
208
+ @Page.deserialize(params['Page'])
209
+ end
210
+ end
211
+ end
212
+
213
+ # DescribeAccountGroups请求参数结构体
214
+ class DescribeAccountGroupsRequest < TencentCloud::Common::AbstractModel
215
+ # @param Deepin: 搜索范围,0-仅搜直接子组,1-深层搜索(只支持32位)
216
+ # @type Deepin: Integer
217
+ # @param Condition: 滤条件、分页参数
218
+ # <li>Name - String - 是否必填:否 - 操作符: like - 排序支持:否- 按账号分组过滤。</li>
219
+ # 排序条件
220
+ # <li>Itime - string - 是否必填:否 - 排序支持:是 - 按账号分组创建时间排序。</li>
221
+ # <li>Utime - string - 是否必填:否 - 排序支持:是 - 按账号分组更新时间排序。</li>
222
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
223
+ # @param ParentId: 父分组id
224
+ # @type ParentId: Integer
225
+
226
+ attr_accessor :Deepin, :Condition, :ParentId
227
+
228
+ def initialize(deepin=nil, condition=nil, parentid=nil)
229
+ @Deepin = deepin
230
+ @Condition = condition
231
+ @ParentId = parentid
232
+ end
233
+
234
+ def deserialize(params)
235
+ @Deepin = params['Deepin']
236
+ unless params['Condition'].nil?
237
+ @Condition = Condition.new
238
+ @Condition.deserialize(params['Condition'])
239
+ end
240
+ @ParentId = params['ParentId']
241
+ end
242
+ end
243
+
244
+ # DescribeAccountGroups返回参数结构体
245
+ class DescribeAccountGroupsResponse < TencentCloud::Common::AbstractModel
246
+ # @param Data: 账户分组详情响应数据
247
+ # 注意:此字段可能返回 null,表示取不到有效值。
248
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeAccountGroupsPageResp`
249
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
250
+ # @type RequestId: String
251
+
252
+ attr_accessor :Data, :RequestId
253
+
254
+ def initialize(data=nil, requestid=nil)
255
+ @Data = data
256
+ @RequestId = requestid
257
+ end
258
+
259
+ def deserialize(params)
260
+ unless params['Data'].nil?
261
+ @Data = DescribeAccountGroupsPageResp.new
262
+ @Data.deserialize(params['Data'])
263
+ end
264
+ @RequestId = params['RequestId']
265
+ end
266
+ end
267
+
79
268
  # 分页的data数据
80
269
  class DescribeDevicesPageRsp < TencentCloud::Common::AbstractModel
81
270
  # @param Paging: 数据分页信息
@@ -212,6 +401,263 @@ module TencentCloud
212
401
  end
213
402
  end
214
403
 
404
+ # 所属组
405
+ class DescribeLocalAccountAccountGroupsData < TencentCloud::Common::AbstractModel
406
+ # @param AccountGroupId: 组Id(只支持32位)
407
+ # 注意:此字段可能返回 null,表示取不到有效值。
408
+ # @type AccountGroupId: Integer
409
+
410
+ attr_accessor :AccountGroupId
411
+
412
+ def initialize(accountgroupid=nil)
413
+ @AccountGroupId = accountgroupid
414
+ end
415
+
416
+ def deserialize(params)
417
+ @AccountGroupId = params['AccountGroupId']
418
+ end
419
+ end
420
+
421
+ # 获取账号列表响应的单个对象
422
+ class DescribeLocalAccountsData < TencentCloud::Common::AbstractModel
423
+ # @param Id: uid,数据库中唯一
424
+ # 注意:此字段可能返回 null,表示取不到有效值。
425
+ # @type Id: Integer
426
+ # @param UserId: 账号,登录账号
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type UserId: String
429
+ # @param UserName: 用户名
430
+ # 注意:此字段可能返回 null,表示取不到有效值。
431
+ # @type UserName: String
432
+ # @param AccountId: 账号id,同Id字段
433
+ # 注意:此字段可能返回 null,表示取不到有效值。
434
+ # @type AccountId: Integer
435
+ # @param GroupId: 账号所在的分组id
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
437
+ # @type GroupId: Integer
438
+ # @param GroupName: 账号所在的分组名称
439
+ # 注意:此字段可能返回 null,表示取不到有效值。
440
+ # @type GroupName: String
441
+ # @param NamePath: 账号所在的分组名称路径,用英文.分割
442
+ # 注意:此字段可能返回 null,表示取不到有效值。
443
+ # @type NamePath: String
444
+ # @param Source: 账号来源,0表示本地账号(只支持32位)
445
+ # 注意:此字段可能返回 null,表示取不到有效值。
446
+ # @type Source: Integer
447
+ # @param Status: 账号状态,0禁用,1启用(只支持32位)
448
+ # 注意:此字段可能返回 null,表示取不到有效值。
449
+ # @type Status: Integer
450
+ # @param Itime: 账号的创建时间
451
+ # 注意:此字段可能返回 null,表示取不到有效值。
452
+ # @type Itime: String
453
+ # @param Utime: 账号的最后更新时间
454
+ # 注意:此字段可能返回 null,表示取不到有效值。
455
+ # @type Utime: String
456
+ # @param ExtraInfo: 账号的扩展信息,包含邮箱、手机号、身份证、职位等信息
457
+ # 注意:此字段可能返回 null,表示取不到有效值。
458
+ # @type ExtraInfo: String
459
+ # @param RiskLevel: 用户风险等级,枚举:none, low, middle, high
460
+ # 注意:此字段可能返回 null,表示取不到有效值。
461
+ # @type RiskLevel: String
462
+ # @param AccountGroups: 所属组
463
+ # 注意:此字段可能返回 null,表示取不到有效值。
464
+ # @type AccountGroups: Array
465
+ # @param MobileBindNum: 绑定手机端设备数
466
+ # 注意:此字段可能返回 null,表示取不到有效值。
467
+ # @type MobileBindNum: Integer
468
+ # @param PcBindNum: 绑定Pc端设备数
469
+ # 注意:此字段可能返回 null,表示取不到有效值。
470
+ # @type PcBindNum: Integer
471
+ # @param OnlineStatus: 账号在线状态 1:在线 2:离线
472
+ # 注意:此字段可能返回 null,表示取不到有效值。
473
+ # @type OnlineStatus: Integer
474
+ # @param ActiveStatus: 账号活跃状态 1:活跃 2:非活跃
475
+ # 注意:此字段可能返回 null,表示取不到有效值。
476
+ # @type ActiveStatus: Integer
477
+ # @param LoginTime: 账号登录时间
478
+ # 注意:此字段可能返回 null,表示取不到有效值。
479
+ # @type LoginTime: String
480
+ # @param LogoutTime: 账号登出时间
481
+ # 注意:此字段可能返回 null,表示取不到有效值。
482
+ # @type LogoutTime: String
483
+
484
+ attr_accessor :Id, :UserId, :UserName, :AccountId, :GroupId, :GroupName, :NamePath, :Source, :Status, :Itime, :Utime, :ExtraInfo, :RiskLevel, :AccountGroups, :MobileBindNum, :PcBindNum, :OnlineStatus, :ActiveStatus, :LoginTime, :LogoutTime
485
+
486
+ def initialize(id=nil, userid=nil, username=nil, accountid=nil, groupid=nil, groupname=nil, namepath=nil, source=nil, status=nil, itime=nil, utime=nil, extrainfo=nil, risklevel=nil, accountgroups=nil, mobilebindnum=nil, pcbindnum=nil, onlinestatus=nil, activestatus=nil, logintime=nil, logouttime=nil)
487
+ @Id = id
488
+ @UserId = userid
489
+ @UserName = username
490
+ @AccountId = accountid
491
+ @GroupId = groupid
492
+ @GroupName = groupname
493
+ @NamePath = namepath
494
+ @Source = source
495
+ @Status = status
496
+ @Itime = itime
497
+ @Utime = utime
498
+ @ExtraInfo = extrainfo
499
+ @RiskLevel = risklevel
500
+ @AccountGroups = accountgroups
501
+ @MobileBindNum = mobilebindnum
502
+ @PcBindNum = pcbindnum
503
+ @OnlineStatus = onlinestatus
504
+ @ActiveStatus = activestatus
505
+ @LoginTime = logintime
506
+ @LogoutTime = logouttime
507
+ end
508
+
509
+ def deserialize(params)
510
+ @Id = params['Id']
511
+ @UserId = params['UserId']
512
+ @UserName = params['UserName']
513
+ @AccountId = params['AccountId']
514
+ @GroupId = params['GroupId']
515
+ @GroupName = params['GroupName']
516
+ @NamePath = params['NamePath']
517
+ @Source = params['Source']
518
+ @Status = params['Status']
519
+ @Itime = params['Itime']
520
+ @Utime = params['Utime']
521
+ @ExtraInfo = params['ExtraInfo']
522
+ @RiskLevel = params['RiskLevel']
523
+ unless params['AccountGroups'].nil?
524
+ @AccountGroups = []
525
+ params['AccountGroups'].each do |i|
526
+ describelocalaccountaccountgroupsdata_tmp = DescribeLocalAccountAccountGroupsData.new
527
+ describelocalaccountaccountgroupsdata_tmp.deserialize(i)
528
+ @AccountGroups << describelocalaccountaccountgroupsdata_tmp
529
+ end
530
+ end
531
+ @MobileBindNum = params['MobileBindNum']
532
+ @PcBindNum = params['PcBindNum']
533
+ @OnlineStatus = params['OnlineStatus']
534
+ @ActiveStatus = params['ActiveStatus']
535
+ @LoginTime = params['LoginTime']
536
+ @LogoutTime = params['LogoutTime']
537
+ end
538
+ end
539
+
540
+ # 获取账号列表响应的分页对象
541
+ class DescribeLocalAccountsPage < TencentCloud::Common::AbstractModel
542
+ # @param Page: 公共分页对象
543
+ # 注意:此字段可能返回 null,表示取不到有效值。
544
+ # @type Page: :class:`Tencentcloud::Ioa.v20220601.models.Paging`
545
+ # @param Items: 获取账号列表响应的单个对象
546
+ # 注意:此字段可能返回 null,表示取不到有效值。
547
+ # @type Items: Array
548
+
549
+ attr_accessor :Page, :Items
550
+
551
+ def initialize(page=nil, items=nil)
552
+ @Page = page
553
+ @Items = items
554
+ end
555
+
556
+ def deserialize(params)
557
+ unless params['Page'].nil?
558
+ @Page = Paging.new
559
+ @Page.deserialize(params['Page'])
560
+ end
561
+ unless params['Items'].nil?
562
+ @Items = []
563
+ params['Items'].each do |i|
564
+ describelocalaccountsdata_tmp = DescribeLocalAccountsData.new
565
+ describelocalaccountsdata_tmp.deserialize(i)
566
+ @Items << describelocalaccountsdata_tmp
567
+ end
568
+ end
569
+ end
570
+ end
571
+
572
+ # DescribeLocalAccounts请求参数结构体
573
+ class DescribeLocalAccountsRequest < TencentCloud::Common::AbstractModel
574
+ # @param Condition: 滤条件、分页参数
575
+ # <li>UserName - String - 是否必填:否 - 操作符: eq,like - 排序支持:否- 按账号UserName过滤。</li>
576
+ # <li>UserId - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按账号UserNd过滤。</li>
577
+ # <li>Phone - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按手机号过滤。</li>
578
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
579
+ # @param AccountGroupId: 获取账号的分组Id,不传默认获取全部(只支持32位)
580
+ # @type AccountGroupId: Integer
581
+ # @param ShowFlag: 是否仅展示当前目录下用户 1: 递归显示 2:仅显示当前目录下用户(只支持32位)
582
+ # @type ShowFlag: Integer
583
+
584
+ attr_accessor :Condition, :AccountGroupId, :ShowFlag
585
+
586
+ def initialize(condition=nil, accountgroupid=nil, showflag=nil)
587
+ @Condition = condition
588
+ @AccountGroupId = accountgroupid
589
+ @ShowFlag = showflag
590
+ end
591
+
592
+ def deserialize(params)
593
+ unless params['Condition'].nil?
594
+ @Condition = Condition.new
595
+ @Condition.deserialize(params['Condition'])
596
+ end
597
+ @AccountGroupId = params['AccountGroupId']
598
+ @ShowFlag = params['ShowFlag']
599
+ end
600
+ end
601
+
602
+ # DescribeLocalAccounts返回参数结构体
603
+ class DescribeLocalAccountsResponse < TencentCloud::Common::AbstractModel
604
+ # @param Data: 获取账号列表响应的分页对象
605
+ # 注意:此字段可能返回 null,表示取不到有效值。
606
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeLocalAccountsPage`
607
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
608
+ # @type RequestId: String
609
+
610
+ attr_accessor :Data, :RequestId
611
+
612
+ def initialize(data=nil, requestid=nil)
613
+ @Data = data
614
+ @RequestId = requestid
615
+ end
616
+
617
+ def deserialize(params)
618
+ unless params['Data'].nil?
619
+ @Data = DescribeLocalAccountsPage.new
620
+ @Data.deserialize(params['Data'])
621
+ end
622
+ @RequestId = params['RequestId']
623
+ end
624
+ end
625
+
626
+ # DescribeRootAccountGroup请求参数结构体
627
+ class DescribeRootAccountGroupRequest < TencentCloud::Common::AbstractModel
628
+
629
+
630
+ def initialize()
631
+ end
632
+
633
+ def deserialize(params)
634
+ end
635
+ end
636
+
637
+ # DescribeRootAccountGroup返回参数结构体
638
+ class DescribeRootAccountGroupResponse < TencentCloud::Common::AbstractModel
639
+ # @param Data: 账户分组详情响应数据
640
+ # 注意:此字段可能返回 null,表示取不到有效值。
641
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.GetAccountGroupData`
642
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
643
+ # @type RequestId: String
644
+
645
+ attr_accessor :Data, :RequestId
646
+
647
+ def initialize(data=nil, requestid=nil)
648
+ @Data = data
649
+ @RequestId = requestid
650
+ end
651
+
652
+ def deserialize(params)
653
+ unless params['Data'].nil?
654
+ @Data = GetAccountGroupData.new
655
+ @Data.deserialize(params['Data'])
656
+ end
657
+ @RequestId = params['RequestId']
658
+ end
659
+ end
660
+
215
661
  # 业务响应数据
216
662
  class DeviceDetail < TencentCloud::Common::AbstractModel
217
663
  # @param Id: 设备ID(只支持32位)
@@ -490,6 +936,103 @@ module TencentCloud
490
936
  end
491
937
  end
492
938
 
939
+ # 账户分组详情响应数据
940
+ class GetAccountGroupData < TencentCloud::Common::AbstractModel
941
+ # @param NamePath: 分组Namepath
942
+ # 注意:此字段可能返回 null,表示取不到有效值。
943
+ # @type NamePath: String
944
+ # @param IdPathArr: 分组Id path arr(只支持32位)
945
+ # 注意:此字段可能返回 null,表示取不到有效值。
946
+ # @type IdPathArr: Array
947
+ # @param ExtraInfo: 分组扩展信息
948
+ # 注意:此字段可能返回 null,表示取不到有效值。
949
+ # @type ExtraInfo: String
950
+ # @param Utime: 最后更新时间
951
+ # 注意:此字段可能返回 null,表示取不到有效值。
952
+ # @type Utime: String
953
+ # @param ParentId: 父分组id(只支持32位)
954
+ # 注意:此字段可能返回 null,表示取不到有效值。
955
+ # @type ParentId: Integer
956
+ # @param OrgId: 组织id
957
+ # 注意:此字段可能返回 null,表示取不到有效值。
958
+ # @type OrgId: String
959
+ # @param Name: 分组名称
960
+ # 注意:此字段可能返回 null,表示取不到有效值。
961
+ # @type Name: String
962
+ # @param Id: 分组id(只支持32位)
963
+ # 注意:此字段可能返回 null,表示取不到有效值。
964
+ # @type Id: Integer
965
+ # @param Description: 描述
966
+ # 注意:此字段可能返回 null,表示取不到有效值。
967
+ # @type Description: String
968
+ # @param Source: 分组导入源(只支持32位)
969
+ # 注意:此字段可能返回 null,表示取不到有效值。
970
+ # @type Source: Integer
971
+ # @param IdPath: Id Path
972
+ # 注意:此字段可能返回 null,表示取不到有效值。
973
+ # @type IdPath: String
974
+ # @param Itime: 创建时间
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type Itime: String
977
+ # @param ParentOrgId: 父组织id
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type ParentOrgId: String
980
+ # @param Import: 导入信息,json格式
981
+ # 注意:此字段可能返回 null,表示取不到有效值。
982
+ # @type Import: String
983
+ # @param ImportEnable: 是否开启导入架构
984
+ # 注意:此字段可能返回 null,表示取不到有效值。
985
+ # @type ImportEnable: Boolean
986
+ # @param ImportType: 导入类型
987
+ # 注意:此字段可能返回 null,表示取不到有效值。
988
+ # @type ImportType: String
989
+ # @param MiniIamId: miniIAMId,MiniIAM源才有
990
+ # 注意:此字段可能返回 null,表示取不到有效值。
991
+ # @type MiniIamId: String
992
+
993
+ attr_accessor :NamePath, :IdPathArr, :ExtraInfo, :Utime, :ParentId, :OrgId, :Name, :Id, :Description, :Source, :IdPath, :Itime, :ParentOrgId, :Import, :ImportEnable, :ImportType, :MiniIamId
994
+
995
+ def initialize(namepath=nil, idpatharr=nil, extrainfo=nil, utime=nil, parentid=nil, orgid=nil, name=nil, id=nil, description=nil, source=nil, idpath=nil, itime=nil, parentorgid=nil, import=nil, importenable=nil, importtype=nil, miniiamid=nil)
996
+ @NamePath = namepath
997
+ @IdPathArr = idpatharr
998
+ @ExtraInfo = extrainfo
999
+ @Utime = utime
1000
+ @ParentId = parentid
1001
+ @OrgId = orgid
1002
+ @Name = name
1003
+ @Id = id
1004
+ @Description = description
1005
+ @Source = source
1006
+ @IdPath = idpath
1007
+ @Itime = itime
1008
+ @ParentOrgId = parentorgid
1009
+ @Import = import
1010
+ @ImportEnable = importenable
1011
+ @ImportType = importtype
1012
+ @MiniIamId = miniiamid
1013
+ end
1014
+
1015
+ def deserialize(params)
1016
+ @NamePath = params['NamePath']
1017
+ @IdPathArr = params['IdPathArr']
1018
+ @ExtraInfo = params['ExtraInfo']
1019
+ @Utime = params['Utime']
1020
+ @ParentId = params['ParentId']
1021
+ @OrgId = params['OrgId']
1022
+ @Name = params['Name']
1023
+ @Id = params['Id']
1024
+ @Description = params['Description']
1025
+ @Source = params['Source']
1026
+ @IdPath = params['IdPath']
1027
+ @Itime = params['Itime']
1028
+ @ParentOrgId = params['ParentOrgId']
1029
+ @Import = params['Import']
1030
+ @ImportEnable = params['ImportEnable']
1031
+ @ImportType = params['ImportType']
1032
+ @MiniIamId = params['MiniIamId']
1033
+ end
1034
+ end
1035
+
493
1036
  # 页码
494
1037
  class Paging < TencentCloud::Common::AbstractModel
495
1038
  # @param PageSize: 每页条数(只支持32位)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ioa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.850
4
+ version: 3.0.851
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common