tencentcloud-sdk-ess 3.0.567 → 3.0.568
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 +47 -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: acacf99613e59c98300bcc09b0ad7d1ca98799dd
|
4
|
+
data.tar.gz: 12f6c2f894c5472a95e0c87388d6cdcb2bcdc91c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0fcfd2cd9b3d6fc7dc07988033f49db4a9f63462d2f4914deed8c7f7bb31de215b764e6c1ae1438213e6b02ab52733e927de9ee419311c9e4934c48f50c1e01
|
7
|
+
data.tar.gz: 151c63521b78ca22f4aec5675286b721b67e4e9c1fcb18846d0ddd4a5728aed2cad6d777af469f70f7d11c1cd8b913cb082c0876a61a0917ae95514d23622f32
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.568
|
data/lib/v20201111/client.rb
CHANGED
@@ -129,6 +129,30 @@ module TencentCloud
|
|
129
129
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
130
130
|
end
|
131
131
|
|
132
|
+
# 生成子客编辑企业信息二维码
|
133
|
+
|
134
|
+
# @param request: Request instance for CreateChannelSubOrganizationModifyQrCode.
|
135
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateChannelSubOrganizationModifyQrCodeRequest`
|
136
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateChannelSubOrganizationModifyQrCodeResponse`
|
137
|
+
def CreateChannelSubOrganizationModifyQrCode(request)
|
138
|
+
body = send_request('CreateChannelSubOrganizationModifyQrCode', request.serialize)
|
139
|
+
response = JSON.parse(body)
|
140
|
+
if response['Response'].key?('Error') == false
|
141
|
+
model = CreateChannelSubOrganizationModifyQrCodeResponse.new
|
142
|
+
model.deserialize(response['Response'])
|
143
|
+
model
|
144
|
+
else
|
145
|
+
code = response['Response']['Error']['Code']
|
146
|
+
message = response['Response']['Error']['Message']
|
147
|
+
reqid = response['Response']['RequestId']
|
148
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
149
|
+
end
|
150
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
151
|
+
raise e
|
152
|
+
rescue StandardError => e
|
153
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
154
|
+
end
|
155
|
+
|
132
156
|
# 上传了word、excel文件后,通过该接口发起文件转换任务,将word、excel文件转换为pdf文件。
|
133
157
|
|
134
158
|
# @param request: Request instance for CreateConvertTaskApi.
|
data/lib/v20201111/models.rb
CHANGED
@@ -775,6 +775,53 @@ module TencentCloud
|
|
775
775
|
end
|
776
776
|
end
|
777
777
|
|
778
|
+
# CreateChannelSubOrganizationModifyQrCode请求参数结构体
|
779
|
+
class CreateChannelSubOrganizationModifyQrCodeRequest < TencentCloud::Common::AbstractModel
|
780
|
+
# @param Operator: 操作人
|
781
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
782
|
+
# @param ApplicationId: 应用编号
|
783
|
+
# @type ApplicationId: String
|
784
|
+
|
785
|
+
attr_accessor :Operator, :ApplicationId
|
786
|
+
|
787
|
+
def initialize(operator=nil, applicationid=nil)
|
788
|
+
@Operator = operator
|
789
|
+
@ApplicationId = applicationid
|
790
|
+
end
|
791
|
+
|
792
|
+
def deserialize(params)
|
793
|
+
unless params['Operator'].nil?
|
794
|
+
@Operator = UserInfo.new
|
795
|
+
@Operator.deserialize(params['Operator'])
|
796
|
+
end
|
797
|
+
@ApplicationId = params['ApplicationId']
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
# CreateChannelSubOrganizationModifyQrCode返回参数结构体
|
802
|
+
class CreateChannelSubOrganizationModifyQrCodeResponse < TencentCloud::Common::AbstractModel
|
803
|
+
# @param QrCodeUrl: 二维码下载链接
|
804
|
+
# @type QrCodeUrl: String
|
805
|
+
# @param ExpiredTime: 二维码失效时间 unix 时间戳 精确到秒
|
806
|
+
# @type ExpiredTime: Integer
|
807
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
808
|
+
# @type RequestId: String
|
809
|
+
|
810
|
+
attr_accessor :QrCodeUrl, :ExpiredTime, :RequestId
|
811
|
+
|
812
|
+
def initialize(qrcodeurl=nil, expiredtime=nil, requestid=nil)
|
813
|
+
@QrCodeUrl = qrcodeurl
|
814
|
+
@ExpiredTime = expiredtime
|
815
|
+
@RequestId = requestid
|
816
|
+
end
|
817
|
+
|
818
|
+
def deserialize(params)
|
819
|
+
@QrCodeUrl = params['QrCodeUrl']
|
820
|
+
@ExpiredTime = params['ExpiredTime']
|
821
|
+
@RequestId = params['RequestId']
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
778
825
|
# CreateConvertTaskApi请求参数结构体
|
779
826
|
class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
780
827
|
# @param ResourceType: 资源类型 取值范围doc,docx,html,xls,xlsx之一
|
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.568
|
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-05-
|
11
|
+
date: 2023-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|