/*
* 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.Captcha.V20190722.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeCaptchaResultRequest : AbstractModel
{
///
/// 固定填值:9。可在控制台配置不同验证码类型。
///
[JsonProperty("CaptchaType")]
public ulong? CaptchaType{ get; set; }
///
/// 验证码返回给用户的票据
///
[JsonProperty("Ticket")]
public string Ticket{ get; set; }
///
/// 用户操作来源的外网 IP
///
[JsonProperty("UserIp")]
public string UserIp{ get; set; }
///
/// 验证票据需要的随机字符串
///
[JsonProperty("Randstr")]
public string Randstr{ get; set; }
///
/// 验证码应用ID
///
[JsonProperty("CaptchaAppId")]
public ulong? CaptchaAppId{ get; set; }
///
/// 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
///
[JsonProperty("AppSecretKey")]
public string AppSecretKey{ get; set; }
///
/// 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
///
[JsonProperty("BusinessId")]
public ulong? BusinessId{ get; set; }
///
/// 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
///
[JsonProperty("SceneId")]
public ulong? SceneId{ get; set; }
///
/// mac 地址或设备唯一标识
///
[JsonProperty("MacAddress")]
public string MacAddress{ get; set; }
///
/// 手机设备号
///
[JsonProperty("Imei")]
public string Imei{ get; set; }
///
/// 是否返回前端获取验证码时间,取值1:需要返回
///
[JsonProperty("NeedGetCaptchaTime")]
public long? NeedGetCaptchaTime{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "CaptchaType", this.CaptchaType);
this.SetParamSimple(map, prefix + "Ticket", this.Ticket);
this.SetParamSimple(map, prefix + "UserIp", this.UserIp);
this.SetParamSimple(map, prefix + "Randstr", this.Randstr);
this.SetParamSimple(map, prefix + "CaptchaAppId", this.CaptchaAppId);
this.SetParamSimple(map, prefix + "AppSecretKey", this.AppSecretKey);
this.SetParamSimple(map, prefix + "BusinessId", this.BusinessId);
this.SetParamSimple(map, prefix + "SceneId", this.SceneId);
this.SetParamSimple(map, prefix + "MacAddress", this.MacAddress);
this.SetParamSimple(map, prefix + "Imei", this.Imei);
this.SetParamSimple(map, prefix + "NeedGetCaptchaTime", this.NeedGetCaptchaTime);
}
}
}