Skip to content

Commit c98bf00

Browse files
committed
Generated 2023-03-05 for captcha.
1 parent 395234d commit c98bf00

8 files changed

+528
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-01-26 Version: 1.0.0
2+
- Generated 2023-03-05 for `captcha`.
3+
14
2024-01-24 Version: 2.0.7
25
- support start params
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.captcha;
26+
using Aliyun.Acs.captcha.Transform;
27+
using Aliyun.Acs.captcha.Transform.V20230305;
28+
29+
namespace Aliyun.Acs.captcha.Model.V20230305
30+
{
31+
public class VerifyCaptchaRequest : RpcAcsRequest<VerifyCaptchaResponse>
32+
{
33+
public VerifyCaptchaRequest()
34+
: base("captcha", "2023-03-05", "VerifyCaptcha")
35+
{
36+
Method = MethodType.POST;
37+
}
38+
39+
private string captchaVerifyParam;
40+
41+
public string CaptchaVerifyParam
42+
{
43+
get
44+
{
45+
return captchaVerifyParam;
46+
}
47+
set
48+
{
49+
captchaVerifyParam = value;
50+
DictionaryUtil.Add(QueryParameters, "CaptchaVerifyParam", value);
51+
}
52+
}
53+
54+
public override bool CheckShowJsonItemName()
55+
{
56+
return false;
57+
}
58+
59+
public override VerifyCaptchaResponse GetResponse(UnmarshallerContext unmarshallerContext)
60+
{
61+
return VerifyCaptchaResponseUnmarshaller.Unmarshall(unmarshallerContext);
62+
}
63+
}
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.captcha.Model.V20230305
24+
{
25+
public class VerifyCaptchaResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
private string code;
33+
34+
private string message;
35+
36+
private VerifyCaptcha_Result result;
37+
38+
public string RequestId
39+
{
40+
get
41+
{
42+
return requestId;
43+
}
44+
set
45+
{
46+
requestId = value;
47+
}
48+
}
49+
50+
public bool? Success
51+
{
52+
get
53+
{
54+
return success;
55+
}
56+
set
57+
{
58+
success = value;
59+
}
60+
}
61+
62+
public string Code
63+
{
64+
get
65+
{
66+
return code;
67+
}
68+
set
69+
{
70+
code = value;
71+
}
72+
}
73+
74+
public string Message
75+
{
76+
get
77+
{
78+
return message;
79+
}
80+
set
81+
{
82+
message = value;
83+
}
84+
}
85+
86+
public VerifyCaptcha_Result Result
87+
{
88+
get
89+
{
90+
return result;
91+
}
92+
set
93+
{
94+
result = value;
95+
}
96+
}
97+
98+
public class VerifyCaptcha_Result
99+
{
100+
101+
private bool? verifyResult;
102+
103+
public bool? VerifyResult
104+
{
105+
get
106+
{
107+
return verifyResult;
108+
}
109+
set
110+
{
111+
verifyResult = value;
112+
}
113+
}
114+
}
115+
}
116+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.captcha;
26+
using Aliyun.Acs.captcha.Transform;
27+
using Aliyun.Acs.captcha.Transform.V20230305;
28+
29+
namespace Aliyun.Acs.captcha.Model.V20230305
30+
{
31+
public class VerifyIntelligentCaptchaRequest : RpcAcsRequest<VerifyIntelligentCaptchaResponse>
32+
{
33+
public VerifyIntelligentCaptchaRequest()
34+
: base("captcha", "2023-03-05", "VerifyIntelligentCaptcha")
35+
{
36+
Method = MethodType.POST;
37+
}
38+
39+
private string captchaVerifyParam;
40+
41+
private string sceneId;
42+
43+
public string CaptchaVerifyParam
44+
{
45+
get
46+
{
47+
return captchaVerifyParam;
48+
}
49+
set
50+
{
51+
captchaVerifyParam = value;
52+
DictionaryUtil.Add(BodyParameters, "CaptchaVerifyParam", value);
53+
}
54+
}
55+
56+
public string SceneId
57+
{
58+
get
59+
{
60+
return sceneId;
61+
}
62+
set
63+
{
64+
sceneId = value;
65+
DictionaryUtil.Add(BodyParameters, "SceneId", value);
66+
}
67+
}
68+
69+
public override bool CheckShowJsonItemName()
70+
{
71+
return false;
72+
}
73+
74+
public override VerifyIntelligentCaptchaResponse GetResponse(UnmarshallerContext unmarshallerContext)
75+
{
76+
return VerifyIntelligentCaptchaResponseUnmarshaller.Unmarshall(unmarshallerContext);
77+
}
78+
}
79+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.captcha.Model.V20230305
24+
{
25+
public class VerifyIntelligentCaptchaResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
private string code;
33+
34+
private string message;
35+
36+
private VerifyIntelligentCaptcha_Result result;
37+
38+
public string RequestId
39+
{
40+
get
41+
{
42+
return requestId;
43+
}
44+
set
45+
{
46+
requestId = value;
47+
}
48+
}
49+
50+
public bool? Success
51+
{
52+
get
53+
{
54+
return success;
55+
}
56+
set
57+
{
58+
success = value;
59+
}
60+
}
61+
62+
public string Code
63+
{
64+
get
65+
{
66+
return code;
67+
}
68+
set
69+
{
70+
code = value;
71+
}
72+
}
73+
74+
public string Message
75+
{
76+
get
77+
{
78+
return message;
79+
}
80+
set
81+
{
82+
message = value;
83+
}
84+
}
85+
86+
public VerifyIntelligentCaptcha_Result Result
87+
{
88+
get
89+
{
90+
return result;
91+
}
92+
set
93+
{
94+
result = value;
95+
}
96+
}
97+
98+
public class VerifyIntelligentCaptcha_Result
99+
{
100+
101+
private bool? verifyResult;
102+
103+
private string verifyCode;
104+
105+
public bool? VerifyResult
106+
{
107+
get
108+
{
109+
return verifyResult;
110+
}
111+
set
112+
{
113+
verifyResult = value;
114+
}
115+
}
116+
117+
public string VerifyCode
118+
{
119+
get
120+
{
121+
return verifyCode;
122+
}
123+
set
124+
{
125+
verifyCode = value;
126+
}
127+
}
128+
}
129+
}
130+
}

0 commit comments

Comments
 (0)