Skip to content

Commit b4dce9b

Browse files
committed
Generated 2017-08-23 for Green.
1 parent c9d88c2 commit b4dce9b

File tree

419 files changed

+28174
-5282
lines changed

Some content is hidden

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

419 files changed

+28174
-5282
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-04-02 Version: 3.6.6
2+
- Generated 2017-08-23 for `Green`.
3+
14
2024-04-01 Version: 1.0.0
25
- Generated 2013-02-21 for `Slb`.
36

aliyun-net-sdk-green/Green/Model/V20180509/VideoCancelScanRequest.cs aliyun-net-sdk-green/Green/Model/V20170823/AuditItemSubmitRequest.cs

+73-15
Original file line numberDiff line numberDiff line change
@@ -22,44 +22,102 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25-
using Aliyun.Acs.Green;
2625
using Aliyun.Acs.Green.Transform;
27-
using Aliyun.Acs.Green.Transform.V20180509;
26+
using Aliyun.Acs.Green.Transform.V20170823;
2827

29-
namespace Aliyun.Acs.Green.Model.V20180509
28+
namespace Aliyun.Acs.Green.Model.V20170823
3029
{
31-
public class VideoCancelScanRequest : RoaAcsRequest<VideoCancelScanResponse>
30+
public class AuditItemSubmitRequest : RpcAcsRequest<AuditItemSubmitResponse>
3231
{
33-
public VideoCancelScanRequest()
34-
: base("Green", "2018-05-09", "VideoCancelScan")
32+
public AuditItemSubmitRequest()
33+
: base("Green", "2017-08-23", "AuditItemSubmit", "green", "openAPI")
3534
{
3635
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3736
{
3837
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Green.Endpoint.endpointMap, null);
3938
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Green.Endpoint.endpointRegionalType, null);
4039
}
41-
UriPattern = "/green/video/cancelscan";
4240
Method = MethodType.POST;
4341
}
4442

45-
private string clientInfo;
43+
private List<string> datas = new List<string>(){ };
4644

47-
public string ClientInfo
45+
public List<string> Datas
4846
{
4947
get
5048
{
51-
return clientInfo;
49+
return datas;
5250
}
53-
set
51+
52+
set
53+
{
54+
datas = value;
55+
if(datas != null)
56+
{
57+
for (int depth1 = 0; depth1 < datas.Count; depth1++)
58+
{
59+
DictionaryUtil.Add(QueryParameters,"Data." + (depth1 + 1), datas[depth1]);
60+
DictionaryUtil.Add(QueryParameters,"Data." + (depth1 + 1), datas[depth1]);
61+
DictionaryUtil.Add(QueryParameters,"Data." + (depth1 + 1), datas[depth1]);
62+
}
63+
}
64+
}
65+
}
66+
67+
public class Data
68+
{
69+
70+
private string customRiskType;
71+
72+
private long? id;
73+
74+
private string customResult;
75+
76+
public string CustomRiskType
5477
{
55-
clientInfo = value;
56-
DictionaryUtil.Add(QueryParameters, "ClientInfo", value);
78+
get
79+
{
80+
return customRiskType;
81+
}
82+
set
83+
{
84+
customRiskType = value;
85+
}
5786
}
87+
88+
public long? Id
89+
{
90+
get
91+
{
92+
return id;
93+
}
94+
set
95+
{
96+
id = value;
97+
}
98+
}
99+
100+
public string CustomResult
101+
{
102+
get
103+
{
104+
return customResult;
105+
}
106+
set
107+
{
108+
customResult = value;
109+
}
110+
}
111+
}
112+
113+
public override bool CheckShowJsonItemName()
114+
{
115+
return false;
58116
}
59117

60-
public override VideoCancelScanResponse GetResponse(UnmarshallerContext unmarshallerContext)
118+
public override AuditItemSubmitResponse GetResponse(UnmarshallerContext unmarshallerContext)
61119
{
62-
return VideoCancelScanResponseUnmarshaller.Unmarshall(unmarshallerContext);
120+
return AuditItemSubmitResponseUnmarshaller.Unmarshall(unmarshallerContext);
63121
}
64122
}
65123
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.Green.Model.V20170823
24+
{
25+
public class AuditItemSubmitResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private bool? success;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public bool? Success
45+
{
46+
get
47+
{
48+
return success;
49+
}
50+
set
51+
{
52+
success = value;
53+
}
54+
}
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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.Green.Transform;
26+
using Aliyun.Acs.Green.Transform.V20170823;
27+
28+
namespace Aliyun.Acs.Green.Model.V20170823
29+
{
30+
public class CreatCustomOcrTemplateRequest : RpcAcsRequest<CreatCustomOcrTemplateResponse>
31+
{
32+
public CreatCustomOcrTemplateRequest()
33+
: base("Green", "2017-08-23", "CreatCustomOcrTemplate", "green", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Green.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Green.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string recognizeArea;
44+
45+
private string imgUrl;
46+
47+
private string referArea;
48+
49+
private string name;
50+
51+
public string RecognizeArea
52+
{
53+
get
54+
{
55+
return recognizeArea;
56+
}
57+
set
58+
{
59+
recognizeArea = value;
60+
DictionaryUtil.Add(QueryParameters, "RecognizeArea", value);
61+
}
62+
}
63+
64+
public string ImgUrl
65+
{
66+
get
67+
{
68+
return imgUrl;
69+
}
70+
set
71+
{
72+
imgUrl = value;
73+
DictionaryUtil.Add(QueryParameters, "ImgUrl", value);
74+
}
75+
}
76+
77+
public string ReferArea
78+
{
79+
get
80+
{
81+
return referArea;
82+
}
83+
set
84+
{
85+
referArea = value;
86+
DictionaryUtil.Add(QueryParameters, "ReferArea", value);
87+
}
88+
}
89+
90+
public string Name
91+
{
92+
get
93+
{
94+
return name;
95+
}
96+
set
97+
{
98+
name = value;
99+
DictionaryUtil.Add(QueryParameters, "Name", value);
100+
}
101+
}
102+
103+
public override bool CheckShowJsonItemName()
104+
{
105+
return false;
106+
}
107+
108+
public override CreatCustomOcrTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext)
109+
{
110+
return CreatCustomOcrTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext);
111+
}
112+
}
113+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.Green.Model.V20170823
24+
{
25+
public class CreatCustomOcrTemplateResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
public string RequestId
31+
{
32+
get
33+
{
34+
return requestId;
35+
}
36+
set
37+
{
38+
requestId = value;
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)