Skip to content

Commit 7894fed

Browse files
committed
Generated 2019-01-23 for Drds.
1 parent 1ff532e commit 7894fed

File tree

240 files changed

+5306
-3929
lines changed

Some content is hidden

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

240 files changed

+5306
-3929
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-03-11 Version: 2.5.3
2+
- Generated 2019-01-23 for `Drds`.
3+
14
2025-03-07 Version: 1.0.0
25
- first publish.
36
- publish ssechat api.
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.Drds.Transform;
26+
using Aliyun.Acs.Drds.Transform.V20190123;
27+
28+
namespace Aliyun.Acs.Drds.Model.V20190123
29+
{
30+
public class ChangeAccountPasswordRequest : RpcAcsRequest<ChangeAccountPasswordResponse>
31+
{
32+
public ChangeAccountPasswordRequest()
33+
: base("Drds", "2019-01-23", "ChangeAccountPassword", "drds", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Drds.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Drds.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string drdsInstanceId;
44+
45+
private string password;
46+
47+
private string accountName;
48+
49+
public string DrdsInstanceId
50+
{
51+
get
52+
{
53+
return drdsInstanceId;
54+
}
55+
set
56+
{
57+
drdsInstanceId = value;
58+
DictionaryUtil.Add(QueryParameters, "DrdsInstanceId", value);
59+
}
60+
}
61+
62+
public string Password
63+
{
64+
get
65+
{
66+
return password;
67+
}
68+
set
69+
{
70+
password = value;
71+
DictionaryUtil.Add(QueryParameters, "Password", value);
72+
}
73+
}
74+
75+
public string AccountName
76+
{
77+
get
78+
{
79+
return accountName;
80+
}
81+
set
82+
{
83+
accountName = value;
84+
DictionaryUtil.Add(QueryParameters, "AccountName", value);
85+
}
86+
}
87+
88+
public override ChangeAccountPasswordResponse GetResponse(UnmarshallerContext unmarshallerContext)
89+
{
90+
return ChangeAccountPasswordResponseUnmarshaller.Unmarshall(unmarshallerContext);
91+
}
92+
}
93+
}

aliyun-net-sdk-drds/Drds/Model/V20190123/SubmitSmoothExpandTaskResponse.cs aliyun-net-sdk-drds/Drds/Model/V20190123/ChangeAccountPasswordResponse.cs

+10-10
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.Drds.Model.V20190123
2424
{
25-
public class SubmitSmoothExpandTaskResponse : AcsResponse
25+
public class ChangeAccountPasswordResponse : 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-drds/Drds/Model/V20190123/DescribeShardTaskListRequest.cs aliyun-net-sdk-drds/Drds/Model/V20190123/ChangeInstanceAzoneRequest.cs

+35-40
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727

2828
namespace Aliyun.Acs.Drds.Model.V20190123
2929
{
30-
public class DescribeShardTaskListRequest : RpcAcsRequest<DescribeShardTaskListResponse>
30+
public class ChangeInstanceAzoneRequest : RpcAcsRequest<ChangeInstanceAzoneResponse>
3131
{
32-
public DescribeShardTaskListRequest()
33-
: base("Drds", "2019-01-23", "DescribeShardTaskList", "drds", "openAPI")
32+
public ChangeInstanceAzoneRequest()
33+
: base("Drds", "2019-01-23", "ChangeInstanceAzone", "drds", "openAPI")
3434
{
3535
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3636
{
@@ -40,104 +40,99 @@ public DescribeShardTaskListRequest()
4040
Method = MethodType.POST;
4141
}
4242

43-
private string taskType;
43+
private string targetAzoneId;
4444

45-
private string query;
46-
47-
private int? currentPage;
45+
private string drdsRegionId;
4846

4947
private string drdsInstanceId;
5048

51-
private string dbName;
49+
private string originAzoneId;
50+
51+
private bool? changeVSwitch;
5252

53-
private int? pageSize;
53+
private string newVSwitch;
5454

55-
public string TaskType
55+
public string TargetAzoneId
5656
{
5757
get
5858
{
59-
return taskType;
59+
return targetAzoneId;
6060
}
6161
set
6262
{
63-
taskType = value;
64-
DictionaryUtil.Add(QueryParameters, "TaskType", value);
63+
targetAzoneId = value;
64+
DictionaryUtil.Add(QueryParameters, "TargetAzoneId", value);
6565
}
6666
}
6767

68-
public string Query
68+
public string DrdsRegionId
6969
{
7070
get
7171
{
72-
return query;
72+
return drdsRegionId;
7373
}
7474
set
7575
{
76-
query = value;
77-
DictionaryUtil.Add(QueryParameters, "Query", value);
76+
drdsRegionId = value;
77+
DictionaryUtil.Add(QueryParameters, "DrdsRegionId", value);
7878
}
7979
}
8080

81-
public int? CurrentPage
81+
public string DrdsInstanceId
8282
{
8383
get
8484
{
85-
return currentPage;
85+
return drdsInstanceId;
8686
}
8787
set
8888
{
89-
currentPage = value;
90-
DictionaryUtil.Add(QueryParameters, "CurrentPage", value.ToString());
89+
drdsInstanceId = value;
90+
DictionaryUtil.Add(QueryParameters, "DrdsInstanceId", value);
9191
}
9292
}
9393

94-
public string DrdsInstanceId
94+
public string OriginAzoneId
9595
{
9696
get
9797
{
98-
return drdsInstanceId;
98+
return originAzoneId;
9999
}
100100
set
101101
{
102-
drdsInstanceId = value;
103-
DictionaryUtil.Add(QueryParameters, "DrdsInstanceId", value);
102+
originAzoneId = value;
103+
DictionaryUtil.Add(QueryParameters, "OriginAzoneId", value);
104104
}
105105
}
106106

107-
public string DbName
107+
public bool? ChangeVSwitch
108108
{
109109
get
110110
{
111-
return dbName;
111+
return changeVSwitch;
112112
}
113113
set
114114
{
115-
dbName = value;
116-
DictionaryUtil.Add(QueryParameters, "DbName", value);
115+
changeVSwitch = value;
116+
DictionaryUtil.Add(QueryParameters, "ChangeVSwitch", value.ToString());
117117
}
118118
}
119119

120-
public int? PageSize
120+
public string NewVSwitch
121121
{
122122
get
123123
{
124-
return pageSize;
124+
return newVSwitch;
125125
}
126126
set
127127
{
128-
pageSize = value;
129-
DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
128+
newVSwitch = value;
129+
DictionaryUtil.Add(QueryParameters, "NewVSwitch", value);
130130
}
131-
}
132-
133-
public override bool CheckShowJsonItemName()
134-
{
135-
return false;
136131
}
137132

138-
public override DescribeShardTaskListResponse GetResponse(UnmarshallerContext unmarshallerContext)
133+
public override ChangeInstanceAzoneResponse GetResponse(UnmarshallerContext unmarshallerContext)
139134
{
140-
return DescribeShardTaskListResponseUnmarshaller.Unmarshall(unmarshallerContext);
135+
return ChangeInstanceAzoneResponseUnmarshaller.Unmarshall(unmarshallerContext);
141136
}
142137
}
143138
}

aliyun-net-sdk-drds/Drds/Model/V20190123/SubmitSwitchTaskResponse.cs aliyun-net-sdk-drds/Drds/Model/V20190123/ChangeInstanceAzoneResponse.cs

+10-10
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.Drds.Model.V20190123
2424
{
25-
public class SubmitSwitchTaskResponse : AcsResponse
25+
public class ChangeInstanceAzoneResponse : 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
}

0 commit comments

Comments
 (0)