tencentcloud-sdk-organization 3.0.587 → 3.0.589

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: 761c6fda54f616d97b563003633825051ee78685
4
- data.tar.gz: 39d319af9f5ed72903e1ca54f0ff0064731a68a4
3
+ metadata.gz: 601b4d26a613bc5ce2710da2cf1e11e50a5df14b
4
+ data.tar.gz: a94f79f16938506088a0a572e30a8dcbf9fb86dd
5
5
  SHA512:
6
- metadata.gz: 52eec67c5180778c995786ce21885f0af3c004a988aa13909d5a91a2095465f182785a5cb258c2abeaef4ad3cb88bd99a3ffacbb7197b9e2513f53929bbcc1d4
7
- data.tar.gz: 865265b9dad4c545bbd292c4def71f2df7a5bd3eda181182caaad299e7e56675be3e3e6237d7b2002eade7e60abb1feae6b2b48f60ed6050ba3987772bae2452
6
+ metadata.gz: 6c18da7d3393b4984d842fe9b64efb9bec6c551d97325d8cc271513557054174317f8d2a558d04950508af53211959ec0dba501f13637ed0d60c2d984880d482
7
+ data.tar.gz: 7226bf0360ef559c6b4d0bcd91cdb59de1d18c32bcc13de185f3bea13269cde39233af2ee22ff392576bcbd07611f8112341422aa42835897d2d305d23f2a538
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.587
1
+ 3.0.589
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 添加组织成员邮箱
33
+
34
+ # @param request: Request instance for AddOrganizationMemberEmail.
35
+ # @type request: :class:`Tencentcloud::organization::V20210331::AddOrganizationMemberEmailRequest`
36
+ # @rtype: :class:`Tencentcloud::organization::V20210331::AddOrganizationMemberEmailResponse`
37
+ def AddOrganizationMemberEmail(request)
38
+ body = send_request('AddOrganizationMemberEmail', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddOrganizationMemberEmailResponse.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
  # 添加企业组织节点
33
57
 
34
58
  # @param request: Request instance for AddOrganizationNode.
@@ -293,6 +317,30 @@ module TencentCloud
293
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
318
  end
295
319
 
320
+ # 查询成员邮箱绑定详细信息
321
+
322
+ # @param request: Request instance for DescribeOrganizationMemberEmailBind.
323
+ # @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberEmailBindRequest`
324
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberEmailBindResponse`
325
+ def DescribeOrganizationMemberEmailBind(request)
326
+ body = send_request('DescribeOrganizationMemberEmailBind', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeOrganizationMemberEmailBindResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
296
344
  # 获取组织成员的授权策略列表
297
345
 
298
346
  # @param request: Request instance for DescribeOrganizationMemberPolicies.
@@ -413,6 +461,30 @@ module TencentCloud
413
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
462
  end
415
463
 
464
+ # 修改绑定成员邮箱
465
+
466
+ # @param request: Request instance for UpdateOrganizationMemberEmailBind.
467
+ # @type request: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationMemberEmailBindRequest`
468
+ # @rtype: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationMemberEmailBindResponse`
469
+ def UpdateOrganizationMemberEmailBind(request)
470
+ body = send_request('UpdateOrganizationMemberEmailBind', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = UpdateOrganizationMemberEmailBindResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
416
488
  # 更新企业组织节点
417
489
 
418
490
  # @param request: Request instance for UpdateOrganizationNode.
@@ -17,6 +17,50 @@
17
17
  module TencentCloud
18
18
  module Organization
19
19
  module V20210331
20
+ # AddOrganizationMemberEmail请求参数结构体
21
+ class AddOrganizationMemberEmailRequest < TencentCloud::Common::AbstractModel
22
+ # @param MemberUin: 成员Uin
23
+ # @type MemberUin: Integer
24
+ # @param Email: 邮箱地址
25
+ # @type Email: String
26
+ # @param CountryCode: 国际区号
27
+ # @type CountryCode: String
28
+ # @param Phone: 手机号
29
+ # @type Phone: String
30
+
31
+ attr_accessor :MemberUin, :Email, :CountryCode, :Phone
32
+
33
+ def initialize(memberuin=nil, email=nil, countrycode=nil, phone=nil)
34
+ @MemberUin = memberuin
35
+ @Email = email
36
+ @CountryCode = countrycode
37
+ @Phone = phone
38
+ end
39
+
40
+ def deserialize(params)
41
+ @MemberUin = params['MemberUin']
42
+ @Email = params['Email']
43
+ @CountryCode = params['CountryCode']
44
+ @Phone = params['Phone']
45
+ end
46
+ end
47
+
48
+ # AddOrganizationMemberEmail返回参数结构体
49
+ class AddOrganizationMemberEmailResponse < TencentCloud::Common::AbstractModel
50
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
51
+ # @type RequestId: String
52
+
53
+ attr_accessor :RequestId
54
+
55
+ def initialize(requestid=nil)
56
+ @RequestId = requestid
57
+ end
58
+
59
+ def deserialize(params)
60
+ @RequestId = params['RequestId']
61
+ end
62
+ end
63
+
20
64
  # AddOrganizationNode请求参数结构体
21
65
  class AddOrganizationNodeRequest < TencentCloud::Common::AbstractModel
22
66
  # @param ParentNodeId: 父节点ID。可以调用DescribeOrganizationNodes获取
@@ -532,6 +576,83 @@ module TencentCloud
532
576
  end
533
577
  end
534
578
 
579
+ # DescribeOrganizationMemberEmailBind请求参数结构体
580
+ class DescribeOrganizationMemberEmailBindRequest < TencentCloud::Common::AbstractModel
581
+ # @param MemberUin: 成员Uin
582
+ # @type MemberUin: Integer
583
+
584
+ attr_accessor :MemberUin
585
+
586
+ def initialize(memberuin=nil)
587
+ @MemberUin = memberuin
588
+ end
589
+
590
+ def deserialize(params)
591
+ @MemberUin = params['MemberUin']
592
+ end
593
+ end
594
+
595
+ # DescribeOrganizationMemberEmailBind返回参数结构体
596
+ class DescribeOrganizationMemberEmailBindResponse < TencentCloud::Common::AbstractModel
597
+ # @param BindId: 绑定ID
598
+ # 注意:此字段可能返回 null,表示取不到有效值。
599
+ # @type BindId: Integer
600
+ # @param ApplyTime: 申请时间
601
+ # 注意:此字段可能返回 null,表示取不到有效值。
602
+ # @type ApplyTime: String
603
+ # @param Email: 邮箱地址
604
+ # 注意:此字段可能返回 null,表示取不到有效值。
605
+ # @type Email: String
606
+ # @param Phone: 手机号
607
+ # 注意:此字段可能返回 null,表示取不到有效值。
608
+ # @type Phone: String
609
+ # @param BindStatus: 绑定状态 未绑定:Unbound,待激活:Valid,绑定成功:Success,绑定失败:Failed
610
+ # 注意:此字段可能返回 null,表示取不到有效值。
611
+ # @type BindStatus: String
612
+ # @param BindTime: 绑定时间
613
+ # 注意:此字段可能返回 null,表示取不到有效值。
614
+ # @type BindTime: String
615
+ # @param Description: 失败说明
616
+ # 注意:此字段可能返回 null,表示取不到有效值。
617
+ # @type Description: String
618
+ # @param PhoneBind: 安全手机绑定状态 未绑定:0,已绑定:1
619
+ # 注意:此字段可能返回 null,表示取不到有效值。
620
+ # @type PhoneBind: Integer
621
+ # @param CountryCode: 国际区号
622
+ # 注意:此字段可能返回 null,表示取不到有效值。
623
+ # @type CountryCode: String
624
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
625
+ # @type RequestId: String
626
+
627
+ attr_accessor :BindId, :ApplyTime, :Email, :Phone, :BindStatus, :BindTime, :Description, :PhoneBind, :CountryCode, :RequestId
628
+
629
+ def initialize(bindid=nil, applytime=nil, email=nil, phone=nil, bindstatus=nil, bindtime=nil, description=nil, phonebind=nil, countrycode=nil, requestid=nil)
630
+ @BindId = bindid
631
+ @ApplyTime = applytime
632
+ @Email = email
633
+ @Phone = phone
634
+ @BindStatus = bindstatus
635
+ @BindTime = bindtime
636
+ @Description = description
637
+ @PhoneBind = phonebind
638
+ @CountryCode = countrycode
639
+ @RequestId = requestid
640
+ end
641
+
642
+ def deserialize(params)
643
+ @BindId = params['BindId']
644
+ @ApplyTime = params['ApplyTime']
645
+ @Email = params['Email']
646
+ @Phone = params['Phone']
647
+ @BindStatus = params['BindStatus']
648
+ @BindTime = params['BindTime']
649
+ @Description = params['Description']
650
+ @PhoneBind = params['PhoneBind']
651
+ @CountryCode = params['CountryCode']
652
+ @RequestId = params['RequestId']
653
+ end
654
+ end
655
+
535
656
  # DescribeOrganizationMemberPolicies请求参数结构体
536
657
  class DescribeOrganizationMemberPoliciesRequest < TencentCloud::Common::AbstractModel
537
658
  # @param Offset: 偏移量。
@@ -1379,6 +1500,54 @@ module TencentCloud
1379
1500
  end
1380
1501
  end
1381
1502
 
1503
+ # UpdateOrganizationMemberEmailBind请求参数结构体
1504
+ class UpdateOrganizationMemberEmailBindRequest < TencentCloud::Common::AbstractModel
1505
+ # @param MemberUin: 成员Uin
1506
+ # @type MemberUin: Integer
1507
+ # @param BindId: 绑定ID
1508
+ # @type BindId: Integer
1509
+ # @param Email: 邮箱
1510
+ # @type Email: String
1511
+ # @param CountryCode: 国际区号
1512
+ # @type CountryCode: String
1513
+ # @param Phone: 手机号
1514
+ # @type Phone: String
1515
+
1516
+ attr_accessor :MemberUin, :BindId, :Email, :CountryCode, :Phone
1517
+
1518
+ def initialize(memberuin=nil, bindid=nil, email=nil, countrycode=nil, phone=nil)
1519
+ @MemberUin = memberuin
1520
+ @BindId = bindid
1521
+ @Email = email
1522
+ @CountryCode = countrycode
1523
+ @Phone = phone
1524
+ end
1525
+
1526
+ def deserialize(params)
1527
+ @MemberUin = params['MemberUin']
1528
+ @BindId = params['BindId']
1529
+ @Email = params['Email']
1530
+ @CountryCode = params['CountryCode']
1531
+ @Phone = params['Phone']
1532
+ end
1533
+ end
1534
+
1535
+ # UpdateOrganizationMemberEmailBind返回参数结构体
1536
+ class UpdateOrganizationMemberEmailBindResponse < TencentCloud::Common::AbstractModel
1537
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1538
+ # @type RequestId: String
1539
+
1540
+ attr_accessor :RequestId
1541
+
1542
+ def initialize(requestid=nil)
1543
+ @RequestId = requestid
1544
+ end
1545
+
1546
+ def deserialize(params)
1547
+ @RequestId = params['RequestId']
1548
+ end
1549
+ end
1550
+
1382
1551
  # UpdateOrganizationNode请求参数结构体
1383
1552
  class UpdateOrganizationNodeRequest < TencentCloud::Common::AbstractModel
1384
1553
  # @param NodeId: 节点ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-organization
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.587
4
+ version: 3.0.589
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-08 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common