Skip to content

Commit 412c448

Browse files
committedApr 3, 2024
Generated 2019-03-07 for Cloudauth.
1 parent b4dce9b commit 412c448

38 files changed

+2223
-33
lines changed
 

‎CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-04-03 Version: 2.0.35
2+
- Generated 2019-03-07 for `Cloudauth`.
3+
14
2024-04-02 Version: 3.6.6
25
- Generated 2017-08-23 for `Green`.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
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.Cloudauth.Transform;
26+
using Aliyun.Acs.Cloudauth.Transform.V20190307;
27+
28+
namespace Aliyun.Acs.Cloudauth.Model.V20190307
29+
{
30+
public class AIGCFaceVerifyRequest : RpcAcsRequest<AIGCFaceVerifyResponse>
31+
{
32+
public AIGCFaceVerifyRequest()
33+
: base("Cloudauth", "2019-03-07", "AIGCFaceVerify", "cloudauth", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Cloudauth.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Cloudauth.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string productCode;
44+
45+
private string ossObjectName;
46+
47+
private string faceContrastPicture;
48+
49+
private string outerOrderNo;
50+
51+
private string faceContrastPictureUrl;
52+
53+
private long? sceneId;
54+
55+
private string ossBucketName;
56+
57+
public string ProductCode
58+
{
59+
get
60+
{
61+
return productCode;
62+
}
63+
set
64+
{
65+
productCode = value;
66+
DictionaryUtil.Add(QueryParameters, "ProductCode", value);
67+
}
68+
}
69+
70+
public string OssObjectName
71+
{
72+
get
73+
{
74+
return ossObjectName;
75+
}
76+
set
77+
{
78+
ossObjectName = value;
79+
DictionaryUtil.Add(QueryParameters, "OssObjectName", value);
80+
}
81+
}
82+
83+
public string FaceContrastPicture
84+
{
85+
get
86+
{
87+
return faceContrastPicture;
88+
}
89+
set
90+
{
91+
faceContrastPicture = value;
92+
DictionaryUtil.Add(BodyParameters, "FaceContrastPicture", value);
93+
}
94+
}
95+
96+
public string OuterOrderNo
97+
{
98+
get
99+
{
100+
return outerOrderNo;
101+
}
102+
set
103+
{
104+
outerOrderNo = value;
105+
DictionaryUtil.Add(QueryParameters, "OuterOrderNo", value);
106+
}
107+
}
108+
109+
public string FaceContrastPictureUrl
110+
{
111+
get
112+
{
113+
return faceContrastPictureUrl;
114+
}
115+
set
116+
{
117+
faceContrastPictureUrl = value;
118+
DictionaryUtil.Add(QueryParameters, "FaceContrastPictureUrl", value);
119+
}
120+
}
121+
122+
public long? SceneId
123+
{
124+
get
125+
{
126+
return sceneId;
127+
}
128+
set
129+
{
130+
sceneId = value;
131+
DictionaryUtil.Add(QueryParameters, "SceneId", value.ToString());
132+
}
133+
}
134+
135+
public string OssBucketName
136+
{
137+
get
138+
{
139+
return ossBucketName;
140+
}
141+
set
142+
{
143+
ossBucketName = value;
144+
DictionaryUtil.Add(QueryParameters, "OssBucketName", value);
145+
}
146+
}
147+
148+
public override bool CheckShowJsonItemName()
149+
{
150+
return false;
151+
}
152+
153+
public override AIGCFaceVerifyResponse GetResponse(UnmarshallerContext unmarshallerContext)
154+
{
155+
return AIGCFaceVerifyResponseUnmarshaller.Unmarshall(unmarshallerContext);
156+
}
157+
}
158+
}
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.Cloudauth.Model.V20190307
24+
{
25+
public class AIGCFaceVerifyResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string message;
31+
32+
private string code;
33+
34+
private AIGCFaceVerify_ResultObject resultObject;
35+
36+
public string RequestId
37+
{
38+
get
39+
{
40+
return requestId;
41+
}
42+
set
43+
{
44+
requestId = value;
45+
}
46+
}
47+
48+
public string Message
49+
{
50+
get
51+
{
52+
return message;
53+
}
54+
set
55+
{
56+
message = value;
57+
}
58+
}
59+
60+
public string Code
61+
{
62+
get
63+
{
64+
return code;
65+
}
66+
set
67+
{
68+
code = value;
69+
}
70+
}
71+
72+
public AIGCFaceVerify_ResultObject ResultObject
73+
{
74+
get
75+
{
76+
return resultObject;
77+
}
78+
set
79+
{
80+
resultObject = value;
81+
}
82+
}
83+
84+
public class AIGCFaceVerify_ResultObject
85+
{
86+
87+
private string result;
88+
89+
private string score;
90+
91+
private string certifyId;
92+
93+
public string Result
94+
{
95+
get
96+
{
97+
return result;
98+
}
99+
set
100+
{
101+
result = value;
102+
}
103+
}
104+
105+
public string Score
106+
{
107+
get
108+
{
109+
return score;
110+
}
111+
set
112+
{
113+
score = value;
114+
}
115+
}
116+
117+
public string CertifyId
118+
{
119+
get
120+
{
121+
return certifyId;
122+
}
123+
set
124+
{
125+
certifyId = value;
126+
}
127+
}
128+
}
129+
}
130+
}

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/CompareFaceVerifyRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class CompareFaceVerifyRequest : RpcAcsRequest<CompareFaceVerifyResponse>
3231
{
3332
public CompareFaceVerifyRequest()
34-
: base("Cloudauth", "2019-03-07", "CompareFaceVerify")
33+
: base("Cloudauth", "2019-03-07", "CompareFaceVerify", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/CompareFacesRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class CompareFacesRequest : RpcAcsRequest<CompareFacesResponse>
3231
{
3332
public CompareFacesRequest()
34-
: base("Cloudauth", "2019-03-07", "CompareFaces")
33+
: base("Cloudauth", "2019-03-07", "CompareFaces", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/ContrastFaceVerifyRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class ContrastFaceVerifyRequest : RpcAcsRequest<ContrastFaceVerifyResponse>
3231
{
3332
public ContrastFaceVerifyRequest()
34-
: base("Cloudauth", "2019-03-07", "ContrastFaceVerify")
33+
: base("Cloudauth", "2019-03-07", "ContrastFaceVerify", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/CreateAuthKeyRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class CreateAuthKeyRequest : RpcAcsRequest<CreateAuthKeyResponse>
3231
{
3332
public CreateAuthKeyRequest()
34-
: base("Cloudauth", "2019-03-07", "CreateAuthKey")
33+
: base("Cloudauth", "2019-03-07", "CreateAuthKey", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/CreateVerifySettingRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class CreateVerifySettingRequest : RpcAcsRequest<CreateVerifySettingResponse>
3231
{
3332
public CreateVerifySettingRequest()
34-
: base("Cloudauth", "2019-03-07", "CreateVerifySetting")
33+
: base("Cloudauth", "2019-03-07", "CreateVerifySetting", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

‎aliyun-net-sdk-cloudauth/Cloudauth/Model/V20190307/DescribeDeviceInfoRequest.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Cloudauth;
2625
using Aliyun.Acs.Cloudauth.Transform;
2726
using Aliyun.Acs.Cloudauth.Transform.V20190307;
2827

@@ -31,7 +30,7 @@ namespace Aliyun.Acs.Cloudauth.Model.V20190307
3130
public class DescribeDeviceInfoRequest : RpcAcsRequest<DescribeDeviceInfoResponse>
3231
{
3332
public DescribeDeviceInfoRequest()
34-
: base("Cloudauth", "2019-03-07", "DescribeDeviceInfo")
33+
: base("Cloudauth", "2019-03-07", "DescribeDeviceInfo", "cloudauth", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{

0 commit comments

Comments
 (0)
Please sign in to comment.