Skip to content

Commit 9b13f16

Browse files
committed
Update sdk.
1 parent 9015bd5 commit 9b13f16

File tree

281 files changed

+2173
-2479
lines changed

Some content is hidden

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

281 files changed

+2173
-2479
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-06-30 Version: 1.0.5
2+
- Update sdk.
3+
14
2022-06-29 Version: 2.0.33
25
- For 2019-03-07.
36

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/AddAutoCcBlacklistResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/AddAutoCcWhitelistResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/AssociateWebCertResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/AttachSceneDefenseObjectResponse.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,39 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101
2424
{
2525
public class AttachSceneDefenseObjectResponse : AcsResponse
2626
{
2727

28-
private string requestId;
29-
3028
private bool? success;
3129

32-
public string RequestId
30+
private string requestId;
31+
32+
public bool? Success
3333
{
3434
get
3535
{
36-
return requestId;
36+
return success;
3737
}
3838
set
3939
{
40-
requestId = value;
40+
success = value;
4141
}
4242
}
4343

44-
public bool? Success
44+
public string RequestId
4545
{
4646
get
4747
{
48-
return success;
48+
return requestId;
4949
}
5050
set
5151
{
52-
success = value;
52+
requestId = value;
5353
}
5454
}
5555
}

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigL7RsPolicyResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigLayer4RemarkResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigLayer4RuleBakModeResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigLayer4RulePolicyResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigNetworkRegionBlockResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigNetworkRulesResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigUdpReflectResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigWebCCTemplateResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigWebIpSetRequest.cs

-8
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ public List<string> BlackLists
7272
set
7373
{
7474
blackLists = value;
75-
for (int i = 0; i < blackLists.Count; i++)
76-
{
77-
DictionaryUtil.Add(QueryParameters,"BlackList." + (i + 1) , blackLists[i]);
78-
}
7975
}
8076
}
8177

@@ -89,10 +85,6 @@ public List<string> WhiteLists
8985
set
9086
{
9187
whiteLists = value;
92-
for (int i = 0; i < whiteLists.Count; i++)
93-
{
94-
DictionaryUtil.Add(QueryParameters,"WhiteList." + (i + 1) , whiteLists[i]);
95-
}
9688
}
9789
}
9890

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/ConfigWebIpSetResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateAsyncTaskResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateDomainResourceRequest.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ public List<string> RealServerss
8989
set
9090
{
9191
realServerss = value;
92-
for (int i = 0; i < realServerss.Count; i++)
93-
{
94-
DictionaryUtil.Add(QueryParameters,"RealServers." + (i + 1) , realServerss[i]);
95-
}
9692
}
9793
}
9894

@@ -106,10 +102,6 @@ public List<string> InstanceIdss
106102
set
107103
{
108104
instanceIdss = value;
109-
for (int i = 0; i < instanceIdss.Count; i++)
110-
{
111-
DictionaryUtil.Add(QueryParameters,"InstanceIds." + (i + 1) , instanceIdss[i]);
112-
}
113105
}
114106
}
115107

@@ -123,13 +115,12 @@ public List<ProxyTypes> ProxyTypess
123115
set
124116
{
125117
proxyTypess = value;
126-
for (int i = 0; i < proxyTypess.Count; i++)
118+
if(proxyTypess != null)
127119
{
128-
for (int j = 0; j < proxyTypess[i].ProxyPortss.Count; j++)
120+
for (int depth1 = 0; depth1 < proxyTypess.Count; depth1++)
129121
{
130-
DictionaryUtil.Add(QueryParameters,"ProxyTypes." + (i + 1) + ".ProxyPorts." +(j + 1), proxyTypess[i].ProxyPortss[j]);
122+
DictionaryUtil.Add(QueryParameters,"ProxyTypes." + (depth1 + 1), proxyTypess[depth1]);
131123
}
132-
DictionaryUtil.Add(QueryParameters,"ProxyTypes." + (i + 1) + ".ProxyType", proxyTypess[i].ProxyType);
133124
}
134125
}
135126
}
@@ -150,11 +141,11 @@ public string Domain
150141
public class ProxyTypes
151142
{
152143

153-
private List<int?> proxyPortss = new List<int?>(){ };
144+
private List<string> proxyPortss = new List<string>(){ };
154145

155146
private string proxyType;
156147

157-
public List<int?> ProxyPortss
148+
public List<string> ProxyPortss
158149
{
159150
get
160151
{

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateDomainResourceResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateNetworkRulesResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreatePortRequest.cs

-4
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ public List<string> RealServerss
100100
set
101101
{
102102
realServerss = value;
103-
for (int i = 0; i < realServerss.Count; i++)
104-
{
105-
DictionaryUtil.Add(QueryParameters,"RealServers." + (i + 1) , realServerss[i]);
106-
}
107103
}
108104
}
109105

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreatePortResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateSceneDefensePolicyResponse.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,39 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101
2424
{
2525
public class CreateSceneDefensePolicyResponse : AcsResponse
2626
{
2727

28-
private string requestId;
29-
3028
private bool? success;
3129

32-
public string RequestId
30+
private string requestId;
31+
32+
public bool? Success
3333
{
3434
get
3535
{
36-
return requestId;
36+
return success;
3737
}
3838
set
3939
{
40-
requestId = value;
40+
success = value;
4141
}
4242
}
4343

44-
public bool? Success
44+
public string RequestId
4545
{
4646
get
4747
{
48-
return success;
48+
return requestId;
4949
}
5050
set
5151
{
52-
success = value;
52+
requestId = value;
5353
}
5454
}
5555
}

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateSchedulerRuleResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.ddoscoo.Model.V20200101

aliyun-net-sdk-ddoscoo/Ddoscoo/Model/V20200101/CreateTagResourcesRequest.cs

+9-10
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public CreateTagResourcesRequest()
4343

4444
private string resourceType;
4545

46-
private List<Tags> tagss = new List<Tags>(){ };
46+
private List<string> tagss = new List<string>(){ };
4747

4848
private string resourceGroupId;
4949

@@ -62,7 +62,7 @@ public string ResourceType
6262
}
6363
}
6464

65-
public List<Tags> Tagss
65+
public List<string> Tagss
6666
{
6767
get
6868
{
@@ -72,10 +72,13 @@ public List<Tags> Tagss
7272
set
7373
{
7474
tagss = value;
75-
for (int i = 0; i < tagss.Count; i++)
75+
if(tagss != null)
7676
{
77-
DictionaryUtil.Add(QueryParameters,"Tags." + (i + 1) + ".Value", tagss[i].Value);
78-
DictionaryUtil.Add(QueryParameters,"Tags." + (i + 1) + ".Key", tagss[i].Key);
77+
for (int depth1 = 0; depth1 < tagss.Count; depth1++)
78+
{
79+
DictionaryUtil.Add(QueryParameters,"Tags." + (depth1 + 1), tagss[depth1]);
80+
DictionaryUtil.Add(QueryParameters,"Tags." + (depth1 + 1), tagss[depth1]);
81+
}
7982
}
8083
}
8184
}
@@ -103,10 +106,6 @@ public List<string> ResourceIdss
103106
set
104107
{
105108
resourceIdss = value;
106-
for (int i = 0; i < resourceIdss.Count; i++)
107-
{
108-
DictionaryUtil.Add(QueryParameters,"ResourceIds." + (i + 1) , resourceIdss[i]);
109-
}
110109
}
111110
}
112111

@@ -117,7 +116,7 @@ public class Tags
117116

118117
private string key;
119118

120-
public string Value
119+
public string Value_
121120
{
122121
get
123122
{

0 commit comments

Comments
 (0)