代码修改后的版本,全部提交
This commit is contained in:
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaOperDataInterceptUnit : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
[JsonProperty("DateKey")]
|
||||
public string DateKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 停止验证数量
|
||||
/// </summary>
|
||||
[JsonProperty("AllStopCnt")]
|
||||
public float? AllStopCnt{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片停止加载数量
|
||||
/// </summary>
|
||||
[JsonProperty("PicStopCnt")]
|
||||
public float? PicStopCnt{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 策略拦截数量
|
||||
/// </summary>
|
||||
[JsonProperty("StrategyStopCnt")]
|
||||
public float? StrategyStopCnt{ 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 + "DateKey", this.DateKey);
|
||||
this.SetParamSimple(map, prefix + "AllStopCnt", this.AllStopCnt);
|
||||
this.SetParamSimple(map, prefix + "PicStopCnt", this.PicStopCnt);
|
||||
this.SetParamSimple(map, prefix + "StrategyStopCnt", this.StrategyStopCnt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaOperDataLoadTimeUnit : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
[JsonProperty("DateKey")]
|
||||
public string DateKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Market加载时间
|
||||
/// </summary>
|
||||
[JsonProperty("MarketLoadTime")]
|
||||
public float? MarketLoadTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// AppId加载时间
|
||||
/// </summary>
|
||||
[JsonProperty("AppIdLoadTime")]
|
||||
public float? AppIdLoadTime{ 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 + "DateKey", this.DateKey);
|
||||
this.SetParamSimple(map, prefix + "MarketLoadTime", this.MarketLoadTime);
|
||||
this.SetParamSimple(map, prefix + "AppIdLoadTime", this.AppIdLoadTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
68
TencentCloud/Captcha/V20190722/Models/CaptchaOperDataRes.cs
Normal file
68
TencentCloud/Captcha/V20190722/Models/CaptchaOperDataRes.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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 CaptchaOperDataRes : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码加载耗时数据返回
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OperDataLoadTimeUnitArray")]
|
||||
public CaptchaOperDataLoadTimeUnit[] OperDataLoadTimeUnitArray{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码拦截情况数据返回
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OperDataInterceptUnitArray")]
|
||||
public CaptchaOperDataInterceptUnit[] OperDataInterceptUnitArray{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码尝试次数数据返回
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OperDataTryTimesUnitArray")]
|
||||
public CaptchaOperDataTryTimesUnit[] OperDataTryTimesUnitArray{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码尝试次数分布数据返回
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OperDataTryTimesDistributeUnitArray")]
|
||||
public CaptchaOperDataTryTimesDistributeUnit[] OperDataTryTimesDistributeUnitArray{ 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 + "OperDataLoadTimeUnitArray.", this.OperDataLoadTimeUnitArray);
|
||||
this.SetParamArrayObj(map, prefix + "OperDataInterceptUnitArray.", this.OperDataInterceptUnitArray);
|
||||
this.SetParamArrayObj(map, prefix + "OperDataTryTimesUnitArray.", this.OperDataTryTimesUnitArray);
|
||||
this.SetParamArrayObj(map, prefix + "OperDataTryTimesDistributeUnitArray.", this.OperDataTryTimesDistributeUnitArray);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaOperDataTryTimesDistributeUnit : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 尝试次数
|
||||
/// </summary>
|
||||
[JsonProperty("TryCount")]
|
||||
public long? TryCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户请求数量
|
||||
/// </summary>
|
||||
[JsonProperty("UserCount")]
|
||||
public long? UserCount{ 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 + "TryCount", this.TryCount);
|
||||
this.SetParamSimple(map, prefix + "UserCount", this.UserCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaOperDataTryTimesUnit : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
[JsonProperty("DateKey")]
|
||||
public string DateKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 平均尝试次数
|
||||
/// </summary>
|
||||
[JsonProperty("CntPerPass")]
|
||||
public float?[] CntPerPass{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// market平均尝试次数
|
||||
/// </summary>
|
||||
[JsonProperty("MarketCntPerPass")]
|
||||
public float? MarketCntPerPass{ 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 + "DateKey", this.DateKey);
|
||||
this.SetParamArraySimple(map, prefix + "CntPerPass.", this.CntPerPass);
|
||||
this.SetParamSimple(map, prefix + "MarketCntPerPass", this.MarketCntPerPass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Captcha/V20190722/Models/CaptchaQueryData.cs
Normal file
50
TencentCloud/Captcha/V20190722/Models/CaptchaQueryData.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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaQueryData : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[JsonProperty("Cnt")]
|
||||
public long? Cnt{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
[JsonProperty("Date")]
|
||||
public string Date{ 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 + "Cnt", this.Cnt);
|
||||
this.SetParamSimple(map, prefix + "Date", this.Date);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Captcha/V20190722/Models/CaptchaUserAllAppId.cs
Normal file
57
TencentCloud/Captcha/V20190722/Models/CaptchaUserAllAppId.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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CaptchaUserAllAppId : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public long? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 注册应用名称
|
||||
/// </summary>
|
||||
[JsonProperty("AppName")]
|
||||
public string AppName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 腾讯云APPID
|
||||
/// </summary>
|
||||
[JsonProperty("TcAppId")]
|
||||
public long? TcAppId{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
this.SetParamSimple(map, prefix + "AppName", this.AppName);
|
||||
this.SetParamSimple(map, prefix + "TcAppId", this.TcAppId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCaptchaAppIdInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用注册APPID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public ulong? CaptchaAppId{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaAppIdInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 界面风格
|
||||
/// </summary>
|
||||
[JsonProperty("SchemeColor")]
|
||||
public string SchemeColor{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语言
|
||||
/// </summary>
|
||||
[JsonProperty("Language")]
|
||||
public long? Language{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 场景
|
||||
/// </summary>
|
||||
[JsonProperty("SceneType")]
|
||||
public long? SceneType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 防控风险等级
|
||||
/// </summary>
|
||||
[JsonProperty("EvilInterceptGrade")]
|
||||
public long? EvilInterceptGrade{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能验证
|
||||
/// </summary>
|
||||
[JsonProperty("SmartVerify")]
|
||||
public long? SmartVerify{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能引擎
|
||||
/// </summary>
|
||||
[JsonProperty("SmartEngine")]
|
||||
public long? SmartEngine{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码类型
|
||||
/// </summary>
|
||||
[JsonProperty("CapType")]
|
||||
public long? CapType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// </summary>
|
||||
[JsonProperty("AppName")]
|
||||
public string AppName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 域名限制
|
||||
/// </summary>
|
||||
[JsonProperty("DomainLimit")]
|
||||
public string DomainLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮件告警
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MailAlarm")]
|
||||
public string[] MailAlarm{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流量控制
|
||||
/// </summary>
|
||||
[JsonProperty("TrafficThreshold")]
|
||||
public long? TrafficThreshold{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 加密key
|
||||
/// </summary>
|
||||
[JsonProperty("EncryptKey")]
|
||||
public string EncryptKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否全屏
|
||||
/// </summary>
|
||||
[JsonProperty("TopFullScreen")]
|
||||
public long? TopFullScreen{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成功返回0 其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回操作信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ 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 + "SchemeColor", this.SchemeColor);
|
||||
this.SetParamSimple(map, prefix + "Language", this.Language);
|
||||
this.SetParamSimple(map, prefix + "SceneType", this.SceneType);
|
||||
this.SetParamSimple(map, prefix + "EvilInterceptGrade", this.EvilInterceptGrade);
|
||||
this.SetParamSimple(map, prefix + "SmartVerify", this.SmartVerify);
|
||||
this.SetParamSimple(map, prefix + "SmartEngine", this.SmartEngine);
|
||||
this.SetParamSimple(map, prefix + "CapType", this.CapType);
|
||||
this.SetParamSimple(map, prefix + "AppName", this.AppName);
|
||||
this.SetParamSimple(map, prefix + "DomainLimit", this.DomainLimit);
|
||||
this.SetParamArraySimple(map, prefix + "MailAlarm.", this.MailAlarm);
|
||||
this.SetParamSimple(map, prefix + "TrafficThreshold", this.TrafficThreshold);
|
||||
this.SetParamSimple(map, prefix + "EncryptKey", this.EncryptKey);
|
||||
this.SetParamSimple(map, prefix + "TopFullScreen", this.TopFullScreen);
|
||||
this.SetParamSimple(map, prefix + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCaptchaDataRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public long? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("Start")]
|
||||
public long? Start{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("End")]
|
||||
public long? End{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询类型
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public long? Type{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
this.SetParamSimple(map, prefix + "Start", this.Start);
|
||||
this.SetParamSimple(map, prefix + "End", this.End);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaDataResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回码 0 成功 其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据数组
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public CaptchaQueryData[] Data{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回信息描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ 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 + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamArrayObj(map, prefix + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCaptchaDataSumRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public long? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("Start")]
|
||||
public long? Start{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("End")]
|
||||
public long? End{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
this.SetParamSimple(map, prefix + "Start", this.Start);
|
||||
this.SetParamSimple(map, prefix + "End", this.End);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaDataSumResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 请求总量
|
||||
/// </summary>
|
||||
[JsonProperty("GetSum")]
|
||||
public long? GetSum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请求验证成功量
|
||||
/// </summary>
|
||||
[JsonProperty("VfySuccSum")]
|
||||
public long? VfySuccSum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请求验证量
|
||||
/// </summary>
|
||||
[JsonProperty("VfySum")]
|
||||
public long? VfySum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 拦截攻击量
|
||||
/// </summary>
|
||||
[JsonProperty("AttackSum")]
|
||||
public long? AttackSum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成功返回0 其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 票据校验量
|
||||
/// </summary>
|
||||
[JsonProperty("CheckTicketSum")]
|
||||
public long? CheckTicketSum{ 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 + "GetSum", this.GetSum);
|
||||
this.SetParamSimple(map, prefix + "VfySuccSum", this.VfySuccSum);
|
||||
this.SetParamSimple(map, prefix + "VfySum", this.VfySum);
|
||||
this.SetParamSimple(map, prefix + "AttackSum", this.AttackSum);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CheckTicketSum", this.CheckTicketSum);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCaptchaOperDataRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public ulong? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("Start")]
|
||||
public ulong? Start{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询类型
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public ulong? Type{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
this.SetParamSimple(map, prefix + "Start", this.Start);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaOperDataResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 成功返回 0 其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户操作数据
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public CaptchaOperDataRes Data{ 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 + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamObj(map, prefix + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 固定填值:9。可在控制台配置不同验证码类型。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaType")]
|
||||
public ulong? CaptchaType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码返回给用户的票据
|
||||
/// </summary>
|
||||
[JsonProperty("Ticket")]
|
||||
public string Ticket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户操作来源的外网 IP
|
||||
/// </summary>
|
||||
[JsonProperty("UserIp")]
|
||||
public string UserIp{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证票据需要的随机字符串
|
||||
/// </summary>
|
||||
[JsonProperty("Randstr")]
|
||||
public string Randstr{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public ulong? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
|
||||
/// </summary>
|
||||
[JsonProperty("AppSecretKey")]
|
||||
public string AppSecretKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
|
||||
/// </summary>
|
||||
[JsonProperty("BusinessId")]
|
||||
public ulong? BusinessId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
|
||||
/// </summary>
|
||||
[JsonProperty("SceneId")]
|
||||
public ulong? SceneId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mac 地址或设备唯一标识
|
||||
/// </summary>
|
||||
[JsonProperty("MacAddress")]
|
||||
public string MacAddress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机设备号
|
||||
/// </summary>
|
||||
[JsonProperty("Imei")]
|
||||
public string Imei{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否返回前端获取验证码时间,取值1:需要返回
|
||||
/// </summary>
|
||||
[JsonProperty("NeedGetCaptchaTime")]
|
||||
public long? NeedGetCaptchaTime{ 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 + "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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaResultResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 1 OK 验证通过
|
||||
/// 6 user code len error 验证码长度不匹配
|
||||
/// 7 captcha no match 验证码答案不匹配/Randstr参数不匹配
|
||||
/// 8 verify timeout 验证码签名超时
|
||||
/// 9 Sequnce repeat 验证码签名重放
|
||||
/// 10 Sequnce invalid 验证码签名序列
|
||||
/// 11 Cookie invalid 验证码cooking信息不合法
|
||||
/// 12 sig len error 签名长度错误
|
||||
/// 13 verify ip no match ip不匹配
|
||||
/// 15 decrypt fail 验证码签名解密失败
|
||||
/// 16 appid no match 验证码强校验appid错误
|
||||
/// 17 cmd no much 验证码系统命令不匹配
|
||||
/// 18 uin no match 号码不匹配
|
||||
/// 19 seq redirect 重定向验证
|
||||
/// 20 opt no vcode 操作使用pt免验证码校验错误
|
||||
/// 21 diff 差别,验证错误
|
||||
/// 22 captcha type not match 验证码类型与拉取时不一致
|
||||
/// 23 verify type error 验证类型错误
|
||||
/// 24 invalid pkg 非法请求包
|
||||
/// 25 bad visitor 策略拦截
|
||||
/// 26 system busy 系统内部错误
|
||||
/// 100 param err appsecretkey 参数校验错误
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态描述及验证错误信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// [0,100],恶意等级
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EvilLevel")]
|
||||
public long? EvilLevel{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 前端获取验证码时间,时间戳格式
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GetCaptchaTime")]
|
||||
public long? GetCaptchaTime{ 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 + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "EvilLevel", this.EvilLevel);
|
||||
this.SetParamSimple(map, prefix + "GetCaptchaTime", this.GetCaptchaTime);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaUserAllAppIdRequest : AbstractModel
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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 DescribeCaptchaUserAllAppIdResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用户注册的所有Appid和应用名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public CaptchaUserAllAppId[] Data{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成功返回 0 其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回操作信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ 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.SetParamArrayObj(map, prefix + "Data.", this.Data);
|
||||
this.SetParamSimple(map, prefix + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* 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 UpdateCaptchaAppIdInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 验证码应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaAppId")]
|
||||
public long? CaptchaAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名
|
||||
/// </summary>
|
||||
[JsonProperty("AppName")]
|
||||
public string AppName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 域名限制
|
||||
/// </summary>
|
||||
[JsonProperty("DomainLimit")]
|
||||
public string DomainLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 场景类型
|
||||
/// </summary>
|
||||
[JsonProperty("SceneType")]
|
||||
public long? SceneType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验证码类型
|
||||
/// </summary>
|
||||
[JsonProperty("CapType")]
|
||||
public long? CapType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 风险级别
|
||||
/// </summary>
|
||||
[JsonProperty("EvilInterceptGrade")]
|
||||
public long? EvilInterceptGrade{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 智能检测
|
||||
/// </summary>
|
||||
[JsonProperty("SmartVerify")]
|
||||
public long? SmartVerify{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开启智能引擎
|
||||
/// </summary>
|
||||
[JsonProperty("SmartEngine")]
|
||||
public long? SmartEngine{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// web风格
|
||||
/// </summary>
|
||||
[JsonProperty("SchemeColor")]
|
||||
public string SchemeColor{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 语言
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaLanguage")]
|
||||
public long? CaptchaLanguage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 告警邮箱
|
||||
/// </summary>
|
||||
[JsonProperty("MailAlarm")]
|
||||
public string MailAlarm{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否全屏
|
||||
/// </summary>
|
||||
[JsonProperty("TopFullScreen")]
|
||||
public long? TopFullScreen{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流量限制
|
||||
/// </summary>
|
||||
[JsonProperty("TrafficThreshold")]
|
||||
public long? TrafficThreshold{ 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 + "CaptchaAppId", this.CaptchaAppId);
|
||||
this.SetParamSimple(map, prefix + "AppName", this.AppName);
|
||||
this.SetParamSimple(map, prefix + "DomainLimit", this.DomainLimit);
|
||||
this.SetParamSimple(map, prefix + "SceneType", this.SceneType);
|
||||
this.SetParamSimple(map, prefix + "CapType", this.CapType);
|
||||
this.SetParamSimple(map, prefix + "EvilInterceptGrade", this.EvilInterceptGrade);
|
||||
this.SetParamSimple(map, prefix + "SmartVerify", this.SmartVerify);
|
||||
this.SetParamSimple(map, prefix + "SmartEngine", this.SmartEngine);
|
||||
this.SetParamSimple(map, prefix + "SchemeColor", this.SchemeColor);
|
||||
this.SetParamSimple(map, prefix + "CaptchaLanguage", this.CaptchaLanguage);
|
||||
this.SetParamSimple(map, prefix + "MailAlarm", this.MailAlarm);
|
||||
this.SetParamSimple(map, prefix + "TopFullScreen", this.TopFullScreen);
|
||||
this.SetParamSimple(map, prefix + "TrafficThreshold", this.TrafficThreshold);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Captcha.V20190722.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateCaptchaAppIdInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回码 0 成功,其它失败
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaCode")]
|
||||
public long? CaptchaCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回操作信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CaptchaMsg")]
|
||||
public string CaptchaMsg{ 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 + "CaptchaCode", this.CaptchaCode);
|
||||
this.SetParamSimple(map, prefix + "CaptchaMsg", this.CaptchaMsg);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user