tencentcloud-sdk-organization 3.0.661 → 3.0.663

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f65bb101fd20e526e837c5c7f3f9a673a14882c
4
- data.tar.gz: 04210fdfc986b72f0e191067590a0fc25a4b53da
3
+ metadata.gz: 40453b086f229c0d3d28a8474cdc4ef94d6f1bba
4
+ data.tar.gz: 4aeae4cc76a4246195e4bd38d5130d22bcb8b794
5
5
  SHA512:
6
- metadata.gz: d468d3c3c06cab30d573361011dc171a2b1cf6d3f0b7fd43667a63a5be141700b8b1ca03e40d5176373436740e89106196813c52d0f143b4ca50861c000470c0
7
- data.tar.gz: dde33dd1888110a0c584289e410038b087d83005481fdc71c0f5a5466d4a65494514e855bf326634d91d288dfaa79535e25400bd63347add5722f60caa2316c6
6
+ metadata.gz: df6541d40d66766d04d7f4f7c67b3286f5adf783b5b7392a6a94209b69868d43770563e6e63fa469f024e0d32cead3f70e4520c0cc1bce71f238ab4a07264025
7
+ data.tar.gz: 13031730f1d71b787aaebe6fa336458683cb878bd81726183e7a792fe328803ceeefec034921c7838f9ccf67af5e2f6f0892f65b59a0f091bbe979e178875f9b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.661
1
+ 3.0.663
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建企业组织
129
+
130
+ # @param request: Request instance for CreateOrganization.
131
+ # @type request: :class:`Tencentcloud::organization::V20210331::CreateOrganizationRequest`
132
+ # @rtype: :class:`Tencentcloud::organization::V20210331::CreateOrganizationResponse`
133
+ def CreateOrganization(request)
134
+ body = send_request('CreateOrganization', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateOrganizationResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 创建组织成员
129
153
 
130
154
  # @param request: Request instance for CreateOrganizationMember.
@@ -197,6 +221,30 @@ module TencentCloud
197
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
222
  end
199
223
 
224
+ # 删除企业组织
225
+
226
+ # @param request: Request instance for DeleteOrganization.
227
+ # @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationRequest`
228
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationResponse`
229
+ def DeleteOrganization(request)
230
+ body = send_request('DeleteOrganization', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteOrganizationResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
200
248
  # 删除组织成员访问授权
201
249
 
202
250
  # @param request: Request instance for DeleteOrganizationMemberAuthIdentity.
@@ -605,6 +653,30 @@ module TencentCloud
605
653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
654
  end
607
655
 
656
+ # 退出企业组织
657
+
658
+ # @param request: Request instance for QuitOrganization.
659
+ # @type request: :class:`Tencentcloud::organization::V20210331::QuitOrganizationRequest`
660
+ # @rtype: :class:`Tencentcloud::organization::V20210331::QuitOrganizationResponse`
661
+ def QuitOrganization(request)
662
+ body = send_request('QuitOrganization', request.serialize)
663
+ response = JSON.parse(body)
664
+ if response['Response'].key?('Error') == false
665
+ model = QuitOrganizationResponse.new
666
+ model.deserialize(response['Response'])
667
+ model
668
+ else
669
+ code = response['Response']['Error']['Code']
670
+ message = response['Response']['Error']['Message']
671
+ reqid = response['Response']['RequestId']
672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
673
+ end
674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
675
+ raise e
676
+ rescue StandardError => e
677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
+ end
679
+
608
680
  # 更新组织成员信息
609
681
 
610
682
  # @param request: Request instance for UpdateOrganizationMember.
@@ -373,6 +373,41 @@ module TencentCloud
373
373
  end
374
374
  end
375
375
 
376
+ # CreateOrganization请求参数结构体
377
+ class CreateOrganizationRequest < TencentCloud::Common::AbstractModel
378
+
379
+
380
+ def initialize()
381
+ end
382
+
383
+ def deserialize(params)
384
+ end
385
+ end
386
+
387
+ # CreateOrganization返回参数结构体
388
+ class CreateOrganizationResponse < TencentCloud::Common::AbstractModel
389
+ # @param OrgId: 企业组织ID
390
+ # @type OrgId: Integer
391
+ # @param NickName: 创建者昵称
392
+ # @type NickName: String
393
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
394
+ # @type RequestId: String
395
+
396
+ attr_accessor :OrgId, :NickName, :RequestId
397
+
398
+ def initialize(orgid=nil, nickname=nil, requestid=nil)
399
+ @OrgId = orgid
400
+ @NickName = nickname
401
+ @RequestId = requestid
402
+ end
403
+
404
+ def deserialize(params)
405
+ @OrgId = params['OrgId']
406
+ @NickName = params['NickName']
407
+ @RequestId = params['RequestId']
408
+ end
409
+ end
410
+
376
411
  # DeleteOrganizationMemberAuthIdentity请求参数结构体
377
412
  class DeleteOrganizationMemberAuthIdentityRequest < TencentCloud::Common::AbstractModel
378
413
  # @param MemberUin: 成员uin。
@@ -505,6 +540,33 @@ module TencentCloud
505
540
  end
506
541
  end
507
542
 
543
+ # DeleteOrganization请求参数结构体
544
+ class DeleteOrganizationRequest < TencentCloud::Common::AbstractModel
545
+
546
+
547
+ def initialize()
548
+ end
549
+
550
+ def deserialize(params)
551
+ end
552
+ end
553
+
554
+ # DeleteOrganization返回参数结构体
555
+ class DeleteOrganizationResponse < TencentCloud::Common::AbstractModel
556
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
557
+ # @type RequestId: String
558
+
559
+ attr_accessor :RequestId
560
+
561
+ def initialize(requestid=nil)
562
+ @RequestId = requestid
563
+ end
564
+
565
+ def deserialize(params)
566
+ @RequestId = params['RequestId']
567
+ end
568
+ end
569
+
508
570
  # DescribeOrganizationAuthNode请求参数结构体
509
571
  class DescribeOrganizationAuthNodeRequest < TencentCloud::Common::AbstractModel
510
572
  # @param Offset: 偏移量。
@@ -1904,6 +1966,38 @@ module TencentCloud
1904
1966
  end
1905
1967
  end
1906
1968
 
1969
+ # QuitOrganization请求参数结构体
1970
+ class QuitOrganizationRequest < TencentCloud::Common::AbstractModel
1971
+ # @param OrgId: 企业组织ID
1972
+ # @type OrgId: Integer
1973
+
1974
+ attr_accessor :OrgId
1975
+
1976
+ def initialize(orgid=nil)
1977
+ @OrgId = orgid
1978
+ end
1979
+
1980
+ def deserialize(params)
1981
+ @OrgId = params['OrgId']
1982
+ end
1983
+ end
1984
+
1985
+ # QuitOrganization返回参数结构体
1986
+ class QuitOrganizationResponse < TencentCloud::Common::AbstractModel
1987
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1988
+ # @type RequestId: String
1989
+
1990
+ attr_accessor :RequestId
1991
+
1992
+ def initialize(requestid=nil)
1993
+ @RequestId = requestid
1994
+ end
1995
+
1996
+ def deserialize(params)
1997
+ @RequestId = params['RequestId']
1998
+ end
1999
+ end
2000
+
1907
2001
  # UpdateOrganizationMemberEmailBind请求参数结构体
1908
2002
  class UpdateOrganizationMemberEmailBindRequest < TencentCloud::Common::AbstractModel
1909
2003
  # @param MemberUin: 成员Uin
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.661
4
+ version: 3.0.663
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-09-18 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common