Skip to content

Commit f01a538

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent 819bc9d commit f01a538

14 files changed

+1382
-1
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-12-19 Version: 1.8.23
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2024-12-19 Version: 2.16.30
25
- Add BatchGetMediaInfos.
36
- Modify UploadStreamByURL.
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
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.polardb.Transform;
26+
using Aliyun.Acs.polardb.Transform.V20170801;
27+
28+
namespace Aliyun.Acs.polardb.Model.V20170801
29+
{
30+
public class CancelActiveOperationTasksRequest : RpcAcsRequest<CancelActiveOperationTasksResponse>
31+
{
32+
public CancelActiveOperationTasksRequest()
33+
: base("polardb", "2017-08-01", "CancelActiveOperationTasks", "polardb", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.polardb.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private long? resourceOwnerId;
44+
45+
private string taskIds;
46+
47+
private string securityToken;
48+
49+
private string resourceOwnerAccount;
50+
51+
private string ownerAccount;
52+
53+
private long? ownerId;
54+
55+
public long? ResourceOwnerId
56+
{
57+
get
58+
{
59+
return resourceOwnerId;
60+
}
61+
set
62+
{
63+
resourceOwnerId = value;
64+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
65+
}
66+
}
67+
68+
public string TaskIds
69+
{
70+
get
71+
{
72+
return taskIds;
73+
}
74+
set
75+
{
76+
taskIds = value;
77+
DictionaryUtil.Add(QueryParameters, "TaskIds", value);
78+
}
79+
}
80+
81+
public string SecurityToken
82+
{
83+
get
84+
{
85+
return securityToken;
86+
}
87+
set
88+
{
89+
securityToken = value;
90+
DictionaryUtil.Add(QueryParameters, "SecurityToken", value);
91+
}
92+
}
93+
94+
public string ResourceOwnerAccount
95+
{
96+
get
97+
{
98+
return resourceOwnerAccount;
99+
}
100+
set
101+
{
102+
resourceOwnerAccount = value;
103+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
104+
}
105+
}
106+
107+
public string OwnerAccount
108+
{
109+
get
110+
{
111+
return ownerAccount;
112+
}
113+
set
114+
{
115+
ownerAccount = value;
116+
DictionaryUtil.Add(QueryParameters, "OwnerAccount", value);
117+
}
118+
}
119+
120+
public long? OwnerId
121+
{
122+
get
123+
{
124+
return ownerId;
125+
}
126+
set
127+
{
128+
ownerId = value;
129+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
130+
}
131+
}
132+
133+
public override bool CheckShowJsonItemName()
134+
{
135+
return false;
136+
}
137+
138+
public override CancelActiveOperationTasksResponse GetResponse(UnmarshallerContext unmarshallerContext)
139+
{
140+
return CancelActiveOperationTasksResponseUnmarshaller.Unmarshall(unmarshallerContext);
141+
}
142+
}
143+
}
Lines changed: 56 additions & 0 deletions
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.polardb.Model.V20170801
24+
{
25+
public class CancelActiveOperationTasksResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string taskIds;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public string TaskIds
45+
{
46+
get
47+
{
48+
return taskIds;
49+
}
50+
set
51+
{
52+
taskIds = value;
53+
}
54+
}
55+
}
56+
}

aliyun-net-sdk-polardb/Polardb/Model/V20170801/CreateAccountRequest.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public CreateAccountRequest()
6464

6565
private string dBName;
6666

67+
private string privForAllDB;
68+
6769
public long? ResourceOwnerId
6870
{
6971
get
@@ -218,6 +220,19 @@ public string DBName
218220
dBName = value;
219221
DictionaryUtil.Add(QueryParameters, "DBName", value);
220222
}
223+
}
224+
225+
public string PrivForAllDB
226+
{
227+
get
228+
{
229+
return privForAllDB;
230+
}
231+
set
232+
{
233+
privForAllDB = value;
234+
DictionaryUtil.Add(QueryParameters, "PrivForAllDB", value);
235+
}
221236
}
222237

223238
public override CreateAccountResponse GetResponse(UnmarshallerContext unmarshallerContext)

0 commit comments

Comments
 (0)