Skip to content

Commit b01f6ca

Browse files
committed
SDK.
1 parent 241fa35 commit b01f6ca

9 files changed

+661
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-02-23 Version: 2.0.0
2+
- SDK.
3+
14
2022-02-23 Version: 2.0.32
25
- Add AuthId.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
20+
using System.Collections.Generic;
21+
22+
namespace Aliyun.Acs.Cloudauth_console
23+
{
24+
public class Endpoint
25+
{
26+
public static Dictionary<string, string> endpointMap = new Dictionary<string, string>()
27+
{};
28+
29+
public static string endpointRegionalType = "regional";
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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_console.Transform;
26+
using Aliyun.Acs.Cloudauth_console.Transform.V20190403;
27+
28+
namespace Aliyun.Acs.Cloudauth_console.Model.V20190403
29+
{
30+
public class RetrieveFaceRequest : RpcAcsRequest<RetrieveFaceResponse>
31+
{
32+
public RetrieveFaceRequest()
33+
: base("Cloudauth-console", "2019-04-03", "RetrieveFace", "cloudauth-console", "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_console.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Cloudauth_console.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string face64String;
44+
45+
private string faceUrl;
46+
47+
private string projectId;
48+
49+
public string Face64String
50+
{
51+
get
52+
{
53+
return face64String;
54+
}
55+
set
56+
{
57+
face64String = value;
58+
DictionaryUtil.Add(BodyParameters, "Face64String", value);
59+
}
60+
}
61+
62+
public string FaceUrl
63+
{
64+
get
65+
{
66+
return faceUrl;
67+
}
68+
set
69+
{
70+
faceUrl = value;
71+
DictionaryUtil.Add(QueryParameters, "FaceUrl", value);
72+
}
73+
}
74+
75+
public string ProjectId
76+
{
77+
get
78+
{
79+
return projectId;
80+
}
81+
set
82+
{
83+
projectId = value;
84+
DictionaryUtil.Add(QueryParameters, "ProjectId", value);
85+
}
86+
}
87+
88+
public override RetrieveFaceResponse GetResponse(UnmarshallerContext unmarshallerContext)
89+
{
90+
return RetrieveFaceResponseUnmarshaller.Unmarshall(unmarshallerContext);
91+
}
92+
}
93+
}
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+
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.Cloudauth_console.Model.V20190403
24+
{
25+
public class RetrieveFaceResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
private List<RetrieveFace_DataItem> data;
33+
34+
public string RequestId
35+
{
36+
get
37+
{
38+
return requestId;
39+
}
40+
set
41+
{
42+
requestId = value;
43+
}
44+
}
45+
46+
public bool? Success
47+
{
48+
get
49+
{
50+
return success;
51+
}
52+
set
53+
{
54+
success = value;
55+
}
56+
}
57+
58+
public List<RetrieveFace_DataItem> Data
59+
{
60+
get
61+
{
62+
return data;
63+
}
64+
set
65+
{
66+
data = value;
67+
}
68+
}
69+
70+
public class RetrieveFace_DataItem
71+
{
72+
73+
private long? userId;
74+
75+
private string userName;
76+
77+
private string rate;
78+
79+
public long? UserId
80+
{
81+
get
82+
{
83+
return userId;
84+
}
85+
set
86+
{
87+
userId = value;
88+
}
89+
}
90+
91+
public string UserName
92+
{
93+
get
94+
{
95+
return userName;
96+
}
97+
set
98+
{
99+
userName = value;
100+
}
101+
}
102+
103+
public string Rate
104+
{
105+
get
106+
{
107+
return rate;
108+
}
109+
set
110+
{
111+
rate = value;
112+
}
113+
}
114+
}
115+
}
116+
}

0 commit comments

Comments
 (0)