代码修改后的版本,全部提交
This commit is contained in:
274
TencentCloud/Fmu/V20191213/FmuClient.cs
Normal file
274
TencentCloud/Fmu/V20191213/FmuClient.cs
Normal file
@@ -0,0 +1,274 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213
|
||||
{
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using System.Threading.Tasks;
|
||||
using TencentCloud.Common;
|
||||
using TencentCloud.Common.Profile;
|
||||
using TencentCloud.Fmu.V20191213.Models;
|
||||
|
||||
public class FmuClient : AbstractClient{
|
||||
|
||||
private const string endpoint = "fmu.tencentcloudapi.com";
|
||||
private const string version = "2019-12-13";
|
||||
|
||||
/// <summary>
|
||||
/// Client constructor.
|
||||
/// </summary>
|
||||
/// <param name="credential">Credentials.</param>
|
||||
/// <param name="region">Region name, such as "ap-guangzhou".</param>
|
||||
public FmuClient(Credential credential, string region)
|
||||
: this(credential, region, new ClientProfile())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Client Constructor.
|
||||
/// </summary>
|
||||
/// <param name="credential">Credentials.</param>
|
||||
/// <param name="region">Region name, such as "ap-guangzhou".</param>
|
||||
/// <param name="profile">Client profiles.</param>
|
||||
public FmuClient(Credential credential, string region, ClientProfile profile)
|
||||
: base(endpoint, version, credential, region, profile)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户上传一张人脸图片,精准定位五官,实现美肤、亮肤、祛痘等美颜功能。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="BeautifyPicRequest"/></param>
|
||||
/// <returns><see cref="BeautifyPicResponse"/></returns>
|
||||
public async Task<BeautifyPicResponse> BeautifyPic(BeautifyPicRequest req)
|
||||
{
|
||||
JsonResponseModel<BeautifyPicResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "BeautifyPic");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<BeautifyPicResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户上传一张人脸图片,精准定位五官,实现美肤、亮肤、祛痘等美颜功能。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="BeautifyPicRequest"/></param>
|
||||
/// <returns><see cref="BeautifyPicResponse"/></returns>
|
||||
public BeautifyPicResponse BeautifyPicSync(BeautifyPicRequest req)
|
||||
{
|
||||
JsonResponseModel<BeautifyPicResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "BeautifyPic");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<BeautifyPicResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。
|
||||
///
|
||||
/// 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="CreateModelRequest"/></param>
|
||||
/// <returns><see cref="CreateModelResponse"/></returns>
|
||||
public async Task<CreateModelResponse> CreateModel(CreateModelRequest req)
|
||||
{
|
||||
JsonResponseModel<CreateModelResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "CreateModel");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<CreateModelResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。
|
||||
///
|
||||
/// 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="CreateModelRequest"/></param>
|
||||
/// <returns><see cref="CreateModelResponse"/></returns>
|
||||
public CreateModelResponse CreateModelSync(CreateModelRequest req)
|
||||
{
|
||||
JsonResponseModel<CreateModelResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "CreateModel");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<CreateModelResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除已注册的唇色素材。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DeleteModelRequest"/></param>
|
||||
/// <returns><see cref="DeleteModelResponse"/></returns>
|
||||
public async Task<DeleteModelResponse> DeleteModel(DeleteModelRequest req)
|
||||
{
|
||||
JsonResponseModel<DeleteModelResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "DeleteModel");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeleteModelResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除已注册的唇色素材。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="DeleteModelRequest"/></param>
|
||||
/// <returns><see cref="DeleteModelResponse"/></returns>
|
||||
public DeleteModelResponse DeleteModelSync(DeleteModelRequest req)
|
||||
{
|
||||
JsonResponseModel<DeleteModelResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "DeleteModel");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DeleteModelResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询已注册的唇色素材。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="GetModelListRequest"/></param>
|
||||
/// <returns><see cref="GetModelListResponse"/></returns>
|
||||
public async Task<GetModelListResponse> GetModelList(GetModelListRequest req)
|
||||
{
|
||||
JsonResponseModel<GetModelListResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "GetModelList");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<GetModelListResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询已注册的唇色素材。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="GetModelListRequest"/></param>
|
||||
/// <returns><see cref="GetModelListResponse"/></returns>
|
||||
public GetModelListResponse GetModelListSync(GetModelListRequest req)
|
||||
{
|
||||
JsonResponseModel<GetModelListResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "GetModelList");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<GetModelListResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。
|
||||
///
|
||||
/// 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。
|
||||
///
|
||||
/// 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。
|
||||
///
|
||||
/// >
|
||||
/// - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="TryLipstickPicRequest"/></param>
|
||||
/// <returns><see cref="TryLipstickPicResponse"/></returns>
|
||||
public async Task<TryLipstickPicResponse> TryLipstickPic(TryLipstickPicRequest req)
|
||||
{
|
||||
JsonResponseModel<TryLipstickPicResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = await this.InternalRequest(req, "TryLipstickPic");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<TryLipstickPicResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。
|
||||
///
|
||||
/// 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。
|
||||
///
|
||||
/// 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。
|
||||
///
|
||||
/// >
|
||||
/// - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
||||
/// </summary>
|
||||
/// <param name="req"><see cref="TryLipstickPicRequest"/></param>
|
||||
/// <returns><see cref="TryLipstickPicResponse"/></returns>
|
||||
public TryLipstickPicResponse TryLipstickPicSync(TryLipstickPicRequest req)
|
||||
{
|
||||
JsonResponseModel<TryLipstickPicResponse> rsp = null;
|
||||
try
|
||||
{
|
||||
var strResp = this.InternalRequestSync(req, "TryLipstickPic");
|
||||
rsp = JsonConvert.DeserializeObject<JsonResponseModel<TryLipstickPicResponse>>(strResp);
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
throw new TencentCloudSDKException(e.Message);
|
||||
}
|
||||
return rsp.Response;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
83
TencentCloud/Fmu/V20191213/Models/BeautifyPicRequest.cs
Normal file
83
TencentCloud/Fmu/V20191213/Models/BeautifyPicRequest.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BeautifyPicRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 图片 base64 数据,base64 编码后大小不可超过5M。
|
||||
/// 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
||||
/// </summary>
|
||||
[JsonProperty("Image")]
|
||||
public string Image{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片的 Url 。对应图片 base64 编码后大小不可超过5M。
|
||||
/// Url、Image必须提供一个,如果都提供,只使用 Url。
|
||||
/// 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
||||
/// 非腾讯云存储的Url速度和稳定性可能受一定影响。
|
||||
/// 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
||||
/// </summary>
|
||||
[JsonProperty("Url")]
|
||||
public string Url{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。
|
||||
/// </summary>
|
||||
[JsonProperty("Whitening")]
|
||||
public ulong? Whitening{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值10。
|
||||
/// </summary>
|
||||
[JsonProperty("Smoothing")]
|
||||
public ulong? Smoothing{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceLifting")]
|
||||
public ulong? FaceLifting{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。
|
||||
/// </summary>
|
||||
[JsonProperty("EyeEnlarging")]
|
||||
public ulong? EyeEnlarging{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Image", this.Image);
|
||||
this.SetParamSimple(map, prefix + "Url", this.Url);
|
||||
this.SetParamSimple(map, prefix + "Whitening", this.Whitening);
|
||||
this.SetParamSimple(map, prefix + "Smoothing", this.Smoothing);
|
||||
this.SetParamSimple(map, prefix + "FaceLifting", this.FaceLifting);
|
||||
this.SetParamSimple(map, prefix + "EyeEnlarging", this.EyeEnlarging);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Fmu/V20191213/Models/BeautifyPicResponse.cs
Normal file
50
TencentCloud/Fmu/V20191213/Models/BeautifyPicResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BeautifyPicResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 处理后的图片 base64 数据。
|
||||
/// </summary>
|
||||
[JsonProperty("ResultImage")]
|
||||
public string ResultImage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ResultImage", this.ResultImage);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Fmu/V20191213/Models/CreateModelRequest.cs
Normal file
50
TencentCloud/Fmu/V20191213/Models/CreateModelRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateModelRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用于试唇色,要求必须是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)。
|
||||
/// </summary>
|
||||
[JsonProperty("LUTFile")]
|
||||
public string LUTFile{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件描述信息,可用于备注。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LUTFile", this.LUTFile);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Fmu/V20191213/Models/CreateModelResponse.cs
Normal file
50
TencentCloud/Fmu/V20191213/Models/CreateModelResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateModelResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唇色素材ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ModelId")]
|
||||
public string ModelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModelId", this.ModelId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Fmu/V20191213/Models/DeleteModelRequest.cs
Normal file
43
TencentCloud/Fmu/V20191213/Models/DeleteModelRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteModelRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 素材ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ModelId")]
|
||||
public string ModelId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModelId", this.ModelId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Fmu/V20191213/Models/DeleteModelResponse.cs
Normal file
43
TencentCloud/Fmu/V20191213/Models/DeleteModelResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteModelResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Fmu/V20191213/Models/FaceRect.cs
Normal file
64
TencentCloud/Fmu/V20191213/Models/FaceRect.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class FaceRect : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人脸框左上角横坐标。
|
||||
/// </summary>
|
||||
[JsonProperty("X")]
|
||||
public long? X{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸框左上角纵坐标。
|
||||
/// </summary>
|
||||
[JsonProperty("Y")]
|
||||
public long? Y{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸框宽度。
|
||||
/// </summary>
|
||||
[JsonProperty("Width")]
|
||||
public long? Width{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸框高度。
|
||||
/// </summary>
|
||||
[JsonProperty("Height")]
|
||||
public long? Height{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "X", this.X);
|
||||
this.SetParamSimple(map, prefix + "Y", this.Y);
|
||||
this.SetParamSimple(map, prefix + "Width", this.Width);
|
||||
this.SetParamSimple(map, prefix + "Height", this.Height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Fmu/V20191213/Models/GetModelListRequest.cs
Normal file
50
TencentCloud/Fmu/V20191213/Models/GetModelListRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetModelListRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 起始序号,默认值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量,默认值为10,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
58
TencentCloud/Fmu/V20191213/Models/GetModelListResponse.cs
Normal file
58
TencentCloud/Fmu/V20191213/Models/GetModelListResponse.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetModelListResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唇色素材总数量。
|
||||
/// </summary>
|
||||
[JsonProperty("ModelIdNum")]
|
||||
public long? ModelIdNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 素材数据
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ModelInfos")]
|
||||
public ModelInfo[] ModelInfos{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModelIdNum", this.ModelIdNum);
|
||||
this.SetParamArrayObj(map, prefix + "ModelInfos.", this.ModelInfos);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
TencentCloud/Fmu/V20191213/Models/LipColorInfo.cs
Normal file
59
TencentCloud/Fmu/V20191213/Models/LipColorInfo.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LipColorInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 使用RGBA模型试唇色。
|
||||
/// </summary>
|
||||
[JsonProperty("RGBA")]
|
||||
public RGBAInfo RGBA{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使用已注册的 LUT 文件试唇色。
|
||||
/// ModelId 和 RGBA 两个参数只需提供一个,若都提供只使用 ModelId。
|
||||
/// </summary>
|
||||
[JsonProperty("ModelId")]
|
||||
public string ModelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸框位置。若不输入则选择 Image 或 Url 中面积最大的人脸。
|
||||
/// 您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取人脸框位置信息。
|
||||
/// </summary>
|
||||
[JsonProperty("FaceRect")]
|
||||
public FaceRect FaceRect{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "RGBA.", this.RGBA);
|
||||
this.SetParamSimple(map, prefix + "ModelId", this.ModelId);
|
||||
this.SetParamObj(map, prefix + "FaceRect.", this.FaceRect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Fmu/V20191213/Models/ModelInfo.cs
Normal file
57
TencentCloud/Fmu/V20191213/Models/ModelInfo.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModelInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唇色素材ID
|
||||
/// </summary>
|
||||
[JsonProperty("ModelId")]
|
||||
public string ModelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唇色素材 url 。 LUT 文件 url 5分钟有效。
|
||||
/// </summary>
|
||||
[JsonProperty("LUTFileUrl")]
|
||||
public string LUTFileUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件描述信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModelId", this.ModelId);
|
||||
this.SetParamSimple(map, prefix + "LUTFileUrl", this.LUTFileUrl);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Fmu/V20191213/Models/RGBAInfo.cs
Normal file
64
TencentCloud/Fmu/V20191213/Models/RGBAInfo.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RGBAInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// R通道数值。[0,255]。
|
||||
/// </summary>
|
||||
[JsonProperty("R")]
|
||||
public long? R{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// G通道数值。[0,255]。
|
||||
/// </summary>
|
||||
[JsonProperty("G")]
|
||||
public long? G{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// B通道数值。[0,255]。
|
||||
/// </summary>
|
||||
[JsonProperty("B")]
|
||||
public long? B{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A通道数值。[0,100]。建议取值50。
|
||||
/// </summary>
|
||||
[JsonProperty("A")]
|
||||
public long? A{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "R", this.R);
|
||||
this.SetParamSimple(map, prefix + "G", this.G);
|
||||
this.SetParamSimple(map, prefix + "B", this.B);
|
||||
this.SetParamSimple(map, prefix + "A", this.A);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
63
TencentCloud/Fmu/V20191213/Models/TryLipstickPicRequest.cs
Normal file
63
TencentCloud/Fmu/V20191213/Models/TryLipstickPicRequest.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class TryLipstickPicRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唇色信息。
|
||||
/// 您可以输入最多3个 LipColorInfo 来实现给一张图中的最多3张人脸试唇色。
|
||||
/// </summary>
|
||||
[JsonProperty("LipColorInfos")]
|
||||
public LipColorInfo[] LipColorInfos{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片 base64 数据,base64 编码后大小不可超过6M。
|
||||
/// 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
||||
/// </summary>
|
||||
[JsonProperty("Image")]
|
||||
public string Image{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片的 Url ,对应图片 base64 编码后大小不可超过6M。
|
||||
/// 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
|
||||
/// 图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
||||
/// 非腾讯云存储的Url速度和稳定性可能受一定影响。
|
||||
/// 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
||||
/// </summary>
|
||||
[JsonProperty("Url")]
|
||||
public string Url{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "LipColorInfos.", this.LipColorInfos);
|
||||
this.SetParamSimple(map, prefix + "Image", this.Image);
|
||||
this.SetParamSimple(map, prefix + "Url", this.Url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Fmu/V20191213/Models/TryLipstickPicResponse.cs
Normal file
50
TencentCloud/Fmu/V20191213/Models/TryLipstickPicResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Fmu.V20191213.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class TryLipstickPicResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 结果图片Base64信息。
|
||||
/// </summary>
|
||||
[JsonProperty("ResultImage")]
|
||||
public string ResultImage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ResultImage", this.ResultImage);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user