Skip to content

Commit

Permalink
Supported ModifyDtsJob and DeleteDtsJob.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Apr 8, 2021
1 parent 3dca033 commit a2c710b
Show file tree
Hide file tree
Showing 36 changed files with 6,575 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-04-08 Version: 5.1.11
- Supported ModifyDtsJob and DeleteDtsJob.

2021-04-06 Version: 0.0.6
- Update ScreenChestCT DetectRibFracture.

Expand Down
98 changes: 98 additions & 0 deletions aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobRequest.cs
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 aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobResponse.cs
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;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public DescribeConnectionStatusRequest()

private string destinationEndpointUserName;

private bool? destinationEndpointArchitecture;
private string destinationEndpointArchitecture;

private bool? destinationEndpointOracleSID;
private string destinationEndpointOracleSID;

private string destinationEndpointEngineName;

Expand Down Expand Up @@ -201,7 +201,7 @@ public string DestinationEndpointUserName
}
}

public bool? DestinationEndpointArchitecture
public string DestinationEndpointArchitecture
{
get
{
Expand All @@ -210,11 +210,11 @@ public bool? DestinationEndpointArchitecture
set
{
destinationEndpointArchitecture = value;
DictionaryUtil.Add(QueryParameters, "DestinationEndpointArchitecture", value.ToString());
DictionaryUtil.Add(QueryParameters, "DestinationEndpointArchitecture", value);
}
}

public bool? DestinationEndpointOracleSID
public string DestinationEndpointOracleSID
{
get
{
Expand All @@ -223,7 +223,7 @@ public bool? DestinationEndpointOracleSID
set
{
destinationEndpointOracleSID = value;
DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value.ToString());
DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value);
}
}

Expand Down
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);
}
}
}
Loading

0 comments on commit a2c710b

Please sign in to comment.