Skip to content

Commit a2c710b

Browse files
committed
Supported ModifyDtsJob and DeleteDtsJob.
1 parent 3dca033 commit a2c710b

36 files changed

+6575
-7
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-04-08 Version: 5.1.11
2+
- Supported ModifyDtsJob and DeleteDtsJob.
3+
14
2021-04-06 Version: 0.0.6
25
- Update ScreenChestCT DetectRibFracture.
36

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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.Dts.Transform;
26+
using Aliyun.Acs.Dts.Transform.V20200101;
27+
28+
namespace Aliyun.Acs.Dts.Model.V20200101
29+
{
30+
public class DeleteDtsJobRequest : RpcAcsRequest<DeleteDtsJobResponse>
31+
{
32+
public DeleteDtsJobRequest()
33+
: base("Dts", "2020-01-01", "DeleteDtsJob", "dts", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string dtsJobId;
44+
45+
private string dtsInstanceId;
46+
47+
private string synchronizationDirection;
48+
49+
public string DtsJobId
50+
{
51+
get
52+
{
53+
return dtsJobId;
54+
}
55+
set
56+
{
57+
dtsJobId = value;
58+
DictionaryUtil.Add(QueryParameters, "DtsJobId", value);
59+
}
60+
}
61+
62+
public string DtsInstanceId
63+
{
64+
get
65+
{
66+
return dtsInstanceId;
67+
}
68+
set
69+
{
70+
dtsInstanceId = value;
71+
DictionaryUtil.Add(QueryParameters, "DtsInstanceId", value);
72+
}
73+
}
74+
75+
public string SynchronizationDirection
76+
{
77+
get
78+
{
79+
return synchronizationDirection;
80+
}
81+
set
82+
{
83+
synchronizationDirection = value;
84+
DictionaryUtil.Add(QueryParameters, "SynchronizationDirection", value);
85+
}
86+
}
87+
88+
public override bool CheckShowJsonItemName()
89+
{
90+
return false;
91+
}
92+
93+
public override DeleteDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext)
94+
{
95+
return DeleteDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext);
96+
}
97+
}
98+
}
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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+
23+
namespace Aliyun.Acs.Dts.Model.V20200101
24+
{
25+
public class DeleteDtsJobResponse : AcsResponse
26+
{
27+
28+
private string dynamicCode;
29+
30+
private string dynamicMessage;
31+
32+
private string errCode;
33+
34+
private string errMessage;
35+
36+
private int? httpStatusCode;
37+
38+
private string requestId;
39+
40+
private bool? success;
41+
42+
public string DynamicCode
43+
{
44+
get
45+
{
46+
return dynamicCode;
47+
}
48+
set
49+
{
50+
dynamicCode = value;
51+
}
52+
}
53+
54+
public string DynamicMessage
55+
{
56+
get
57+
{
58+
return dynamicMessage;
59+
}
60+
set
61+
{
62+
dynamicMessage = value;
63+
}
64+
}
65+
66+
public string ErrCode
67+
{
68+
get
69+
{
70+
return errCode;
71+
}
72+
set
73+
{
74+
errCode = value;
75+
}
76+
}
77+
78+
public string ErrMessage
79+
{
80+
get
81+
{
82+
return errMessage;
83+
}
84+
set
85+
{
86+
errMessage = value;
87+
}
88+
}
89+
90+
public int? HttpStatusCode
91+
{
92+
get
93+
{
94+
return httpStatusCode;
95+
}
96+
set
97+
{
98+
httpStatusCode = value;
99+
}
100+
}
101+
102+
public string RequestId
103+
{
104+
get
105+
{
106+
return requestId;
107+
}
108+
set
109+
{
110+
requestId = value;
111+
}
112+
}
113+
114+
public bool? Success
115+
{
116+
get
117+
{
118+
return success;
119+
}
120+
set
121+
{
122+
success = value;
123+
}
124+
}
125+
}
126+
}

aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeConnectionStatusRequest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public DescribeConnectionStatusRequest()
5858

5959
private string destinationEndpointUserName;
6060

61-
private bool? destinationEndpointArchitecture;
61+
private string destinationEndpointArchitecture;
6262

63-
private bool? destinationEndpointOracleSID;
63+
private string destinationEndpointOracleSID;
6464

6565
private string destinationEndpointEngineName;
6666

@@ -201,7 +201,7 @@ public string DestinationEndpointUserName
201201
}
202202
}
203203

204-
public bool? DestinationEndpointArchitecture
204+
public string DestinationEndpointArchitecture
205205
{
206206
get
207207
{
@@ -210,11 +210,11 @@ public bool? DestinationEndpointArchitecture
210210
set
211211
{
212212
destinationEndpointArchitecture = value;
213-
DictionaryUtil.Add(QueryParameters, "DestinationEndpointArchitecture", value.ToString());
213+
DictionaryUtil.Add(QueryParameters, "DestinationEndpointArchitecture", value);
214214
}
215215
}
216216

217-
public bool? DestinationEndpointOracleSID
217+
public string DestinationEndpointOracleSID
218218
{
219219
get
220220
{
@@ -223,7 +223,7 @@ public bool? DestinationEndpointOracleSID
223223
set
224224
{
225225
destinationEndpointOracleSID = value;
226-
DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value.ToString());
226+
DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value);
227227
}
228228
}
229229

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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.Dts.Transform;
26+
using Aliyun.Acs.Dts.Transform.V20200101;
27+
28+
namespace Aliyun.Acs.Dts.Model.V20200101
29+
{
30+
public class DescribeDtsJobDetailRequest : RpcAcsRequest<DescribeDtsJobDetailResponse>
31+
{
32+
public DescribeDtsJobDetailRequest()
33+
: base("Dts", "2020-01-01", "DescribeDtsJobDetail", "dts", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string dtsJobId;
44+
45+
public string DtsJobId
46+
{
47+
get
48+
{
49+
return dtsJobId;
50+
}
51+
set
52+
{
53+
dtsJobId = value;
54+
DictionaryUtil.Add(QueryParameters, "DtsJobId", value);
55+
}
56+
}
57+
58+
public override bool CheckShowJsonItemName()
59+
{
60+
return false;
61+
}
62+
63+
public override DescribeDtsJobDetailResponse GetResponse(UnmarshallerContext unmarshallerContext)
64+
{
65+
return DescribeDtsJobDetailResponseUnmarshaller.Unmarshall(unmarshallerContext);
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)