-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supported ModifyDtsJob and DeleteDtsJob.
- Loading branch information
Showing
36 changed files
with
6,575 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
using Aliyun.Acs.Core; | ||
using Aliyun.Acs.Core.Http; | ||
using Aliyun.Acs.Core.Transform; | ||
using Aliyun.Acs.Core.Utils; | ||
using Aliyun.Acs.Dts.Transform; | ||
using Aliyun.Acs.Dts.Transform.V20200101; | ||
|
||
namespace Aliyun.Acs.Dts.Model.V20200101 | ||
{ | ||
public class DeleteDtsJobRequest : RpcAcsRequest<DeleteDtsJobResponse> | ||
{ | ||
public DeleteDtsJobRequest() | ||
: base("Dts", "2020-01-01", "DeleteDtsJob", "dts", "openAPI") | ||
{ | ||
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) | ||
{ | ||
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointMap, null); | ||
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointRegionalType, null); | ||
} | ||
Method = MethodType.POST; | ||
} | ||
|
||
private string dtsJobId; | ||
|
||
private string dtsInstanceId; | ||
|
||
private string synchronizationDirection; | ||
|
||
public string DtsJobId | ||
{ | ||
get | ||
{ | ||
return dtsJobId; | ||
} | ||
set | ||
{ | ||
dtsJobId = value; | ||
DictionaryUtil.Add(QueryParameters, "DtsJobId", value); | ||
} | ||
} | ||
|
||
public string DtsInstanceId | ||
{ | ||
get | ||
{ | ||
return dtsInstanceId; | ||
} | ||
set | ||
{ | ||
dtsInstanceId = value; | ||
DictionaryUtil.Add(QueryParameters, "DtsInstanceId", value); | ||
} | ||
} | ||
|
||
public string SynchronizationDirection | ||
{ | ||
get | ||
{ | ||
return synchronizationDirection; | ||
} | ||
set | ||
{ | ||
synchronizationDirection = value; | ||
DictionaryUtil.Add(QueryParameters, "SynchronizationDirection", value); | ||
} | ||
} | ||
|
||
public override bool CheckShowJsonItemName() | ||
{ | ||
return false; | ||
} | ||
|
||
public override DeleteDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext) | ||
{ | ||
return DeleteDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext); | ||
} | ||
} | ||
} |
126 changes: 126 additions & 0 deletions
126
aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
using Aliyun.Acs.Core; | ||
|
||
namespace Aliyun.Acs.Dts.Model.V20200101 | ||
{ | ||
public class DeleteDtsJobResponse : AcsResponse | ||
{ | ||
|
||
private string dynamicCode; | ||
|
||
private string dynamicMessage; | ||
|
||
private string errCode; | ||
|
||
private string errMessage; | ||
|
||
private int? httpStatusCode; | ||
|
||
private string requestId; | ||
|
||
private bool? success; | ||
|
||
public string DynamicCode | ||
{ | ||
get | ||
{ | ||
return dynamicCode; | ||
} | ||
set | ||
{ | ||
dynamicCode = value; | ||
} | ||
} | ||
|
||
public string DynamicMessage | ||
{ | ||
get | ||
{ | ||
return dynamicMessage; | ||
} | ||
set | ||
{ | ||
dynamicMessage = value; | ||
} | ||
} | ||
|
||
public string ErrCode | ||
{ | ||
get | ||
{ | ||
return errCode; | ||
} | ||
set | ||
{ | ||
errCode = value; | ||
} | ||
} | ||
|
||
public string ErrMessage | ||
{ | ||
get | ||
{ | ||
return errMessage; | ||
} | ||
set | ||
{ | ||
errMessage = value; | ||
} | ||
} | ||
|
||
public int? HttpStatusCode | ||
{ | ||
get | ||
{ | ||
return httpStatusCode; | ||
} | ||
set | ||
{ | ||
httpStatusCode = value; | ||
} | ||
} | ||
|
||
public string RequestId | ||
{ | ||
get | ||
{ | ||
return requestId; | ||
} | ||
set | ||
{ | ||
requestId = value; | ||
} | ||
} | ||
|
||
public bool? Success | ||
{ | ||
get | ||
{ | ||
return success; | ||
} | ||
set | ||
{ | ||
success = value; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
using System.Collections.Generic; | ||
|
||
using Aliyun.Acs.Core; | ||
using Aliyun.Acs.Core.Http; | ||
using Aliyun.Acs.Core.Transform; | ||
using Aliyun.Acs.Core.Utils; | ||
using Aliyun.Acs.Dts.Transform; | ||
using Aliyun.Acs.Dts.Transform.V20200101; | ||
|
||
namespace Aliyun.Acs.Dts.Model.V20200101 | ||
{ | ||
public class DescribeDtsJobDetailRequest : RpcAcsRequest<DescribeDtsJobDetailResponse> | ||
{ | ||
public DescribeDtsJobDetailRequest() | ||
: base("Dts", "2020-01-01", "DescribeDtsJobDetail", "dts", "openAPI") | ||
{ | ||
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) | ||
{ | ||
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointMap, null); | ||
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Dts.Endpoint.endpointRegionalType, null); | ||
} | ||
Method = MethodType.POST; | ||
} | ||
|
||
private string dtsJobId; | ||
|
||
public string DtsJobId | ||
{ | ||
get | ||
{ | ||
return dtsJobId; | ||
} | ||
set | ||
{ | ||
dtsJobId = value; | ||
DictionaryUtil.Add(QueryParameters, "DtsJobId", value); | ||
} | ||
} | ||
|
||
public override bool CheckShowJsonItemName() | ||
{ | ||
return false; | ||
} | ||
|
||
public override DescribeDtsJobDetailResponse GetResponse(UnmarshallerContext unmarshallerContext) | ||
{ | ||
return DescribeDtsJobDetailResponseUnmarshaller.Unmarshall(unmarshallerContext); | ||
} | ||
} | ||
} |
Oops, something went wrong.