Skip to content

Commit 360ada3

Browse files
Merge pull request #20 from aliyun/codegen_csharp_products
codegen products
2 parents 03a18f5 + c105b40 commit 360ada3

File tree

91 files changed

+6101
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+6101
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ node_modules/
1818
libraries/
1919
*.json
2020
*.sh
21+
**/bin/
22+
**/obj/

facebody-20191230/csharp/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### 2020-02-04 Version 0.0.1
2+
* First release.

facebody-20191230/csharp/core/Client.cs

Lines changed: 473 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class CompareFaceRequest : TeaModel {
12+
[NameInMap("ImageType")]
13+
[Validation(Required=false)]
14+
public int? ImageType { get; set; }
15+
16+
[NameInMap("ImageURLA")]
17+
[Validation(Required=true)]
18+
public string ImageURLA { get; set; }
19+
20+
[NameInMap("ImageURLB")]
21+
[Validation(Required=true)]
22+
public string ImageURLB { get; set; }
23+
24+
}
25+
26+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class CompareFaceResponse : TeaModel {
12+
[NameInMap("RequestId")]
13+
[Validation(Required=true)]
14+
public string RequestId { get; set; }
15+
16+
[NameInMap("Data")]
17+
[Validation(Required=true)]
18+
public CompareFaceResponseData Data { get; set; }
19+
public class CompareFaceResponseData : TeaModel {
20+
[NameInMap("Confidence")]
21+
[Validation(Required=true)]
22+
public float Confidence { get; set; }
23+
};
24+
25+
}
26+
27+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class Config : TeaModel {
12+
[NameInMap("accessKeyId")]
13+
[Validation(Required=false)]
14+
public string AccessKeyId { get; set; }
15+
16+
[NameInMap("accessKeySecret")]
17+
[Validation(Required=false)]
18+
public string AccessKeySecret { get; set; }
19+
20+
[NameInMap("type")]
21+
[Validation(Required=true)]
22+
public string Type { get; set; }
23+
24+
[NameInMap("securityToken")]
25+
[Validation(Required=true)]
26+
public string SecurityToken { get; set; }
27+
28+
[NameInMap("endpoint")]
29+
[Validation(Required=true)]
30+
public string Endpoint { get; set; }
31+
32+
[NameInMap("protocol")]
33+
[Validation(Required=true)]
34+
public string Protocol { get; set; }
35+
36+
[NameInMap("regionId")]
37+
[Validation(Required=true)]
38+
public string RegionId { get; set; }
39+
40+
[NameInMap("userAgent")]
41+
[Validation(Required=true)]
42+
public string UserAgent { get; set; }
43+
44+
[NameInMap("readTimeout")]
45+
[Validation(Required=true)]
46+
public int? ReadTimeout { get; set; }
47+
48+
[NameInMap("connectTimeout")]
49+
[Validation(Required=true)]
50+
public int? ConnectTimeout { get; set; }
51+
52+
[NameInMap("localAddr")]
53+
[Validation(Required=true)]
54+
public string LocalAddr { get; set; }
55+
56+
[NameInMap("httpProxy")]
57+
[Validation(Required=true)]
58+
public string HttpProxy { get; set; }
59+
60+
[NameInMap("httpsProxy")]
61+
[Validation(Required=true)]
62+
public string HttpsProxy { get; set; }
63+
64+
[NameInMap("noProxy")]
65+
[Validation(Required=true)]
66+
public string NoProxy { get; set; }
67+
68+
[NameInMap("socks5Proxy")]
69+
[Validation(Required=true)]
70+
public string Socks5Proxy { get; set; }
71+
72+
[NameInMap("socks5NetWork")]
73+
[Validation(Required=true)]
74+
public string Socks5NetWork { get; set; }
75+
76+
[NameInMap("maxIdleConns")]
77+
[Validation(Required=true)]
78+
public int? MaxIdleConns { get; set; }
79+
80+
[NameInMap("endpointType")]
81+
[Validation(Required=true)]
82+
public string EndpointType { get; set; }
83+
84+
[NameInMap("openPlatformEndpoint")]
85+
[Validation(Required=true)]
86+
public string OpenPlatformEndpoint { get; set; }
87+
88+
}
89+
90+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class DetectFaceAdvanceRequest : TeaModel {
12+
[NameInMap("ImageURLObject")]
13+
[Validation(Required=true)]
14+
public Stream ImageURLObject { get; set; }
15+
16+
[NameInMap("ImageType")]
17+
[Validation(Required=false)]
18+
public int? ImageType { get; set; }
19+
20+
}
21+
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class DetectFaceRequest : TeaModel {
12+
[NameInMap("ImageType")]
13+
[Validation(Required=false)]
14+
public int? ImageType { get; set; }
15+
16+
[NameInMap("ImageURL")]
17+
[Validation(Required=true)]
18+
public string ImageURL { get; set; }
19+
20+
}
21+
22+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class DetectFaceResponse : TeaModel {
12+
[NameInMap("RequestId")]
13+
[Validation(Required=true)]
14+
public string RequestId { get; set; }
15+
16+
[NameInMap("Data")]
17+
[Validation(Required=true)]
18+
public DetectFaceResponseData Data { get; set; }
19+
public class DetectFaceResponseData : TeaModel {
20+
[NameInMap("FaceCount")]
21+
[Validation(Required=true)]
22+
public int? FaceCount { get; set; }
23+
[NameInMap("LandmarkCount")]
24+
[Validation(Required=true)]
25+
public int? LandmarkCount { get; set; }
26+
};
27+
28+
}
29+
30+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class RecognizeFaceAdvanceRequest : TeaModel {
12+
[NameInMap("ImageURLObject")]
13+
[Validation(Required=true)]
14+
public Stream ImageURLObject { get; set; }
15+
16+
[NameInMap("ImageType")]
17+
[Validation(Required=false)]
18+
public int? ImageType { get; set; }
19+
20+
}
21+
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class RecognizeFaceRequest : TeaModel {
12+
[NameInMap("ImageType")]
13+
[Validation(Required=false)]
14+
public int? ImageType { get; set; }
15+
16+
[NameInMap("ImageURL")]
17+
[Validation(Required=true)]
18+
public string ImageURL { get; set; }
19+
20+
}
21+
22+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.Facebody.Models
10+
{
11+
public class RecognizeFaceResponse : TeaModel {
12+
[NameInMap("RequestId")]
13+
[Validation(Required=true)]
14+
public string RequestId { get; set; }
15+
16+
[NameInMap("Data")]
17+
[Validation(Required=true)]
18+
public RecognizeFaceResponseData Data { get; set; }
19+
public class RecognizeFaceResponseData : TeaModel {
20+
[NameInMap("FaceCount")]
21+
[Validation(Required=true)]
22+
public int? FaceCount { get; set; }
23+
[NameInMap("LandmarkCount")]
24+
[Validation(Required=true)]
25+
public int? LandmarkCount { get; set; }
26+
[NameInMap("DenseFeatureLength")]
27+
[Validation(Required=true)]
28+
public int? DenseFeatureLength { get; set; }
29+
};
30+
31+
}
32+
33+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("alibabacloud-facebody")]
9+
[assembly: AssemblyDescription("alibabacloud facebody")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("Alibaba Cloud, Inc")]
12+
[assembly: AssemblyProduct("alibabacloud facebody")]
13+
[assembly: AssemblyCopyright("©2009-present Alibaba Cloud")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("cfe0d0fb-0595-45d3-ad93-6fba325d59a3")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
[assembly: AssemblyVersion("0.0.1.0")]
33+
[assembly: AssemblyFileVersion("0.0.1.0")]

0 commit comments

Comments
 (0)