add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
/*
 * Copyright (c) 2017-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.
 */
package com.dobbinsoft.fw.support.captcha.v20190722.models;
 
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.tencentcloudapi.common.AbstractModel;
 
import java.util.HashMap;
 
public class DescribeCaptchaMiniResultRequest extends AbstractModel {
 
    /**
    * 固定填值:9(滑块验证码)
    */
    @SerializedName("CaptchaType")
    @Expose
    private Long CaptchaType;
 
    /**
    * 验证码返回给用户的票据
    */
    @SerializedName("Ticket")
    @Expose
    private String Ticket;
 
    /**
    * 透传业务侧获取到的验证码使用者的IP
    */
    @SerializedName("UserIp")
    @Expose
    private String UserIp;
 
    /**
    * 验证码应用APPID
    */
    @SerializedName("CaptchaAppId")
    @Expose
    private Long CaptchaAppId;
 
    /**
    * 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
    */
    @SerializedName("AppSecretKey")
    @Expose
    private String AppSecretKey;
 
    /**
    * 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
    */
    @SerializedName("BusinessId")
    @Expose
    private Long BusinessId;
 
    /**
    * 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
    */
    @SerializedName("SceneId")
    @Expose
    private Long SceneId;
 
    /**
    * mac 地址或设备唯一标识
    */
    @SerializedName("MacAddress")
    @Expose
    private String MacAddress;
 
    /**
    * 手机设备号
    */
    @SerializedName("Imei")
    @Expose
    private String Imei;
 
    /**
     * Get 固定填值:9(滑块验证码) 
     * @return CaptchaType 固定填值:9(滑块验证码)
     */
    public Long getCaptchaType() {
        return this.CaptchaType;
    }
 
    /**
     * Set 固定填值:9(滑块验证码)
     * @param CaptchaType 固定填值:9(滑块验证码)
     */
    public void setCaptchaType(Long CaptchaType) {
        this.CaptchaType = CaptchaType;
    }
 
    /**
     * Get 验证码返回给用户的票据 
     * @return Ticket 验证码返回给用户的票据
     */
    public String getTicket() {
        return this.Ticket;
    }
 
    /**
     * Set 验证码返回给用户的票据
     * @param Ticket 验证码返回给用户的票据
     */
    public void setTicket(String Ticket) {
        this.Ticket = Ticket;
    }
 
    /**
     * Get 透传业务侧获取到的验证码使用者的IP 
     * @return UserIp 透传业务侧获取到的验证码使用者的IP
     */
    public String getUserIp() {
        return this.UserIp;
    }
 
    /**
     * Set 透传业务侧获取到的验证码使用者的IP
     * @param UserIp 透传业务侧获取到的验证码使用者的IP
     */
    public void setUserIp(String UserIp) {
        this.UserIp = UserIp;
    }
 
    /**
     * Get 验证码应用APPID 
     * @return CaptchaAppId 验证码应用APPID
     */
    public Long getCaptchaAppId() {
        return this.CaptchaAppId;
    }
 
    /**
     * Set 验证码应用APPID
     * @param CaptchaAppId 验证码应用APPID
     */
    public void setCaptchaAppId(Long CaptchaAppId) {
        this.CaptchaAppId = CaptchaAppId;
    }
 
    /**
     * Get 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方 
     * @return AppSecretKey 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
     */
    public String getAppSecretKey() {
        return this.AppSecretKey;
    }
 
    /**
     * Set 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
     * @param AppSecretKey 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
     */
    public void setAppSecretKey(String AppSecretKey) {
        this.AppSecretKey = AppSecretKey;
    }
 
    /**
     * Get 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据 
     * @return BusinessId 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
     */
    public Long getBusinessId() {
        return this.BusinessId;
    }
 
    /**
     * Set 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
     * @param BusinessId 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
     */
    public void setBusinessId(Long BusinessId) {
        this.BusinessId = BusinessId;
    }
 
    /**
     * Get 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据 
     * @return SceneId 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
     */
    public Long getSceneId() {
        return this.SceneId;
    }
 
    /**
     * Set 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
     * @param SceneId 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
     */
    public void setSceneId(Long SceneId) {
        this.SceneId = SceneId;
    }
 
    /**
     * Get mac 地址或设备唯一标识 
     * @return MacAddress mac 地址或设备唯一标识
     */
    public String getMacAddress() {
        return this.MacAddress;
    }
 
    /**
     * Set mac 地址或设备唯一标识
     * @param MacAddress mac 地址或设备唯一标识
     */
    public void setMacAddress(String MacAddress) {
        this.MacAddress = MacAddress;
    }
 
    /**
     * Get 手机设备号 
     * @return Imei 手机设备号
     */
    public String getImei() {
        return this.Imei;
    }
 
    /**
     * Set 手机设备号
     * @param Imei 手机设备号
     */
    public void setImei(String Imei) {
        this.Imei = Imei;
    }
 
    public DescribeCaptchaMiniResultRequest() {
    }
 
    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public DescribeCaptchaMiniResultRequest(DescribeCaptchaMiniResultRequest source) {
        if (source.CaptchaType != null) {
            this.CaptchaType = new Long(source.CaptchaType);
        }
        if (source.Ticket != null) {
            this.Ticket = new String(source.Ticket);
        }
        if (source.UserIp != null) {
            this.UserIp = new String(source.UserIp);
        }
        if (source.CaptchaAppId != null) {
            this.CaptchaAppId = new Long(source.CaptchaAppId);
        }
        if (source.AppSecretKey != null) {
            this.AppSecretKey = new String(source.AppSecretKey);
        }
        if (source.BusinessId != null) {
            this.BusinessId = new Long(source.BusinessId);
        }
        if (source.SceneId != null) {
            this.SceneId = new Long(source.SceneId);
        }
        if (source.MacAddress != null) {
            this.MacAddress = new String(source.MacAddress);
        }
        if (source.Imei != null) {
            this.Imei = new String(source.Imei);
        }
    }
 
 
    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap<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 + "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);
 
    }
}