tencentcloud-sdk-fmu 1.0.200

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0f3f04ea187859f83377f8826ba6b336d0b62605
4
+ data.tar.gz: 5d88d5fffecd63215c9380ffbb33ed9df73b566d
5
+ SHA512:
6
+ metadata.gz: 1f0a04598c1227f9fcae909d35fe2a06ff848749dcae4b1bd99a6d6ef9094f837611c5a647ea3848120b06600d26d943bd6bade327fb44118c34883e1b105cff
7
+ data.tar.gz: c7992bb742c76bf81021c7895eb9de03f947d0e5a47e7fb466f6a6de1c7750eff0986521b0e0d9242d3dad0f9654b83906de7972c96a6eeecd513b5980fc96dc
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.200
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20191213/client'
6
+ require_relative 'v20191213/models'
7
+
8
+ module TencentCloud
9
+ module Fmu
10
+ end
11
+ end
@@ -0,0 +1,285 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'json'
18
+
19
+ module TencentCloud
20
+ module Fmu
21
+ module V20191213
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2019-12-13'
26
+ api_endpoint = 'fmu.tencentcloudapi.com'
27
+ sdk_version = 'FMU_' + File.read(File.expand_path('../VERSION', __dir__)).strip
28
+ super(credential, region, api_version, api_endpoint, sdk_version, profile)
29
+ end
30
+
31
+
32
+ # 用户上传一张人脸图片,精准定位五官,实现美肤、亮肤、祛痘等美颜功能。
33
+
34
+ # @param request: Request instance for BeautifyPic.
35
+ # @type request: :class:`Tencentcloud::fmu::V20191213::BeautifyPicRequest`
36
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::BeautifyPicResponse`
37
+ def BeautifyPic(request)
38
+ body = send_request('BeautifyPic', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BeautifyPicResponse.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
+
56
+ # 视频美颜
57
+
58
+ # @param request: Request instance for BeautifyVideo.
59
+ # @type request: :class:`Tencentcloud::fmu::V20191213::BeautifyVideoRequest`
60
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::BeautifyVideoResponse`
61
+ def BeautifyVideo(request)
62
+ body = send_request('BeautifyVideo', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BeautifyVideoResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 撤销视频美颜任务请求
81
+
82
+ # @param request: Request instance for CancelBeautifyVideoJob.
83
+ # @type request: :class:`Tencentcloud::fmu::V20191213::CancelBeautifyVideoJobRequest`
84
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::CancelBeautifyVideoJobResponse`
85
+ def CancelBeautifyVideoJob(request)
86
+ body = send_request('CancelBeautifyVideoJob', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CancelBeautifyVideoJobResponse.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
+ # 在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。
105
+
106
+ # 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。
107
+
108
+ # @param request: Request instance for CreateModel.
109
+ # @type request: :class:`Tencentcloud::fmu::V20191213::CreateModelRequest`
110
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::CreateModelResponse`
111
+ def CreateModel(request)
112
+ body = send_request('CreateModel', request.serialize)
113
+ response = JSON.parse(body)
114
+ if response['Response'].key?('Error') == false
115
+ model = CreateModelResponse.new
116
+ model.deserialize(response['Response'])
117
+ model
118
+ else
119
+ code = response['Response']['Error']['Code']
120
+ message = response['Response']['Error']['Message']
121
+ reqid = response['Response']['RequestId']
122
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
+ end
124
+ rescue TencentCloud::Common::TencentCloudSDKException => e
125
+ raise e
126
+ rescue StandardError => e
127
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
+ end
129
+
130
+ # 删除已注册的唇色素材。
131
+
132
+ # @param request: Request instance for DeleteModel.
133
+ # @type request: :class:`Tencentcloud::fmu::V20191213::DeleteModelRequest`
134
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::DeleteModelResponse`
135
+ def DeleteModel(request)
136
+ body = send_request('DeleteModel', request.serialize)
137
+ response = JSON.parse(body)
138
+ if response['Response'].key?('Error') == false
139
+ model = DeleteModelResponse.new
140
+ model.deserialize(response['Response'])
141
+ model
142
+ else
143
+ code = response['Response']['Error']['Code']
144
+ message = response['Response']['Error']['Message']
145
+ reqid = response['Response']['RequestId']
146
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
147
+ end
148
+ rescue TencentCloud::Common::TencentCloudSDKException => e
149
+ raise e
150
+ rescue StandardError => e
151
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
152
+ end
153
+
154
+ # 查询已注册的唇色素材。
155
+
156
+ # @param request: Request instance for GetModelList.
157
+ # @type request: :class:`Tencentcloud::fmu::V20191213::GetModelListRequest`
158
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::GetModelListResponse`
159
+ def GetModelList(request)
160
+ body = send_request('GetModelList', request.serialize)
161
+ response = JSON.parse(body)
162
+ if response['Response'].key?('Error') == false
163
+ model = GetModelListResponse.new
164
+ model.deserialize(response['Response'])
165
+ model
166
+ else
167
+ code = response['Response']['Error']['Code']
168
+ message = response['Response']['Error']['Message']
169
+ reqid = response['Response']['RequestId']
170
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
171
+ end
172
+ rescue TencentCloud::Common::TencentCloudSDKException => e
173
+ raise e
174
+ rescue StandardError => e
175
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
+ end
177
+
178
+ # 查询视频美颜处理进度
179
+
180
+ # @param request: Request instance for QueryBeautifyVideoJob.
181
+ # @type request: :class:`Tencentcloud::fmu::V20191213::QueryBeautifyVideoJobRequest`
182
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::QueryBeautifyVideoJobResponse`
183
+ def QueryBeautifyVideoJob(request)
184
+ body = send_request('QueryBeautifyVideoJob', request.serialize)
185
+ response = JSON.parse(body)
186
+ if response['Response'].key?('Error') == false
187
+ model = QueryBeautifyVideoJobResponse.new
188
+ model.deserialize(response['Response'])
189
+ model
190
+ else
191
+ code = response['Response']['Error']['Code']
192
+ message = response['Response']['Error']['Message']
193
+ reqid = response['Response']['RequestId']
194
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
195
+ end
196
+ rescue TencentCloud::Common::TencentCloudSDKException => e
197
+ raise e
198
+ rescue StandardError => e
199
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
+ end
201
+
202
+ # 上传一张照片,输出滤镜处理后的图片。
203
+
204
+ # @param request: Request instance for StyleImage.
205
+ # @type request: :class:`Tencentcloud::fmu::V20191213::StyleImageRequest`
206
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::StyleImageResponse`
207
+ def StyleImage(request)
208
+ body = send_request('StyleImage', request.serialize)
209
+ response = JSON.parse(body)
210
+ if response['Response'].key?('Error') == false
211
+ model = StyleImageResponse.new
212
+ model.deserialize(response['Response'])
213
+ model
214
+ else
215
+ code = response['Response']['Error']['Code']
216
+ message = response['Response']['Error']['Message']
217
+ reqid = response['Response']['RequestId']
218
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
219
+ end
220
+ rescue TencentCloud::Common::TencentCloudSDKException => e
221
+ raise e
222
+ rescue StandardError => e
223
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
224
+ end
225
+
226
+ # 上传一张照片,输出滤镜处理后的图片。
227
+
228
+ # @param request: Request instance for StyleImagePro.
229
+ # @type request: :class:`Tencentcloud::fmu::V20191213::StyleImageProRequest`
230
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::StyleImageProResponse`
231
+ def StyleImagePro(request)
232
+ body = send_request('StyleImagePro', request.serialize)
233
+ response = JSON.parse(body)
234
+ if response['Response'].key?('Error') == false
235
+ model = StyleImageProResponse.new
236
+ model.deserialize(response['Response'])
237
+ model
238
+ else
239
+ code = response['Response']['Error']['Code']
240
+ message = response['Response']['Error']['Message']
241
+ reqid = response['Response']['RequestId']
242
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
243
+ end
244
+ rescue TencentCloud::Common::TencentCloudSDKException => e
245
+ raise e
246
+ rescue StandardError => e
247
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
248
+ end
249
+
250
+ # 对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。
251
+
252
+ # 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。
253
+
254
+ # 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。
255
+
256
+ # >
257
+ # - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
258
+
259
+ # @param request: Request instance for TryLipstickPic.
260
+ # @type request: :class:`Tencentcloud::fmu::V20191213::TryLipstickPicRequest`
261
+ # @rtype: :class:`Tencentcloud::fmu::V20191213::TryLipstickPicResponse`
262
+ def TryLipstickPic(request)
263
+ body = send_request('TryLipstickPic', request.serialize)
264
+ response = JSON.parse(body)
265
+ if response['Response'].key?('Error') == false
266
+ model = TryLipstickPicResponse.new
267
+ model.deserialize(response['Response'])
268
+ model
269
+ else
270
+ code = response['Response']['Error']['Code']
271
+ message = response['Response']['Error']['Message']
272
+ reqid = response['Response']['RequestId']
273
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
274
+ end
275
+ rescue TencentCloud::Common::TencentCloudSDKException => e
276
+ raise e
277
+ rescue StandardError => e
278
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
279
+ end
280
+
281
+
282
+ end
283
+ end
284
+ end
285
+ end
@@ -0,0 +1,731 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Fmu
19
+ module V20191213
20
+ # BeautifyPic请求参数结构体
21
+ class BeautifyPicRequest < TencentCloud::Common::AbstractModel
22
+ # @param Image: 图片 base64 数据,base64 编码后大小不可超过5M。
23
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
24
+ # @type Image: String
25
+ # @param Url: 图片的 Url 。对应图片 base64 编码后大小不可超过5M。
26
+ # Url、Image必须提供一个,如果都提供,只使用 Url。
27
+ # 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
28
+ # 非腾讯云存储的Url速度和稳定性可能受一定影响。
29
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
30
+ # @type Url: String
31
+ # @param Whitening: 美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。
32
+ # @type Whitening: Integer
33
+ # @param Smoothing: 磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值10。
34
+ # @type Smoothing: Integer
35
+ # @param FaceLifting: 瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。
36
+ # @type FaceLifting: Integer
37
+ # @param EyeEnlarging: 大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。
38
+ # @type EyeEnlarging: Integer
39
+ # @param RspImgType: 返回图像方式(base64 或 url ) ,二选一。url有效期为1天。
40
+ # @type RspImgType: String
41
+
42
+ attr_accessor :Image, :Url, :Whitening, :Smoothing, :FaceLifting, :EyeEnlarging, :RspImgType
43
+
44
+ def initialize(image=nil, url=nil, whitening=nil, smoothing=nil, facelifting=nil, eyeenlarging=nil, rspimgtype=nil)
45
+ @Image = image
46
+ @Url = url
47
+ @Whitening = whitening
48
+ @Smoothing = smoothing
49
+ @FaceLifting = facelifting
50
+ @EyeEnlarging = eyeenlarging
51
+ @RspImgType = rspimgtype
52
+ end
53
+
54
+ def deserialize(params)
55
+ @Image = params['Image']
56
+ @Url = params['Url']
57
+ @Whitening = params['Whitening']
58
+ @Smoothing = params['Smoothing']
59
+ @FaceLifting = params['FaceLifting']
60
+ @EyeEnlarging = params['EyeEnlarging']
61
+ @RspImgType = params['RspImgType']
62
+ end
63
+ end
64
+
65
+ # BeautifyPic返回参数结构体
66
+ class BeautifyPicResponse < TencentCloud::Common::AbstractModel
67
+ # @param ResultImage: RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64
68
+ # @type ResultImage: String
69
+ # @param ResultUrl: RspImgType 为 url 时,返回处理后的图片 url 数据。
70
+ # @type ResultUrl: String
71
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
72
+ # @type RequestId: String
73
+
74
+ attr_accessor :ResultImage, :ResultUrl, :RequestId
75
+
76
+ def initialize(resultimage=nil, resulturl=nil, requestid=nil)
77
+ @ResultImage = resultimage
78
+ @ResultUrl = resulturl
79
+ @RequestId = requestid
80
+ end
81
+
82
+ def deserialize(params)
83
+ @ResultImage = params['ResultImage']
84
+ @ResultUrl = params['ResultUrl']
85
+ @RequestId = params['RequestId']
86
+ end
87
+ end
88
+
89
+ # 视频美颜返回结果
90
+ class BeautifyVideoOutput < TencentCloud::Common::AbstractModel
91
+ # @param VideoUrl: 视频美颜输出的url
92
+ # 注意:此字段可能返回 null,表示取不到有效值。
93
+ # @type VideoUrl: String
94
+ # @param VideoMD5: 视频美颜输出的视频MD5,用于校验
95
+ # 注意:此字段可能返回 null,表示取不到有效值。
96
+ # @type VideoMD5: String
97
+ # @param CoverImage: 美颜输出的视频封面图base64字符串
98
+ # 注意:此字段可能返回 null,表示取不到有效值。
99
+ # @type CoverImage: String
100
+ # @param Width: 视频宽度
101
+ # 注意:此字段可能返回 null,表示取不到有效值。
102
+ # @type Width: Integer
103
+ # @param Height: 视频高度
104
+ # 注意:此字段可能返回 null,表示取不到有效值。
105
+ # @type Height: Integer
106
+ # @param Fps: 每秒传输帧数
107
+ # 注意:此字段可能返回 null,表示取不到有效值。
108
+ # @type Fps: Float
109
+ # @param DurationInSec: 视频播放时长,单位为秒
110
+ # 注意:此字段可能返回 null,表示取不到有效值。
111
+ # @type DurationInSec: Float
112
+
113
+ attr_accessor :VideoUrl, :VideoMD5, :CoverImage, :Width, :Height, :Fps, :DurationInSec
114
+
115
+ def initialize(videourl=nil, videomd5=nil, coverimage=nil, width=nil, height=nil, fps=nil, durationinsec=nil)
116
+ @VideoUrl = videourl
117
+ @VideoMD5 = videomd5
118
+ @CoverImage = coverimage
119
+ @Width = width
120
+ @Height = height
121
+ @Fps = fps
122
+ @DurationInSec = durationinsec
123
+ end
124
+
125
+ def deserialize(params)
126
+ @VideoUrl = params['VideoUrl']
127
+ @VideoMD5 = params['VideoMD5']
128
+ @CoverImage = params['CoverImage']
129
+ @Width = params['Width']
130
+ @Height = params['Height']
131
+ @Fps = params['Fps']
132
+ @DurationInSec = params['DurationInSec']
133
+ end
134
+ end
135
+
136
+ # BeautifyVideo请求参数结构体
137
+ class BeautifyVideoRequest < TencentCloud::Common::AbstractModel
138
+ # @param Url: 视频url地址
139
+ # @type Url: String
140
+ # @param BeautyParam: 美颜参数 - 美白、平滑、大眼和瘦脸。参数值范围[0, 100]。参数值为0,则不做美颜。参数默认值为0。目前默认取数组第一个元素是对所有人脸美颜。
141
+ # @type BeautyParam: Array
142
+ # @param OutputVideoType: 目前只支持mp4
143
+ # @type OutputVideoType: String
144
+
145
+ attr_accessor :Url, :BeautyParam, :OutputVideoType
146
+
147
+ def initialize(url=nil, beautyparam=nil, outputvideotype=nil)
148
+ @Url = url
149
+ @BeautyParam = beautyparam
150
+ @OutputVideoType = outputvideotype
151
+ end
152
+
153
+ def deserialize(params)
154
+ @Url = params['Url']
155
+ unless params['BeautyParam'].nil?
156
+ @BeautyParam = []
157
+ params['BeautyParam'].each do |i|
158
+ beautyparam_tmp = BeautyParam.new
159
+ beautyparam_tmp.deserialize(i)
160
+ @BeautyParam << beautyparam_tmp
161
+ end
162
+ end
163
+ @OutputVideoType = params['OutputVideoType']
164
+ end
165
+ end
166
+
167
+ # BeautifyVideo返回参数结构体
168
+ class BeautifyVideoResponse < TencentCloud::Common::AbstractModel
169
+ # @param JobId: 视频美颜任务的Job id
170
+ # @type JobId: String
171
+ # @param EstimatedProcessTime: 预估处理时间,粒度为秒
172
+ # @type EstimatedProcessTime: Integer
173
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
174
+ # @type RequestId: String
175
+
176
+ attr_accessor :JobId, :EstimatedProcessTime, :RequestId
177
+
178
+ def initialize(jobid=nil, estimatedprocesstime=nil, requestid=nil)
179
+ @JobId = jobid
180
+ @EstimatedProcessTime = estimatedprocesstime
181
+ @RequestId = requestid
182
+ end
183
+
184
+ def deserialize(params)
185
+ @JobId = params['JobId']
186
+ @EstimatedProcessTime = params['EstimatedProcessTime']
187
+ @RequestId = params['RequestId']
188
+ end
189
+ end
190
+
191
+ # 全局美颜参数,针对所有人脸做美颜。参数全部为0,则为不做美颜
192
+ class BeautyParam < TencentCloud::Common::AbstractModel
193
+ # @param WhitenLevel: 美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。
194
+ # @type WhitenLevel: Integer
195
+ # @param SmoothingLevel: 磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值30。
196
+ # @type SmoothingLevel: Integer
197
+ # @param EyeEnlargeLevel: 大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。
198
+ # @type EyeEnlargeLevel: Integer
199
+ # @param FaceShrinkLevel: 瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。
200
+ # @type FaceShrinkLevel: Integer
201
+
202
+ attr_accessor :WhitenLevel, :SmoothingLevel, :EyeEnlargeLevel, :FaceShrinkLevel
203
+
204
+ def initialize(whitenlevel=nil, smoothinglevel=nil, eyeenlargelevel=nil, faceshrinklevel=nil)
205
+ @WhitenLevel = whitenlevel
206
+ @SmoothingLevel = smoothinglevel
207
+ @EyeEnlargeLevel = eyeenlargelevel
208
+ @FaceShrinkLevel = faceshrinklevel
209
+ end
210
+
211
+ def deserialize(params)
212
+ @WhitenLevel = params['WhitenLevel']
213
+ @SmoothingLevel = params['SmoothingLevel']
214
+ @EyeEnlargeLevel = params['EyeEnlargeLevel']
215
+ @FaceShrinkLevel = params['FaceShrinkLevel']
216
+ end
217
+ end
218
+
219
+ # CancelBeautifyVideoJob请求参数结构体
220
+ class CancelBeautifyVideoJobRequest < TencentCloud::Common::AbstractModel
221
+ # @param JobId: 美颜视频的Job id
222
+ # @type JobId: String
223
+
224
+ attr_accessor :JobId
225
+
226
+ def initialize(jobid=nil)
227
+ @JobId = jobid
228
+ end
229
+
230
+ def deserialize(params)
231
+ @JobId = params['JobId']
232
+ end
233
+ end
234
+
235
+ # CancelBeautifyVideoJob返回参数结构体
236
+ class CancelBeautifyVideoJobResponse < TencentCloud::Common::AbstractModel
237
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
238
+ # @type RequestId: String
239
+
240
+ attr_accessor :RequestId
241
+
242
+ def initialize(requestid=nil)
243
+ @RequestId = requestid
244
+ end
245
+
246
+ def deserialize(params)
247
+ @RequestId = params['RequestId']
248
+ end
249
+ end
250
+
251
+ # CreateModel请求参数结构体
252
+ class CreateModelRequest < TencentCloud::Common::AbstractModel
253
+ # @param LUTFile: 图片base64数据,用于试唇色,要求必须是LUT 格式的cube文件转换成512*512的PNG图片。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。了解 [cube文件转png图片小工具](http://yyb.gtimg.com/aiplat/static/qcloud-cube-to-png.html)。
254
+ # @type LUTFile: String
255
+ # @param Description: 文件描述信息,可用于备注。
256
+ # @type Description: String
257
+
258
+ attr_accessor :LUTFile, :Description
259
+
260
+ def initialize(lutfile=nil, description=nil)
261
+ @LUTFile = lutfile
262
+ @Description = description
263
+ end
264
+
265
+ def deserialize(params)
266
+ @LUTFile = params['LUTFile']
267
+ @Description = params['Description']
268
+ end
269
+ end
270
+
271
+ # CreateModel返回参数结构体
272
+ class CreateModelResponse < TencentCloud::Common::AbstractModel
273
+ # @param ModelId: 唇色素材ID。
274
+ # @type ModelId: String
275
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
276
+ # @type RequestId: String
277
+
278
+ attr_accessor :ModelId, :RequestId
279
+
280
+ def initialize(modelid=nil, requestid=nil)
281
+ @ModelId = modelid
282
+ @RequestId = requestid
283
+ end
284
+
285
+ def deserialize(params)
286
+ @ModelId = params['ModelId']
287
+ @RequestId = params['RequestId']
288
+ end
289
+ end
290
+
291
+ # DeleteModel请求参数结构体
292
+ class DeleteModelRequest < TencentCloud::Common::AbstractModel
293
+ # @param ModelId: 素材ID。
294
+ # @type ModelId: String
295
+
296
+ attr_accessor :ModelId
297
+
298
+ def initialize(modelid=nil)
299
+ @ModelId = modelid
300
+ end
301
+
302
+ def deserialize(params)
303
+ @ModelId = params['ModelId']
304
+ end
305
+ end
306
+
307
+ # DeleteModel返回参数结构体
308
+ class DeleteModelResponse < TencentCloud::Common::AbstractModel
309
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
310
+ # @type RequestId: String
311
+
312
+ attr_accessor :RequestId
313
+
314
+ def initialize(requestid=nil)
315
+ @RequestId = requestid
316
+ end
317
+
318
+ def deserialize(params)
319
+ @RequestId = params['RequestId']
320
+ end
321
+ end
322
+
323
+ # 人脸框信息
324
+ class FaceRect < TencentCloud::Common::AbstractModel
325
+ # @param X: 人脸框左上角横坐标。
326
+ # @type X: Integer
327
+ # @param Y: 人脸框左上角纵坐标。
328
+ # @type Y: Integer
329
+ # @param Width: 人脸框宽度。
330
+ # @type Width: Integer
331
+ # @param Height: 人脸框高度。
332
+ # @type Height: Integer
333
+
334
+ attr_accessor :X, :Y, :Width, :Height
335
+
336
+ def initialize(x=nil, y=nil, width=nil, height=nil)
337
+ @X = x
338
+ @Y = y
339
+ @Width = width
340
+ @Height = height
341
+ end
342
+
343
+ def deserialize(params)
344
+ @X = params['X']
345
+ @Y = params['Y']
346
+ @Width = params['Width']
347
+ @Height = params['Height']
348
+ end
349
+ end
350
+
351
+ # GetModelList请求参数结构体
352
+ class GetModelListRequest < TencentCloud::Common::AbstractModel
353
+ # @param Offset: 起始序号,默认值为0。
354
+ # @type Offset: Integer
355
+ # @param Limit: 返回数量,默认值为10,最大值为100。
356
+ # @type Limit: Integer
357
+
358
+ attr_accessor :Offset, :Limit
359
+
360
+ def initialize(offset=nil, limit=nil)
361
+ @Offset = offset
362
+ @Limit = limit
363
+ end
364
+
365
+ def deserialize(params)
366
+ @Offset = params['Offset']
367
+ @Limit = params['Limit']
368
+ end
369
+ end
370
+
371
+ # GetModelList返回参数结构体
372
+ class GetModelListResponse < TencentCloud::Common::AbstractModel
373
+ # @param ModelIdNum: 唇色素材总数量。
374
+ # @type ModelIdNum: Integer
375
+ # @param ModelInfos: 素材数据
376
+ # 注意:此字段可能返回 null,表示取不到有效值。
377
+ # @type ModelInfos: Array
378
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
379
+ # @type RequestId: String
380
+
381
+ attr_accessor :ModelIdNum, :ModelInfos, :RequestId
382
+
383
+ def initialize(modelidnum=nil, modelinfos=nil, requestid=nil)
384
+ @ModelIdNum = modelidnum
385
+ @ModelInfos = modelinfos
386
+ @RequestId = requestid
387
+ end
388
+
389
+ def deserialize(params)
390
+ @ModelIdNum = params['ModelIdNum']
391
+ unless params['ModelInfos'].nil?
392
+ @ModelInfos = []
393
+ params['ModelInfos'].each do |i|
394
+ modelinfo_tmp = ModelInfo.new
395
+ modelinfo_tmp.deserialize(i)
396
+ @ModelInfos << modelinfo_tmp
397
+ end
398
+ end
399
+ @RequestId = params['RequestId']
400
+ end
401
+ end
402
+
403
+ # 唇色信息
404
+ class LipColorInfo < TencentCloud::Common::AbstractModel
405
+ # @param RGBA: 使用RGBA模型试唇色。
406
+ # @type RGBA: :class:`Tencentcloud::Fmu.v20191213.models.RGBAInfo`
407
+ # @param ModelId: 使用已注册的 LUT 文件试唇色。
408
+ # ModelId 和 RGBA 两个参数只需提供一个,若都提供只使用 ModelId。
409
+ # @type ModelId: String
410
+ # @param FaceRect: 人脸框位置。若不输入则选择 Image 或 Url 中面积最大的人脸。
411
+ # 您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取人脸框位置信息。
412
+ # @type FaceRect: :class:`Tencentcloud::Fmu.v20191213.models.FaceRect`
413
+ # @param ModelAlpha: 涂妆浓淡[0,100]。建议取值50。本参数仅控制ModelId对应的涂妆浓淡。
414
+ # @type ModelAlpha: Integer
415
+
416
+ attr_accessor :RGBA, :ModelId, :FaceRect, :ModelAlpha
417
+
418
+ def initialize(rgba=nil, modelid=nil, facerect=nil, modelalpha=nil)
419
+ @RGBA = rgba
420
+ @ModelId = modelid
421
+ @FaceRect = facerect
422
+ @ModelAlpha = modelalpha
423
+ end
424
+
425
+ def deserialize(params)
426
+ unless params['RGBA'].nil?
427
+ @RGBA = RGBAInfo.new
428
+ @RGBA.deserialize(params['RGBA'])
429
+ end
430
+ @ModelId = params['ModelId']
431
+ unless params['FaceRect'].nil?
432
+ @FaceRect = FaceRect.new
433
+ @FaceRect.deserialize(params['FaceRect'])
434
+ end
435
+ @ModelAlpha = params['ModelAlpha']
436
+ end
437
+ end
438
+
439
+ # LUT素材信息
440
+ class ModelInfo < TencentCloud::Common::AbstractModel
441
+ # @param ModelId: 唇色素材ID
442
+ # @type ModelId: String
443
+ # @param LUTFileUrl: 唇色素材 url 。 LUT 文件 url 5分钟有效。
444
+ # @type LUTFileUrl: String
445
+ # @param Description: 文件描述信息。
446
+ # @type Description: String
447
+
448
+ attr_accessor :ModelId, :LUTFileUrl, :Description
449
+
450
+ def initialize(modelid=nil, lutfileurl=nil, description=nil)
451
+ @ModelId = modelid
452
+ @LUTFileUrl = lutfileurl
453
+ @Description = description
454
+ end
455
+
456
+ def deserialize(params)
457
+ @ModelId = params['ModelId']
458
+ @LUTFileUrl = params['LUTFileUrl']
459
+ @Description = params['Description']
460
+ end
461
+ end
462
+
463
+ # QueryBeautifyVideoJob请求参数结构体
464
+ class QueryBeautifyVideoJobRequest < TencentCloud::Common::AbstractModel
465
+ # @param JobId: 视频美颜Job id
466
+ # @type JobId: String
467
+
468
+ attr_accessor :JobId
469
+
470
+ def initialize(jobid=nil)
471
+ @JobId = jobid
472
+ end
473
+
474
+ def deserialize(params)
475
+ @JobId = params['JobId']
476
+ end
477
+ end
478
+
479
+ # QueryBeautifyVideoJob返回参数结构体
480
+ class QueryBeautifyVideoJobResponse < TencentCloud::Common::AbstractModel
481
+ # @param JobStatus: 当前任务状态:排队中、处理中、处理失败或者处理完成
482
+ # @type JobStatus: String
483
+ # @param BeautifyVideoOutput: 视频美颜输出的结果信息
484
+ # 注意:此字段可能返回 null,表示取不到有效值。
485
+ # @type BeautifyVideoOutput: :class:`Tencentcloud::Fmu.v20191213.models.BeautifyVideoOutput`
486
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
487
+ # @type RequestId: String
488
+
489
+ attr_accessor :JobStatus, :BeautifyVideoOutput, :RequestId
490
+
491
+ def initialize(jobstatus=nil, beautifyvideooutput=nil, requestid=nil)
492
+ @JobStatus = jobstatus
493
+ @BeautifyVideoOutput = beautifyvideooutput
494
+ @RequestId = requestid
495
+ end
496
+
497
+ def deserialize(params)
498
+ @JobStatus = params['JobStatus']
499
+ unless params['BeautifyVideoOutput'].nil?
500
+ @BeautifyVideoOutput = BeautifyVideoOutput.new
501
+ @BeautifyVideoOutput.deserialize(params['BeautifyVideoOutput'])
502
+ end
503
+ @RequestId = params['RequestId']
504
+ end
505
+ end
506
+
507
+ # RGBA通道信息
508
+ class RGBAInfo < TencentCloud::Common::AbstractModel
509
+ # @param R: R通道数值。[0,255]。
510
+ # @type R: Integer
511
+ # @param G: G通道数值。[0,255]。
512
+ # @type G: Integer
513
+ # @param B: B通道数值。[0,255]。
514
+ # @type B: Integer
515
+ # @param A: A通道数值。[0,100]。建议取值50。
516
+ # @type A: Integer
517
+
518
+ attr_accessor :R, :G, :B, :A
519
+
520
+ def initialize(r=nil, g=nil, b=nil, a=nil)
521
+ @R = r
522
+ @G = g
523
+ @B = b
524
+ @A = a
525
+ end
526
+
527
+ def deserialize(params)
528
+ @R = params['R']
529
+ @G = params['G']
530
+ @B = params['B']
531
+ @A = params['A']
532
+ end
533
+ end
534
+
535
+ # StyleImagePro请求参数结构体
536
+ class StyleImageProRequest < TencentCloud::Common::AbstractModel
537
+ # @param FilterType: 滤镜类型,取值如下:
538
+ # 1.白茶;2 白皙;3.初夏;4.东京;5.告白;6.暖阳;7.蔷薇;8.清澄;9.清透;10.甜薄荷;11.默认;12.心动;13.哑灰;14.樱桃布丁;15.自然;16.清逸;17.黑白;18.水果;19.爱情;20.冬日;21.相片;22.夏日;23.香氛;24.魅惑;25.悸动;26.沙滩;27.街拍;28.甜美;29.初吻;30.午后;31.活力;32.朦胧;33.悦动;34.时尚;35.气泡;36.柠檬;37.棉花糖;38.小溪;39.丽人;40.咖啡;41.嫩芽;42.热情;43.渐暖;44.早餐;45.白茶;46.白嫩;47.圣代;48.森林;49.冲浪;50.奶咖;51.清澈;52.微风;53.日落;54.水光;55.日系;56.星光;57.阳光;58.落叶;59.生机;60.甜心;61.清逸;62.春意;63.罗马;64.青涩;65.清风;66.暖心;67.海水;68.神秘;69.旧调1;70.旧调2;71.雪顶;72.日光;73.浮云;74.流彩;75.胶片;76.回味;77.奶酪;78.蝴蝶。
539
+ # @type FilterType: Integer
540
+ # @param Image: 图片 base64 数据,base64 编码后大小不可超过5M。
541
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
542
+ # @type Image: String
543
+ # @param Url: 图片的 Url ,对应图片 base64 编码后大小不可超过5M。
544
+ # 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
545
+ # 图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。
546
+ # 非腾讯云存储的Url速度和稳定性可能受一定影响。
547
+ # 支持PNG、JPG、JPEG、BMP 等图片格式,不支持 GIF 图片。
548
+ # @type Url: String
549
+ # @param FilterDegree: 滤镜效果,取值[0,100],0表示无效果,100表示满滤镜效果。默认值为80。
550
+ # @type FilterDegree: Integer
551
+ # @param RspImgType: 返回图像方式(base64 或 url ) ,二选一。url有效期为1天。
552
+ # @type RspImgType: String
553
+
554
+ attr_accessor :FilterType, :Image, :Url, :FilterDegree, :RspImgType
555
+
556
+ def initialize(filtertype=nil, image=nil, url=nil, filterdegree=nil, rspimgtype=nil)
557
+ @FilterType = filtertype
558
+ @Image = image
559
+ @Url = url
560
+ @FilterDegree = filterdegree
561
+ @RspImgType = rspimgtype
562
+ end
563
+
564
+ def deserialize(params)
565
+ @FilterType = params['FilterType']
566
+ @Image = params['Image']
567
+ @Url = params['Url']
568
+ @FilterDegree = params['FilterDegree']
569
+ @RspImgType = params['RspImgType']
570
+ end
571
+ end
572
+
573
+ # StyleImagePro返回参数结构体
574
+ class StyleImageProResponse < TencentCloud::Common::AbstractModel
575
+ # @param ResultImage: RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64
576
+ # 注意:此字段可能返回 null,表示取不到有效值。
577
+ # @type ResultImage: String
578
+ # @param ResultUrl: RspImgType 为 url 时,返回处理后的图片 url 数据。
579
+ # 注意:此字段可能返回 null,表示取不到有效值。
580
+ # @type ResultUrl: String
581
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
582
+ # @type RequestId: String
583
+
584
+ attr_accessor :ResultImage, :ResultUrl, :RequestId
585
+
586
+ def initialize(resultimage=nil, resulturl=nil, requestid=nil)
587
+ @ResultImage = resultimage
588
+ @ResultUrl = resulturl
589
+ @RequestId = requestid
590
+ end
591
+
592
+ def deserialize(params)
593
+ @ResultImage = params['ResultImage']
594
+ @ResultUrl = params['ResultUrl']
595
+ @RequestId = params['RequestId']
596
+ end
597
+ end
598
+
599
+ # StyleImage请求参数结构体
600
+ class StyleImageRequest < TencentCloud::Common::AbstractModel
601
+ # @param FilterType: 滤镜类型,取值如下:
602
+ # 1.白茶;2 白皙;3.初夏;4.东京;5.告白;6.暖阳;7.蔷薇;8.清澄;9.清透;10.甜薄荷;11.默认;12.心动;13.哑灰;14.樱桃布丁;15.自然;16.清逸;17.黑白;18.水果;19.爱情;20.冬日;21.相片;22.夏日;23.香氛;24.魅惑;25.悸动;26.沙滩;27.街拍;28.甜美;29.初吻;30.午后。
603
+ # @type FilterType: Integer
604
+ # @param Image: 图片 base64 数据,base64 编码后大小不可超过5M。
605
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
606
+ # @type Image: String
607
+ # @param Url: 图片的 Url ,对应图片 base64 编码后大小不可超过5M。
608
+ # 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
609
+ # 图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。
610
+ # 非腾讯云存储的Url速度和稳定性可能受一定影响。
611
+ # 支持PNG、JPG、JPEG、BMP 等图片格式,不支持 GIF 图片。
612
+ # @type Url: String
613
+ # @param FilterDegree: 滤镜效果,取值[0,100],0表示无效果,100表示满滤镜效果。默认值为80。
614
+ # @type FilterDegree: Integer
615
+ # @param RspImgType: 返回图像方式(base64 或 url ) ,二选一。url有效期为1天。
616
+ # @type RspImgType: String
617
+
618
+ attr_accessor :FilterType, :Image, :Url, :FilterDegree, :RspImgType
619
+
620
+ def initialize(filtertype=nil, image=nil, url=nil, filterdegree=nil, rspimgtype=nil)
621
+ @FilterType = filtertype
622
+ @Image = image
623
+ @Url = url
624
+ @FilterDegree = filterdegree
625
+ @RspImgType = rspimgtype
626
+ end
627
+
628
+ def deserialize(params)
629
+ @FilterType = params['FilterType']
630
+ @Image = params['Image']
631
+ @Url = params['Url']
632
+ @FilterDegree = params['FilterDegree']
633
+ @RspImgType = params['RspImgType']
634
+ end
635
+ end
636
+
637
+ # StyleImage返回参数结构体
638
+ class StyleImageResponse < TencentCloud::Common::AbstractModel
639
+ # @param ResultImage: RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64
640
+ # 注意:此字段可能返回 null,表示取不到有效值。
641
+ # @type ResultImage: String
642
+ # @param ResultUrl: RspImgType 为 url 时,返回处理后的图片 url 数据。
643
+ # 注意:此字段可能返回 null,表示取不到有效值。
644
+ # @type ResultUrl: String
645
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
646
+ # @type RequestId: String
647
+
648
+ attr_accessor :ResultImage, :ResultUrl, :RequestId
649
+
650
+ def initialize(resultimage=nil, resulturl=nil, requestid=nil)
651
+ @ResultImage = resultimage
652
+ @ResultUrl = resulturl
653
+ @RequestId = requestid
654
+ end
655
+
656
+ def deserialize(params)
657
+ @ResultImage = params['ResultImage']
658
+ @ResultUrl = params['ResultUrl']
659
+ @RequestId = params['RequestId']
660
+ end
661
+ end
662
+
663
+ # TryLipstickPic请求参数结构体
664
+ class TryLipstickPicRequest < TencentCloud::Common::AbstractModel
665
+ # @param LipColorInfos: 唇色信息。
666
+ # 您可以输入最多3个 LipColorInfo 来实现给一张图中的最多3张人脸试唇色。
667
+ # @type LipColorInfos: Array
668
+ # @param Image: 图片 base64 数据,base64 编码后大小不可超过6M。
669
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
670
+ # @type Image: String
671
+ # @param Url: 图片的 Url ,对应图片 base64 编码后大小不可超过6M。
672
+ # 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
673
+ # 图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。
674
+ # 非腾讯云存储的Url速度和稳定性可能受一定影响。
675
+ # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
676
+ # @type Url: String
677
+ # @param RspImgType: 返回图像方式(base64 或 url ) ,二选一。url有效期为1天。
678
+ # @type RspImgType: String
679
+
680
+ attr_accessor :LipColorInfos, :Image, :Url, :RspImgType
681
+
682
+ def initialize(lipcolorinfos=nil, image=nil, url=nil, rspimgtype=nil)
683
+ @LipColorInfos = lipcolorinfos
684
+ @Image = image
685
+ @Url = url
686
+ @RspImgType = rspimgtype
687
+ end
688
+
689
+ def deserialize(params)
690
+ unless params['LipColorInfos'].nil?
691
+ @LipColorInfos = []
692
+ params['LipColorInfos'].each do |i|
693
+ lipcolorinfo_tmp = LipColorInfo.new
694
+ lipcolorinfo_tmp.deserialize(i)
695
+ @LipColorInfos << lipcolorinfo_tmp
696
+ end
697
+ end
698
+ @Image = params['Image']
699
+ @Url = params['Url']
700
+ @RspImgType = params['RspImgType']
701
+ end
702
+ end
703
+
704
+ # TryLipstickPic返回参数结构体
705
+ class TryLipstickPicResponse < TencentCloud::Common::AbstractModel
706
+ # @param ResultImage: RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64
707
+ # @type ResultImage: String
708
+ # @param ResultUrl: RspImgType 为 url 时,返回处理后的图片 url 数据。
709
+ # @type ResultUrl: String
710
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
711
+ # @type RequestId: String
712
+
713
+ attr_accessor :ResultImage, :ResultUrl, :RequestId
714
+
715
+ def initialize(resultimage=nil, resulturl=nil, requestid=nil)
716
+ @ResultImage = resultimage
717
+ @ResultUrl = resulturl
718
+ @RequestId = requestid
719
+ end
720
+
721
+ def deserialize(params)
722
+ @ResultImage = params['ResultImage']
723
+ @ResultUrl = params['ResultUrl']
724
+ @RequestId = params['RequestId']
725
+ end
726
+ end
727
+
728
+ end
729
+ end
730
+ end
731
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-fmu
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.200
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ FMU.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/VERSION
37
+ - lib/tencentcloud-sdk-fmu.rb
38
+ - lib/v20191213/client.rb
39
+ - lib/v20191213/models.rb
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-fmu
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.6.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - FMU
66
+ test_files: []