tencentcloud-sdk-ess 3.0.669 → 3.0.670
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +24 -0
- data/lib/v20201111/models.rb +57 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd67b07617dd0d234fcb5159432d6e0396ff807a
|
4
|
+
data.tar.gz: 1bbbe853bef5a7ccedf32c7ab50fb268b3371ebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39afba63c73f716667dacdb570d5cee2164d9235ec71ceb356f655d81686334952a2f709f5e8490c91767bcc2c47d9037d3d142309ab51de5c3b0220256188fa
|
7
|
+
data.tar.gz: b3dd53f7da5782865bdc756ff5b35d51723123484f83752848b587914c9c316147f5555375028b8ecaccce03839e993eaf2c45f38d444ce7f58daaf68043ca6e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.670
|
data/lib/v20201111/client.rb
CHANGED
@@ -711,6 +711,30 @@ module TencentCloud
|
|
711
711
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
712
712
|
end
|
713
713
|
|
714
|
+
# 此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
715
|
+
|
716
|
+
# @param request: Request instance for CreateOrganizationInfoChangeUrl.
|
717
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateOrganizationInfoChangeUrlRequest`
|
718
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateOrganizationInfoChangeUrlResponse`
|
719
|
+
def CreateOrganizationInfoChangeUrl(request)
|
720
|
+
body = send_request('CreateOrganizationInfoChangeUrl', request.serialize)
|
721
|
+
response = JSON.parse(body)
|
722
|
+
if response['Response'].key?('Error') == false
|
723
|
+
model = CreateOrganizationInfoChangeUrlResponse.new
|
724
|
+
model.deserialize(response['Response'])
|
725
|
+
model
|
726
|
+
else
|
727
|
+
code = response['Response']['Error']['Code']
|
728
|
+
message = response['Response']['Error']['Message']
|
729
|
+
reqid = response['Response']['RequestId']
|
730
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
731
|
+
end
|
732
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
733
|
+
raise e
|
734
|
+
rescue StandardError => e
|
735
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
736
|
+
end
|
737
|
+
|
714
738
|
# 获取个人用户认证证书图片下载URL
|
715
739
|
|
716
740
|
# 个人用户认证证书图片样式如下图
|
data/lib/v20201111/models.rb
CHANGED
@@ -3011,6 +3011,63 @@ module TencentCloud
|
|
3011
3011
|
end
|
3012
3012
|
end
|
3013
3013
|
|
3014
|
+
# CreateOrganizationInfoChangeUrl请求参数结构体
|
3015
|
+
class CreateOrganizationInfoChangeUrlRequest < TencentCloud::Common::AbstractModel
|
3016
|
+
# @param Operator: 执行本接口操作的员工信息。
|
3017
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
3018
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
3019
|
+
# @param ChangeType: 企业信息变更类型,可选类型如下:
|
3020
|
+
# <ul><li>**1**:企业超管变更</li><li>**2**:企业基础信息变更</li></ul>
|
3021
|
+
# @type ChangeType: Integer
|
3022
|
+
# @param Agent: 代理企业和员工的信息。
|
3023
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
3024
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
3025
|
+
|
3026
|
+
attr_accessor :Operator, :ChangeType, :Agent
|
3027
|
+
|
3028
|
+
def initialize(operator=nil, changetype=nil, agent=nil)
|
3029
|
+
@Operator = operator
|
3030
|
+
@ChangeType = changetype
|
3031
|
+
@Agent = agent
|
3032
|
+
end
|
3033
|
+
|
3034
|
+
def deserialize(params)
|
3035
|
+
unless params['Operator'].nil?
|
3036
|
+
@Operator = UserInfo.new
|
3037
|
+
@Operator.deserialize(params['Operator'])
|
3038
|
+
end
|
3039
|
+
@ChangeType = params['ChangeType']
|
3040
|
+
unless params['Agent'].nil?
|
3041
|
+
@Agent = Agent.new
|
3042
|
+
@Agent.deserialize(params['Agent'])
|
3043
|
+
end
|
3044
|
+
end
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
# CreateOrganizationInfoChangeUrl返回参数结构体
|
3048
|
+
class CreateOrganizationInfoChangeUrlResponse < TencentCloud::Common::AbstractModel
|
3049
|
+
# @param Url: 创建的企业信息变更链接。
|
3050
|
+
# @type Url: String
|
3051
|
+
# @param ExpiredTime: 链接过期时间。链接7天有效。
|
3052
|
+
# @type ExpiredTime: Integer
|
3053
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3054
|
+
# @type RequestId: String
|
3055
|
+
|
3056
|
+
attr_accessor :Url, :ExpiredTime, :RequestId
|
3057
|
+
|
3058
|
+
def initialize(url=nil, expiredtime=nil, requestid=nil)
|
3059
|
+
@Url = url
|
3060
|
+
@ExpiredTime = expiredtime
|
3061
|
+
@RequestId = requestid
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
def deserialize(params)
|
3065
|
+
@Url = params['Url']
|
3066
|
+
@ExpiredTime = params['ExpiredTime']
|
3067
|
+
@RequestId = params['RequestId']
|
3068
|
+
end
|
3069
|
+
end
|
3070
|
+
|
3014
3071
|
# CreatePersonAuthCertificateImage请求参数结构体
|
3015
3072
|
class CreatePersonAuthCertificateImageRequest < TencentCloud::Common::AbstractModel
|
3016
3073
|
# @param Operator: 执行本接口操作的员工信息。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.670
|
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-
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|