diff --git a/CHANGELOG b/CHANGELOG index 73ee5812a9..2e5687d202 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobRequest.cs new file mode 100644 index 0000000000..2b5fc32fd7 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobRequest.cs @@ -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 + { + 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); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobResponse.cs new file mode 100644 index 0000000000..0aa1763807 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DeleteDtsJobResponse.cs @@ -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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeConnectionStatusRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeConnectionStatusRequest.cs index 55c543fc27..5f25497f15 100644 --- a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeConnectionStatusRequest.cs +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeConnectionStatusRequest.cs @@ -58,9 +58,9 @@ public DescribeConnectionStatusRequest() private string destinationEndpointUserName; - private bool? destinationEndpointArchitecture; + private string destinationEndpointArchitecture; - private bool? destinationEndpointOracleSID; + private string destinationEndpointOracleSID; private string destinationEndpointEngineName; @@ -201,7 +201,7 @@ public string DestinationEndpointUserName } } - public bool? DestinationEndpointArchitecture + public string DestinationEndpointArchitecture { get { @@ -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 { @@ -223,7 +223,7 @@ public bool? DestinationEndpointOracleSID set { destinationEndpointOracleSID = value; - DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value.ToString()); + DictionaryUtil.Add(QueryParameters, "DestinationEndpointOracleSID", value); } } diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailRequest.cs new file mode 100644 index 0000000000..e9c52a51c3 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailRequest.cs @@ -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 + { + 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); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailResponse.cs new file mode 100644 index 0000000000..a08b1a2b8c --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobDetailResponse.cs @@ -0,0 +1,740 @@ +/* + * 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 DescribeDtsJobDetailResponse : AcsResponse + { + + private string requestId; + + private bool? success; + + private int? code; + + private string errCode; + + private string errMessage; + + private string dynamicMessage; + + private int? httpStatusCode; + + private string dtsInstanceID; + + private string dtsJobId; + + private string dtsJobName; + + private string dtsJobClass; + + private string dtsJobDirection; + + private string payType; + + private string expireTime; + + private string createTime; + + private string finishTime; + + private string status; + + private int? checkpoint; + + private int? delay; + + private string reserved; + + private string errorMessage; + + private string dbObject; + + private DescribeDtsJobDetail_SourceEndpoint sourceEndpoint; + + private DescribeDtsJobDetail_DestinationEndpoint destinationEndpoint; + + private DescribeDtsJobDetail_MigrationMode migrationMode; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public int? Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string ErrCode + { + get + { + return errCode; + } + set + { + errCode = value; + } + } + + public string ErrMessage + { + get + { + return errMessage; + } + set + { + errMessage = value; + } + } + + public string DynamicMessage + { + get + { + return dynamicMessage; + } + set + { + dynamicMessage = value; + } + } + + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + + public string DtsInstanceID + { + get + { + return dtsInstanceID; + } + set + { + dtsInstanceID = value; + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + } + } + + public string DtsJobName + { + get + { + return dtsJobName; + } + set + { + dtsJobName = value; + } + } + + public string DtsJobClass + { + get + { + return dtsJobClass; + } + set + { + dtsJobClass = value; + } + } + + public string DtsJobDirection + { + get + { + return dtsJobDirection; + } + set + { + dtsJobDirection = value; + } + } + + public string PayType + { + get + { + return payType; + } + set + { + payType = value; + } + } + + public string ExpireTime + { + get + { + return expireTime; + } + set + { + expireTime = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public int? Checkpoint + { + get + { + return checkpoint; + } + set + { + checkpoint = value; + } + } + + public int? Delay + { + get + { + return delay; + } + set + { + delay = value; + } + } + + public string Reserved + { + get + { + return reserved; + } + set + { + reserved = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string DbObject + { + get + { + return dbObject; + } + set + { + dbObject = value; + } + } + + public DescribeDtsJobDetail_SourceEndpoint SourceEndpoint + { + get + { + return sourceEndpoint; + } + set + { + sourceEndpoint = value; + } + } + + public DescribeDtsJobDetail_DestinationEndpoint DestinationEndpoint + { + get + { + return destinationEndpoint; + } + set + { + destinationEndpoint = value; + } + } + + public DescribeDtsJobDetail_MigrationMode MigrationMode + { + get + { + return migrationMode; + } + set + { + migrationMode = value; + } + } + + public class DescribeDtsJobDetail_SourceEndpoint + { + + private string instanceID; + + private string region; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + private string roleName; + + private string aliyunUid; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + + public string RoleName + { + get + { + return roleName; + } + set + { + roleName = value; + } + } + + public string AliyunUid + { + get + { + return aliyunUid; + } + set + { + aliyunUid = value; + } + } + } + + public class DescribeDtsJobDetail_DestinationEndpoint + { + + private string instanceID; + + private string region; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + } + + public class DescribeDtsJobDetail_MigrationMode + { + + private bool? structureInitialization; + + private bool? dataInitialization; + + private bool? dataSynchronization; + + public bool? StructureInitialization + { + get + { + return structureInitialization; + } + set + { + structureInitialization = value; + } + } + + public bool? DataInitialization + { + get + { + return dataInitialization; + } + set + { + dataInitialization = value; + } + } + + public bool? DataSynchronization + { + get + { + return dataSynchronization; + } + set + { + dataSynchronization = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsRequest.cs new file mode 100644 index 0000000000..4a08cd8b07 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsRequest.cs @@ -0,0 +1,203 @@ +/* + * 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 DescribeDtsJobsRequest : RpcAcsRequest + { + public DescribeDtsJobsRequest() + : base("Dts", "2020-01-01", "DescribeDtsJobs", "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 orderDirection; + + private string type; + + private string _params; + + private string jobType; + + private int? pageNumber; + + private string tags; + + private string orderColumn; + + private int? pageSize; + + private string region; + + private string status; + + public string OrderDirection + { + get + { + return orderDirection; + } + set + { + orderDirection = value; + DictionaryUtil.Add(QueryParameters, "OrderDirection", value); + } + } + + public string Type + { + get + { + return type; + } + set + { + type = value; + DictionaryUtil.Add(QueryParameters, "Type", value); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + DictionaryUtil.Add(QueryParameters, "JobType", value); + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public string Tags + { + get + { + return tags; + } + set + { + tags = value; + DictionaryUtil.Add(QueryParameters, "Tags", value); + } + } + + public string OrderColumn + { + get + { + return orderColumn; + } + set + { + orderColumn = value; + DictionaryUtil.Add(QueryParameters, "OrderColumn", value); + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + DictionaryUtil.Add(QueryParameters, "Region", value); + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + DictionaryUtil.Add(QueryParameters, "Status", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeDtsJobsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeDtsJobsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsResponse.cs new file mode 100644 index 0000000000..c9794acdd1 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribeDtsJobsResponse.cs @@ -0,0 +1,2226 @@ +/* + * 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 DescribeDtsJobsResponse : AcsResponse + { + + private string requestId; + + private bool? success; + + private string errCode; + + private string errMessage; + + private string dynamicCode; + + private string dynamicMessage; + + private int? httpStatusCode; + + private int? pageNumber; + + private int? pageRecordCount; + + private int? totalRecordCount; + + private List dtsJobList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public string ErrCode + { + get + { + return errCode; + } + set + { + errCode = value; + } + } + + public string ErrMessage + { + get + { + return errMessage; + } + set + { + errMessage = value; + } + } + + public string DynamicCode + { + get + { + return dynamicCode; + } + set + { + dynamicCode = value; + } + } + + public string DynamicMessage + { + get + { + return dynamicMessage; + } + set + { + dynamicMessage = value; + } + } + + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public int? PageRecordCount + { + get + { + return pageRecordCount; + } + set + { + pageRecordCount = value; + } + } + + public int? TotalRecordCount + { + get + { + return totalRecordCount; + } + set + { + totalRecordCount = value; + } + } + + public List DtsJobList + { + get + { + return dtsJobList; + } + set + { + dtsJobList = value; + } + } + + public class DescribeDtsJobs_DtsJobStatus + { + + private string dtsInstanceID; + + private string dtsJobId; + + private string dtsJobName; + + private string dtsJobClass; + + private string dtsJobDirection; + + private string payType; + + private string expireTime; + + private string createTime; + + private string status; + + private string errorMessage; + + private int? delay; + + private string checkpoint; + + private string dbObject; + + private string reserved; + + private List tagList; + + private DescribeDtsJobs_SourceEndpoint sourceEndpoint; + + private DescribeDtsJobs_DestinationEndpoint destinationEndpoint; + + private DescribeDtsJobs_MigrationMode migrationMode; + + private DescribeDtsJobs_PrecheckStatus precheckStatus; + + private DescribeDtsJobs_StructureInitializationStatus structureInitializationStatus; + + private DescribeDtsJobs_DataInitializationStatus dataInitializationStatus; + + private DescribeDtsJobs_DataSynchronizationStatus dataSynchronizationStatus; + + private DescribeDtsJobs_Performance performance; + + private DescribeDtsJobs_ReverseJob reverseJob; + + public string DtsInstanceID + { + get + { + return dtsInstanceID; + } + set + { + dtsInstanceID = value; + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + } + } + + public string DtsJobName + { + get + { + return dtsJobName; + } + set + { + dtsJobName = value; + } + } + + public string DtsJobClass + { + get + { + return dtsJobClass; + } + set + { + dtsJobClass = value; + } + } + + public string DtsJobDirection + { + get + { + return dtsJobDirection; + } + set + { + dtsJobDirection = value; + } + } + + public string PayType + { + get + { + return payType; + } + set + { + payType = value; + } + } + + public string ExpireTime + { + get + { + return expireTime; + } + set + { + expireTime = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public int? Delay + { + get + { + return delay; + } + set + { + delay = value; + } + } + + public string Checkpoint + { + get + { + return checkpoint; + } + set + { + checkpoint = value; + } + } + + public string DbObject + { + get + { + return dbObject; + } + set + { + dbObject = value; + } + } + + public string Reserved + { + get + { + return reserved; + } + set + { + reserved = value; + } + } + + public List TagList + { + get + { + return tagList; + } + set + { + tagList = value; + } + } + + public DescribeDtsJobs_SourceEndpoint SourceEndpoint + { + get + { + return sourceEndpoint; + } + set + { + sourceEndpoint = value; + } + } + + public DescribeDtsJobs_DestinationEndpoint DestinationEndpoint + { + get + { + return destinationEndpoint; + } + set + { + destinationEndpoint = value; + } + } + + public DescribeDtsJobs_MigrationMode MigrationMode + { + get + { + return migrationMode; + } + set + { + migrationMode = value; + } + } + + public DescribeDtsJobs_PrecheckStatus PrecheckStatus + { + get + { + return precheckStatus; + } + set + { + precheckStatus = value; + } + } + + public DescribeDtsJobs_StructureInitializationStatus StructureInitializationStatus + { + get + { + return structureInitializationStatus; + } + set + { + structureInitializationStatus = value; + } + } + + public DescribeDtsJobs_DataInitializationStatus DataInitializationStatus + { + get + { + return dataInitializationStatus; + } + set + { + dataInitializationStatus = value; + } + } + + public DescribeDtsJobs_DataSynchronizationStatus DataSynchronizationStatus + { + get + { + return dataSynchronizationStatus; + } + set + { + dataSynchronizationStatus = value; + } + } + + public DescribeDtsJobs_Performance Performance + { + get + { + return performance; + } + set + { + performance = value; + } + } + + public DescribeDtsJobs_ReverseJob ReverseJob + { + get + { + return reverseJob; + } + set + { + reverseJob = value; + } + } + + public class DescribeDtsJobs_DtsTag + { + + private string tagKey; + + private string tagValue; + + public string TagKey + { + get + { + return tagKey; + } + set + { + tagKey = value; + } + } + + public string TagValue + { + get + { + return tagValue; + } + set + { + tagValue = value; + } + } + } + + public class DescribeDtsJobs_SourceEndpoint + { + + private string instanceID; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + private string region; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + } + + public class DescribeDtsJobs_DestinationEndpoint + { + + private string instanceID; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + private string region; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + } + + public class DescribeDtsJobs_MigrationMode + { + + private bool? structureInitialization; + + private bool? dataInitialization; + + private bool? dataSynchronization; + + public bool? StructureInitialization + { + get + { + return structureInitialization; + } + set + { + structureInitialization = value; + } + } + + public bool? DataInitialization + { + get + { + return dataInitialization; + } + set + { + dataInitialization = value; + } + } + + public bool? DataSynchronization + { + get + { + return dataSynchronization; + } + set + { + dataSynchronization = value; + } + } + } + + public class DescribeDtsJobs_PrecheckStatus + { + + private string status; + + private string percent; + + private string errorMessage; + + private List detail; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public List Detail + { + get + { + return detail; + } + set + { + detail = value; + } + } + + public class DescribeDtsJobs_PrecheckDetail + { + + private string checkItem; + + private string checkItemDescription; + + private string checkResult; + + private string failedReason; + + private string repairMethod; + + public string CheckItem + { + get + { + return checkItem; + } + set + { + checkItem = value; + } + } + + public string CheckItemDescription + { + get + { + return checkItemDescription; + } + set + { + checkItemDescription = value; + } + } + + public string CheckResult + { + get + { + return checkResult; + } + set + { + checkResult = value; + } + } + + public string FailedReason + { + get + { + return failedReason; + } + set + { + failedReason = value; + } + } + + public string RepairMethod + { + get + { + return repairMethod; + } + set + { + repairMethod = value; + } + } + } + } + + public class DescribeDtsJobs_StructureInitializationStatus + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_DataInitializationStatus + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_DataSynchronizationStatus + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_Performance + { + + private string rps; + + private string flow; + + public string Rps + { + get + { + return rps; + } + set + { + rps = value; + } + } + + public string Flow + { + get + { + return flow; + } + set + { + flow = value; + } + } + } + + public class DescribeDtsJobs_ReverseJob + { + + private string dtsInstanceID; + + private string dtsJobId; + + private string dtsJobName; + + private string dtsJobClass; + + private string dtsJobDirection; + + private string payType; + + private string expireTime; + + private string createTime; + + private string status; + + private string errorMessage; + + private int? delay; + + private string checkpoint; + + private string dbObject; + + private string reserved; + + private DescribeDtsJobs_SourceEndpoint1 sourceEndpoint1; + + private DescribeDtsJobs_DestinationEndpoint2 destinationEndpoint2; + + private DescribeDtsJobs_MigrationMode3 migrationMode3; + + private DescribeDtsJobs_PrecheckStatus4 precheckStatus4; + + private DescribeDtsJobs_StructureInitializationStatus5 structureInitializationStatus5; + + private DescribeDtsJobs_DataInitializationStatus6 dataInitializationStatus6; + + private DescribeDtsJobs_DataSynchronizationStatus7 dataSynchronizationStatus7; + + private DescribeDtsJobs_Performance8 performance8; + + public string DtsInstanceID + { + get + { + return dtsInstanceID; + } + set + { + dtsInstanceID = value; + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + } + } + + public string DtsJobName + { + get + { + return dtsJobName; + } + set + { + dtsJobName = value; + } + } + + public string DtsJobClass + { + get + { + return dtsJobClass; + } + set + { + dtsJobClass = value; + } + } + + public string DtsJobDirection + { + get + { + return dtsJobDirection; + } + set + { + dtsJobDirection = value; + } + } + + public string PayType + { + get + { + return payType; + } + set + { + payType = value; + } + } + + public string ExpireTime + { + get + { + return expireTime; + } + set + { + expireTime = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public int? Delay + { + get + { + return delay; + } + set + { + delay = value; + } + } + + public string Checkpoint + { + get + { + return checkpoint; + } + set + { + checkpoint = value; + } + } + + public string DbObject + { + get + { + return dbObject; + } + set + { + dbObject = value; + } + } + + public string Reserved + { + get + { + return reserved; + } + set + { + reserved = value; + } + } + + public DescribeDtsJobs_SourceEndpoint1 SourceEndpoint1 + { + get + { + return sourceEndpoint1; + } + set + { + sourceEndpoint1 = value; + } + } + + public DescribeDtsJobs_DestinationEndpoint2 DestinationEndpoint2 + { + get + { + return destinationEndpoint2; + } + set + { + destinationEndpoint2 = value; + } + } + + public DescribeDtsJobs_MigrationMode3 MigrationMode3 + { + get + { + return migrationMode3; + } + set + { + migrationMode3 = value; + } + } + + public DescribeDtsJobs_PrecheckStatus4 PrecheckStatus4 + { + get + { + return precheckStatus4; + } + set + { + precheckStatus4 = value; + } + } + + public DescribeDtsJobs_StructureInitializationStatus5 StructureInitializationStatus5 + { + get + { + return structureInitializationStatus5; + } + set + { + structureInitializationStatus5 = value; + } + } + + public DescribeDtsJobs_DataInitializationStatus6 DataInitializationStatus6 + { + get + { + return dataInitializationStatus6; + } + set + { + dataInitializationStatus6 = value; + } + } + + public DescribeDtsJobs_DataSynchronizationStatus7 DataSynchronizationStatus7 + { + get + { + return dataSynchronizationStatus7; + } + set + { + dataSynchronizationStatus7 = value; + } + } + + public DescribeDtsJobs_Performance8 Performance8 + { + get + { + return performance8; + } + set + { + performance8 = value; + } + } + + public class DescribeDtsJobs_SourceEndpoint1 + { + + private string instanceID; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + private string region; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + } + + public class DescribeDtsJobs_DestinationEndpoint2 + { + + private string instanceID; + + private string instanceType; + + private string engineName; + + private string ip; + + private string port; + + private string databaseName; + + private string oracleSID; + + private string userName; + + private string sslSolutionEnum; + + private string region; + + public string InstanceID + { + get + { + return instanceID; + } + set + { + instanceID = value; + } + } + + public string InstanceType + { + get + { + return instanceType; + } + set + { + instanceType = value; + } + } + + public string EngineName + { + get + { + return engineName; + } + set + { + engineName = value; + } + } + + public string Ip + { + get + { + return ip; + } + set + { + ip = value; + } + } + + public string Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string DatabaseName + { + get + { + return databaseName; + } + set + { + databaseName = value; + } + } + + public string OracleSID + { + get + { + return oracleSID; + } + set + { + oracleSID = value; + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + } + } + + public string SslSolutionEnum + { + get + { + return sslSolutionEnum; + } + set + { + sslSolutionEnum = value; + } + } + + public string Region + { + get + { + return region; + } + set + { + region = value; + } + } + } + + public class DescribeDtsJobs_MigrationMode3 + { + + private bool? structureInitialization; + + private bool? dataInitialization; + + private bool? dataSynchronization; + + public bool? StructureInitialization + { + get + { + return structureInitialization; + } + set + { + structureInitialization = value; + } + } + + public bool? DataInitialization + { + get + { + return dataInitialization; + } + set + { + dataInitialization = value; + } + } + + public bool? DataSynchronization + { + get + { + return dataSynchronization; + } + set + { + dataSynchronization = value; + } + } + } + + public class DescribeDtsJobs_PrecheckStatus4 + { + + private string status; + + private string percent; + + private string errorMessage; + + private List detail9; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public List Detail9 + { + get + { + return detail9; + } + set + { + detail9 = value; + } + } + + public class DescribeDtsJobs_PrecheckDetail10 + { + + private string checkItem; + + private string checkItemDescription; + + private string checkResult; + + private string failedReason; + + private string repairMethod; + + public string CheckItem + { + get + { + return checkItem; + } + set + { + checkItem = value; + } + } + + public string CheckItemDescription + { + get + { + return checkItemDescription; + } + set + { + checkItemDescription = value; + } + } + + public string CheckResult + { + get + { + return checkResult; + } + set + { + checkResult = value; + } + } + + public string FailedReason + { + get + { + return failedReason; + } + set + { + failedReason = value; + } + } + + public string RepairMethod + { + get + { + return repairMethod; + } + set + { + repairMethod = value; + } + } + } + } + + public class DescribeDtsJobs_StructureInitializationStatus5 + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_DataInitializationStatus6 + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_DataSynchronizationStatus7 + { + + private string status; + + private string errorMessage; + + private string percent; + + private string progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + + public class DescribeDtsJobs_Performance8 + { + + private string rps; + + private string flow; + + public string Rps + { + get + { + return rps; + } + set + { + rps = value; + } + } + + public string Flow + { + get + { + return flow; + } + set + { + flow = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusRequest.cs new file mode 100644 index 0000000000..319cb66f63 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusRequest.cs @@ -0,0 +1,128 @@ +/* + * 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 DescribePreCheckStatusRequest : RpcAcsRequest + { + public DescribePreCheckStatusRequest() + : base("Dts", "2020-01-01", "DescribePreCheckStatus", "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 structType; + + private string pageNo; + + private string pageSize; + + private string jobCode; + + private string dtsJobId; + + public string StructType + { + get + { + return structType; + } + set + { + structType = value; + DictionaryUtil.Add(QueryParameters, "StructType", value); + } + } + + public string PageNo + { + get + { + return pageNo; + } + set + { + pageNo = value; + DictionaryUtil.Add(QueryParameters, "PageNo", value); + } + } + + public string PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value); + } + } + + public string JobCode + { + get + { + return jobCode; + } + set + { + jobCode = value; + DictionaryUtil.Add(QueryParameters, "JobCode", value); + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + DictionaryUtil.Add(QueryParameters, "DtsJobId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribePreCheckStatusResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribePreCheckStatusResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusResponse.cs new file mode 100644 index 0000000000..6e2c0eb187 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/DescribePreCheckStatusResponse.cs @@ -0,0 +1,540 @@ +/* + * 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 DescribePreCheckStatusResponse : AcsResponse + { + + private string code; + + private int? errorItem; + + private int? httpStatusCode; + + private string jobName; + + private string state; + + private bool? success; + + private int? total; + + private string requestId; + + private List jobProgress; + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public int? ErrorItem + { + get + { + return errorItem; + } + set + { + errorItem = value; + } + } + + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + + public string JobName + { + get + { + return jobName; + } + set + { + jobName = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public int? Total + { + get + { + return total; + } + set + { + total = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List JobProgress + { + get + { + return jobProgress; + } + set + { + jobProgress = value; + } + } + + public class DescribePreCheckStatus_ProgressInfo + { + + private long? bootTime; + + private bool? canSkip; + + private int? delaySeconds; + + private long? finishTime; + + private string ignoreFlag; + + private string item; + + private string jobId; + + private string names; + + private int? orderNum; + + private bool? skip; + + private string state; + + private string sub; + + private string repairMethod; + + private string targetNames; + + private int? total; + + private string sourceSchema; + + private string parentObj; + + private long? diffRow; + + private string destSchema; + + private string errDetail; + + private string errMsg; + + private string ddlSql; + + private List logs; + + public long? BootTime + { + get + { + return bootTime; + } + set + { + bootTime = value; + } + } + + public bool? CanSkip + { + get + { + return canSkip; + } + set + { + canSkip = value; + } + } + + public int? DelaySeconds + { + get + { + return delaySeconds; + } + set + { + delaySeconds = value; + } + } + + public long? FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string IgnoreFlag + { + get + { + return ignoreFlag; + } + set + { + ignoreFlag = value; + } + } + + public string Item + { + get + { + return item; + } + set + { + item = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Names + { + get + { + return names; + } + set + { + names = value; + } + } + + public int? OrderNum + { + get + { + return orderNum; + } + set + { + orderNum = value; + } + } + + public bool? Skip + { + get + { + return skip; + } + set + { + skip = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Sub + { + get + { + return sub; + } + set + { + sub = value; + } + } + + public string RepairMethod + { + get + { + return repairMethod; + } + set + { + repairMethod = value; + } + } + + public string TargetNames + { + get + { + return targetNames; + } + set + { + targetNames = value; + } + } + + public int? Total + { + get + { + return total; + } + set + { + total = value; + } + } + + public string SourceSchema + { + get + { + return sourceSchema; + } + set + { + sourceSchema = value; + } + } + + public string ParentObj + { + get + { + return parentObj; + } + set + { + parentObj = value; + } + } + + public long? DiffRow + { + get + { + return diffRow; + } + set + { + diffRow = value; + } + } + + public string DestSchema + { + get + { + return destSchema; + } + set + { + destSchema = value; + } + } + + public string ErrDetail + { + get + { + return errDetail; + } + set + { + errDetail = value; + } + } + + public string ErrMsg + { + get + { + return errMsg; + } + set + { + errMsg = value; + } + } + + public string DdlSql + { + get + { + return ddlSql; + } + set + { + ddlSql = value; + } + } + + public List Logs + { + get + { + return logs; + } + set + { + logs = value; + } + } + + public class DescribePreCheckStatus_JobLog + { + + private string errData; + + private string errMsg; + + private string errType; + + private string logLevel; + + public string ErrData + { + get + { + return errData; + } + set + { + errData = value; + } + } + + public string ErrMsg + { + get + { + return errMsg; + } + set + { + errMsg = value; + } + } + + public string ErrType + { + get + { + return errType; + } + set + { + errType = value; + } + } + + public string LogLevel + { + get + { + return logLevel; + } + set + { + logLevel = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameRequest.cs new file mode 100644 index 0000000000..c9009f3a75 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameRequest.cs @@ -0,0 +1,83 @@ +/* + * 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 ModifyDtsJobNameRequest : RpcAcsRequest + { + public ModifyDtsJobNameRequest() + : base("Dts", "2020-01-01", "ModifyDtsJobName", "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 dtsJobName; + + private string dtsJobId; + + public string DtsJobName + { + get + { + return dtsJobName; + } + set + { + dtsJobName = value; + DictionaryUtil.Add(QueryParameters, "DtsJobName", value); + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + DictionaryUtil.Add(QueryParameters, "DtsJobId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ModifyDtsJobNameResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ModifyDtsJobNameResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameResponse.cs new file mode 100644 index 0000000000..ad3f0f74f3 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobNameResponse.cs @@ -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 ModifyDtsJobNameResponse : AcsResponse + { + + private string code; + + private string dynamicMessage; + + private string errCode; + + private string errMessage; + + private int? httpStatusCode; + + private string requestId; + + private bool? success; + + public string Code + { + get + { + return code; + } + set + { + code = 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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordRequest.cs new file mode 100644 index 0000000000..aca3743078 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordRequest.cs @@ -0,0 +1,113 @@ +/* + * 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 ModifyDtsJobPasswordRequest : RpcAcsRequest + { + public ModifyDtsJobPasswordRequest() + : base("Dts", "2020-01-01", "ModifyDtsJobPassword", "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 password; + + private string endpoint; + + private string dtsJobId; + + private string userName; + + public string Password + { + get + { + return password; + } + set + { + password = value; + DictionaryUtil.Add(QueryParameters, "Password", value); + } + } + + public string Endpoint + { + get + { + return endpoint; + } + set + { + endpoint = value; + DictionaryUtil.Add(QueryParameters, "Endpoint", value); + } + } + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + DictionaryUtil.Add(QueryParameters, "DtsJobId", value); + } + } + + public string UserName + { + get + { + return userName; + } + set + { + userName = value; + DictionaryUtil.Add(QueryParameters, "UserName", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ModifyDtsJobPasswordResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ModifyDtsJobPasswordResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordResponse.cs new file mode 100644 index 0000000000..26963389b8 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobPasswordResponse.cs @@ -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 ModifyDtsJobPasswordResponse : AcsResponse + { + + private string code; + + private string dynamicMessage; + + private string errCode; + + private string errMessage; + + private int? httpStatusCode; + + private string requestId; + + private bool? success; + + public string Code + { + get + { + return code; + } + set + { + code = 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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobRequest.cs new file mode 100644 index 0000000000..a9d077ff1f --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobRequest.cs @@ -0,0 +1,113 @@ +/* + * 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 ModifyDtsJobRequest : RpcAcsRequest + { + public ModifyDtsJobRequest() + : base("Dts", "2020-01-01", "ModifyDtsJob", "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 dbList; + + private string clientToken; + + private string dtsInstanceId; + + private string synchronizationDirection; + + public string DbList + { + get + { + return dbList; + } + set + { + dbList = value; + DictionaryUtil.Add(BodyParameters, "DbList", value); + } + } + + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", 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 ModifyDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ModifyDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobResponse.cs new file mode 100644 index 0000000000..9bb4a34fc9 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ModifyDtsJobResponse.cs @@ -0,0 +1,112 @@ +/* + * 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 ModifyDtsJobResponse : AcsResponse + { + + private string dtsJobId; + + private string errCode; + + private bool? errMessage; + + private string requestId; + + private string status; + + private bool? success; + + public string DtsJobId + { + get + { + return dtsJobId; + } + set + { + dtsJobId = value; + } + } + + public string ErrCode + { + get + { + return errCode; + } + set + { + errCode = value; + } + } + + public bool? ErrMessage + { + get + { + return errMessage; + } + set + { + errMessage = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobRequest.cs new file mode 100644 index 0000000000..6c2b517abe --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobRequest.cs @@ -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 ResetDtsJobRequest : RpcAcsRequest + { + public ResetDtsJobRequest() + : base("Dts", "2020-01-01", "ResetDtsJob", "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 ResetDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ResetDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobResponse.cs new file mode 100644 index 0000000000..2861e3d4e8 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/ResetDtsJobResponse.cs @@ -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 ResetDtsJobResponse : 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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckRequest.cs new file mode 100644 index 0000000000..f5dd69df5c --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckRequest.cs @@ -0,0 +1,113 @@ +/* + * 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 SkipPreCheckRequest : RpcAcsRequest + { + public SkipPreCheckRequest() + : base("Dts", "2020-01-01", "SkipPreCheck", "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 skipPreCheckItems; + + private bool? skip; + + private string jobId; + + private string skipPreCheckNames; + + public string SkipPreCheckItems + { + get + { + return skipPreCheckItems; + } + set + { + skipPreCheckItems = value; + DictionaryUtil.Add(QueryParameters, "SkipPreCheckItems", value); + } + } + + public bool? Skip + { + get + { + return skip; + } + set + { + skip = value; + DictionaryUtil.Add(QueryParameters, "Skip", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string SkipPreCheckNames + { + get + { + return skipPreCheckNames; + } + set + { + skipPreCheckNames = value; + DictionaryUtil.Add(QueryParameters, "SkipPreCheckNames", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SkipPreCheckResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SkipPreCheckResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckResponse.cs new file mode 100644 index 0000000000..8882f7c6bb --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/SkipPreCheckResponse.cs @@ -0,0 +1,182 @@ +/* + * 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 SkipPreCheckResponse : AcsResponse + { + + private string code; + + private string dynamicMessage; + + private string errCode; + + private string errMessage; + + private int? httpStatusCode; + + private string requestId; + + private bool? success; + + private string migrationJobId; + + private string scheduleJobId; + + private string skipItems; + + private string skipNames; + + public string Code + { + get + { + return code; + } + set + { + code = 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; + } + } + + public string MigrationJobId + { + get + { + return migrationJobId; + } + set + { + migrationJobId = value; + } + } + + public string ScheduleJobId + { + get + { + return scheduleJobId; + } + set + { + scheduleJobId = value; + } + } + + public string SkipItems + { + get + { + return skipItems; + } + set + { + skipItems = value; + } + } + + public string SkipNames + { + get + { + return skipNames; + } + set + { + skipNames = value; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobRequest.cs new file mode 100644 index 0000000000..0f1980098d --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobRequest.cs @@ -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 StopDtsJobRequest : RpcAcsRequest + { + public StopDtsJobRequest() + : base("Dts", "2020-01-01", "StopDtsJob", "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 StopDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return StopDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobResponse.cs new file mode 100644 index 0000000000..50aad8f45b --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/StopDtsJobResponse.cs @@ -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 StopDtsJobResponse : 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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobRequest.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobRequest.cs new file mode 100644 index 0000000000..ad137c5e38 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobRequest.cs @@ -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 SuspendDtsJobRequest : RpcAcsRequest + { + public SuspendDtsJobRequest() + : base("Dts", "2020-01-01", "SuspendDtsJob", "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 SuspendDtsJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SuspendDtsJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobResponse.cs b/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobResponse.cs new file mode 100644 index 0000000000..25b7ce59cf --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Model/V20200101/SuspendDtsJobResponse.cs @@ -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 SuspendDtsJobResponse : 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; + } + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/DeleteDtsJobResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DeleteDtsJobResponseUnmarshaller.cs new file mode 100644 index 0000000000..ef85c9b414 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DeleteDtsJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class DeleteDtsJobResponseUnmarshaller + { + public static DeleteDtsJobResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteDtsJobResponse deleteDtsJobResponse = new DeleteDtsJobResponse(); + + deleteDtsJobResponse.HttpResponse = _ctx.HttpResponse; + deleteDtsJobResponse.DynamicCode = _ctx.StringValue("DeleteDtsJob.DynamicCode"); + deleteDtsJobResponse.DynamicMessage = _ctx.StringValue("DeleteDtsJob.DynamicMessage"); + deleteDtsJobResponse.ErrCode = _ctx.StringValue("DeleteDtsJob.ErrCode"); + deleteDtsJobResponse.ErrMessage = _ctx.StringValue("DeleteDtsJob.ErrMessage"); + deleteDtsJobResponse.HttpStatusCode = _ctx.IntegerValue("DeleteDtsJob.HttpStatusCode"); + deleteDtsJobResponse.RequestId = _ctx.StringValue("DeleteDtsJob.RequestId"); + deleteDtsJobResponse.Success = _ctx.BooleanValue("DeleteDtsJob.Success"); + + return deleteDtsJobResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobDetailResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobDetailResponseUnmarshaller.cs new file mode 100644 index 0000000000..ce624850f9 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobDetailResponseUnmarshaller.cs @@ -0,0 +1,94 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class DescribeDtsJobDetailResponseUnmarshaller + { + public static DescribeDtsJobDetailResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeDtsJobDetailResponse describeDtsJobDetailResponse = new DescribeDtsJobDetailResponse(); + + describeDtsJobDetailResponse.HttpResponse = _ctx.HttpResponse; + describeDtsJobDetailResponse.RequestId = _ctx.StringValue("DescribeDtsJobDetail.RequestId"); + describeDtsJobDetailResponse.Success = _ctx.BooleanValue("DescribeDtsJobDetail.Success"); + describeDtsJobDetailResponse.Code = _ctx.IntegerValue("DescribeDtsJobDetail.Code"); + describeDtsJobDetailResponse.ErrCode = _ctx.StringValue("DescribeDtsJobDetail.ErrCode"); + describeDtsJobDetailResponse.ErrMessage = _ctx.StringValue("DescribeDtsJobDetail.ErrMessage"); + describeDtsJobDetailResponse.DynamicMessage = _ctx.StringValue("DescribeDtsJobDetail.DynamicMessage"); + describeDtsJobDetailResponse.HttpStatusCode = _ctx.IntegerValue("DescribeDtsJobDetail.HttpStatusCode"); + describeDtsJobDetailResponse.DtsInstanceID = _ctx.StringValue("DescribeDtsJobDetail.DtsInstanceID"); + describeDtsJobDetailResponse.DtsJobId = _ctx.StringValue("DescribeDtsJobDetail.DtsJobId"); + describeDtsJobDetailResponse.DtsJobName = _ctx.StringValue("DescribeDtsJobDetail.DtsJobName"); + describeDtsJobDetailResponse.DtsJobClass = _ctx.StringValue("DescribeDtsJobDetail.DtsJobClass"); + describeDtsJobDetailResponse.DtsJobDirection = _ctx.StringValue("DescribeDtsJobDetail.DtsJobDirection"); + describeDtsJobDetailResponse.PayType = _ctx.StringValue("DescribeDtsJobDetail.PayType"); + describeDtsJobDetailResponse.ExpireTime = _ctx.StringValue("DescribeDtsJobDetail.ExpireTime"); + describeDtsJobDetailResponse.CreateTime = _ctx.StringValue("DescribeDtsJobDetail.CreateTime"); + describeDtsJobDetailResponse.FinishTime = _ctx.StringValue("DescribeDtsJobDetail.FinishTime"); + describeDtsJobDetailResponse.Status = _ctx.StringValue("DescribeDtsJobDetail.Status"); + describeDtsJobDetailResponse.Checkpoint = _ctx.IntegerValue("DescribeDtsJobDetail.Checkpoint"); + describeDtsJobDetailResponse.Delay = _ctx.IntegerValue("DescribeDtsJobDetail.Delay"); + describeDtsJobDetailResponse.Reserved = _ctx.StringValue("DescribeDtsJobDetail.Reserved"); + describeDtsJobDetailResponse.ErrorMessage = _ctx.StringValue("DescribeDtsJobDetail.ErrorMessage"); + describeDtsJobDetailResponse.DbObject = _ctx.StringValue("DescribeDtsJobDetail.DbObject"); + + DescribeDtsJobDetailResponse.DescribeDtsJobDetail_SourceEndpoint sourceEndpoint = new DescribeDtsJobDetailResponse.DescribeDtsJobDetail_SourceEndpoint(); + sourceEndpoint.InstanceID = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.InstanceID"); + sourceEndpoint.Region = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.Region"); + sourceEndpoint.InstanceType = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.InstanceType"); + sourceEndpoint.EngineName = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.EngineName"); + sourceEndpoint.Ip = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.Ip"); + sourceEndpoint.Port = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.Port"); + sourceEndpoint.DatabaseName = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.DatabaseName"); + sourceEndpoint.OracleSID = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.OracleSID"); + sourceEndpoint.UserName = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.UserName"); + sourceEndpoint.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.SslSolutionEnum"); + sourceEndpoint.RoleName = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.RoleName"); + sourceEndpoint.AliyunUid = _ctx.StringValue("DescribeDtsJobDetail.SourceEndpoint.AliyunUid"); + describeDtsJobDetailResponse.SourceEndpoint = sourceEndpoint; + + DescribeDtsJobDetailResponse.DescribeDtsJobDetail_DestinationEndpoint destinationEndpoint = new DescribeDtsJobDetailResponse.DescribeDtsJobDetail_DestinationEndpoint(); + destinationEndpoint.InstanceID = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.InstanceID"); + destinationEndpoint.Region = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.Region"); + destinationEndpoint.InstanceType = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.InstanceType"); + destinationEndpoint.EngineName = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.EngineName"); + destinationEndpoint.Ip = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.Ip"); + destinationEndpoint.Port = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.Port"); + destinationEndpoint.DatabaseName = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.DatabaseName"); + destinationEndpoint.OracleSID = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.OracleSID"); + destinationEndpoint.UserName = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.UserName"); + destinationEndpoint.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobDetail.DestinationEndpoint.SslSolutionEnum"); + describeDtsJobDetailResponse.DestinationEndpoint = destinationEndpoint; + + DescribeDtsJobDetailResponse.DescribeDtsJobDetail_MigrationMode migrationMode = new DescribeDtsJobDetailResponse.DescribeDtsJobDetail_MigrationMode(); + migrationMode.StructureInitialization = _ctx.BooleanValue("DescribeDtsJobDetail.MigrationMode.StructureInitialization"); + migrationMode.DataInitialization = _ctx.BooleanValue("DescribeDtsJobDetail.MigrationMode.DataInitialization"); + migrationMode.DataSynchronization = _ctx.BooleanValue("DescribeDtsJobDetail.MigrationMode.DataSynchronization"); + describeDtsJobDetailResponse.MigrationMode = migrationMode; + + return describeDtsJobDetailResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobsResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobsResponseUnmarshaller.cs new file mode 100644 index 0000000000..77a93e19f9 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribeDtsJobsResponseUnmarshaller.cs @@ -0,0 +1,251 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class DescribeDtsJobsResponseUnmarshaller + { + public static DescribeDtsJobsResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeDtsJobsResponse describeDtsJobsResponse = new DescribeDtsJobsResponse(); + + describeDtsJobsResponse.HttpResponse = _ctx.HttpResponse; + describeDtsJobsResponse.RequestId = _ctx.StringValue("DescribeDtsJobs.RequestId"); + describeDtsJobsResponse.Success = _ctx.BooleanValue("DescribeDtsJobs.Success"); + describeDtsJobsResponse.ErrCode = _ctx.StringValue("DescribeDtsJobs.ErrCode"); + describeDtsJobsResponse.ErrMessage = _ctx.StringValue("DescribeDtsJobs.ErrMessage"); + describeDtsJobsResponse.DynamicCode = _ctx.StringValue("DescribeDtsJobs.DynamicCode"); + describeDtsJobsResponse.DynamicMessage = _ctx.StringValue("DescribeDtsJobs.DynamicMessage"); + describeDtsJobsResponse.HttpStatusCode = _ctx.IntegerValue("DescribeDtsJobs.HttpStatusCode"); + describeDtsJobsResponse.PageNumber = _ctx.IntegerValue("DescribeDtsJobs.PageNumber"); + describeDtsJobsResponse.PageRecordCount = _ctx.IntegerValue("DescribeDtsJobs.PageRecordCount"); + describeDtsJobsResponse.TotalRecordCount = _ctx.IntegerValue("DescribeDtsJobs.TotalRecordCount"); + + List describeDtsJobsResponse_dtsJobList = new List(); + for (int i = 0; i < _ctx.Length("DescribeDtsJobs.DtsJobList.Length"); i++) { + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus dtsJobStatus = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus(); + dtsJobStatus.DtsInstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DtsInstanceID"); + dtsJobStatus.DtsJobId = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DtsJobId"); + dtsJobStatus.DtsJobName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DtsJobName"); + dtsJobStatus.DtsJobClass = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DtsJobClass"); + dtsJobStatus.DtsJobDirection = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DtsJobDirection"); + dtsJobStatus.PayType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PayType"); + dtsJobStatus.ExpireTime = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ExpireTime"); + dtsJobStatus.CreateTime = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].CreateTime"); + dtsJobStatus.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].Status"); + dtsJobStatus.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ErrorMessage"); + dtsJobStatus.Delay = _ctx.IntegerValue("DescribeDtsJobs.DtsJobList["+ i +"].Delay"); + dtsJobStatus.Checkpoint = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].Checkpoint"); + dtsJobStatus.DbObject = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DbObject"); + dtsJobStatus.Reserved = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].Reserved"); + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_SourceEndpoint sourceEndpoint = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_SourceEndpoint(); + sourceEndpoint.InstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.InstanceID"); + sourceEndpoint.InstanceType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.InstanceType"); + sourceEndpoint.EngineName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.EngineName"); + sourceEndpoint.Ip = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.Ip"); + sourceEndpoint.Port = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.Port"); + sourceEndpoint.DatabaseName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.DatabaseName"); + sourceEndpoint.OracleSID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.OracleSID"); + sourceEndpoint.UserName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.UserName"); + sourceEndpoint.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.SslSolutionEnum"); + sourceEndpoint.Region = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].SourceEndpoint.Region"); + dtsJobStatus.SourceEndpoint = sourceEndpoint; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DestinationEndpoint destinationEndpoint = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DestinationEndpoint(); + destinationEndpoint.InstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.InstanceID"); + destinationEndpoint.InstanceType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.InstanceType"); + destinationEndpoint.EngineName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.EngineName"); + destinationEndpoint.Ip = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.Ip"); + destinationEndpoint.Port = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.Port"); + destinationEndpoint.DatabaseName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.DatabaseName"); + destinationEndpoint.OracleSID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.OracleSID"); + destinationEndpoint.UserName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.UserName"); + destinationEndpoint.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.SslSolutionEnum"); + destinationEndpoint.Region = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DestinationEndpoint.Region"); + dtsJobStatus.DestinationEndpoint = destinationEndpoint; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_MigrationMode migrationMode = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_MigrationMode(); + migrationMode.StructureInitialization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].MigrationMode.StructureInitialization"); + migrationMode.DataInitialization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].MigrationMode.DataInitialization"); + migrationMode.DataSynchronization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].MigrationMode.DataSynchronization"); + dtsJobStatus.MigrationMode = migrationMode; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_PrecheckStatus precheckStatus = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_PrecheckStatus(); + precheckStatus.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Status"); + precheckStatus.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Percent"); + precheckStatus.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.ErrorMessage"); + + List precheckStatus_detail = new List(); + for (int j = 0; j < _ctx.Length("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail.Length"); j++) { + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_PrecheckStatus.DescribeDtsJobs_PrecheckDetail precheckDetail = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_PrecheckStatus.DescribeDtsJobs_PrecheckDetail(); + precheckDetail.CheckItem = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail["+ j +"].CheckItem"); + precheckDetail.CheckItemDescription = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail["+ j +"].CheckItemDescription"); + precheckDetail.CheckResult = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail["+ j +"].CheckResult"); + precheckDetail.FailedReason = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail["+ j +"].FailedReason"); + precheckDetail.RepairMethod = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].PrecheckStatus.Detail["+ j +"].RepairMethod"); + + precheckStatus_detail.Add(precheckDetail); + } + precheckStatus.Detail = precheckStatus_detail; + dtsJobStatus.PrecheckStatus = precheckStatus; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_StructureInitializationStatus structureInitializationStatus = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_StructureInitializationStatus(); + structureInitializationStatus.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].StructureInitializationStatus.Status"); + structureInitializationStatus.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].StructureInitializationStatus.ErrorMessage"); + structureInitializationStatus.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].StructureInitializationStatus.Percent"); + structureInitializationStatus.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].StructureInitializationStatus.Progress"); + dtsJobStatus.StructureInitializationStatus = structureInitializationStatus; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DataInitializationStatus dataInitializationStatus = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DataInitializationStatus(); + dataInitializationStatus.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataInitializationStatus.Status"); + dataInitializationStatus.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataInitializationStatus.ErrorMessage"); + dataInitializationStatus.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataInitializationStatus.Percent"); + dataInitializationStatus.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataInitializationStatus.Progress"); + dtsJobStatus.DataInitializationStatus = dataInitializationStatus; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DataSynchronizationStatus dataSynchronizationStatus = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DataSynchronizationStatus(); + dataSynchronizationStatus.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataSynchronizationStatus.Status"); + dataSynchronizationStatus.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataSynchronizationStatus.ErrorMessage"); + dataSynchronizationStatus.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataSynchronizationStatus.Percent"); + dataSynchronizationStatus.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].DataSynchronizationStatus.Progress"); + dtsJobStatus.DataSynchronizationStatus = dataSynchronizationStatus; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_Performance performance = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_Performance(); + performance.Rps = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].Performance.Rps"); + performance.Flow = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].Performance.Flow"); + dtsJobStatus.Performance = performance; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob reverseJob = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob(); + reverseJob.DtsInstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DtsInstanceID"); + reverseJob.DtsJobId = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DtsJobId"); + reverseJob.DtsJobName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DtsJobName"); + reverseJob.DtsJobClass = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DtsJobClass"); + reverseJob.DtsJobDirection = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DtsJobDirection"); + reverseJob.PayType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PayType"); + reverseJob.ExpireTime = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.ExpireTime"); + reverseJob.CreateTime = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.CreateTime"); + reverseJob.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Status"); + reverseJob.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.ErrorMessage"); + reverseJob.Delay = _ctx.IntegerValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Delay"); + reverseJob.Checkpoint = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Checkpoint"); + reverseJob.DbObject = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DbObject"); + reverseJob.Reserved = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Reserved"); + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_SourceEndpoint1 sourceEndpoint1 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_SourceEndpoint1(); + sourceEndpoint1.InstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.InstanceID"); + sourceEndpoint1.InstanceType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.InstanceType"); + sourceEndpoint1.EngineName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.EngineName"); + sourceEndpoint1.Ip = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.Ip"); + sourceEndpoint1.Port = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.Port"); + sourceEndpoint1.DatabaseName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.DatabaseName"); + sourceEndpoint1.OracleSID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.OracleSID"); + sourceEndpoint1.UserName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.UserName"); + sourceEndpoint1.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.SslSolutionEnum"); + sourceEndpoint1.Region = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.SourceEndpoint.Region"); + reverseJob.SourceEndpoint1 = sourceEndpoint1; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DestinationEndpoint2 destinationEndpoint2 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DestinationEndpoint2(); + destinationEndpoint2.InstanceID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.InstanceID"); + destinationEndpoint2.InstanceType = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.InstanceType"); + destinationEndpoint2.EngineName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.EngineName"); + destinationEndpoint2.Ip = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.Ip"); + destinationEndpoint2.Port = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.Port"); + destinationEndpoint2.DatabaseName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.DatabaseName"); + destinationEndpoint2.OracleSID = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.OracleSID"); + destinationEndpoint2.UserName = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.UserName"); + destinationEndpoint2.SslSolutionEnum = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.SslSolutionEnum"); + destinationEndpoint2.Region = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DestinationEndpoint.Region"); + reverseJob.DestinationEndpoint2 = destinationEndpoint2; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_MigrationMode3 migrationMode3 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_MigrationMode3(); + migrationMode3.StructureInitialization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.MigrationMode.StructureInitialization"); + migrationMode3.DataInitialization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.MigrationMode.DataInitialization"); + migrationMode3.DataSynchronization = _ctx.BooleanValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.MigrationMode.DataSynchronization"); + reverseJob.MigrationMode3 = migrationMode3; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_PrecheckStatus4 precheckStatus4 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_PrecheckStatus4(); + precheckStatus4.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Status"); + precheckStatus4.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Percent"); + precheckStatus4.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.ErrorMessage"); + + List precheckStatus4_detail9 = new List(); + for (int j = 0; j < _ctx.Length("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail.Length"); j++) { + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_PrecheckStatus4.DescribeDtsJobs_PrecheckDetail10 precheckDetail10 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_PrecheckStatus4.DescribeDtsJobs_PrecheckDetail10(); + precheckDetail10.CheckItem = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail["+ j +"].CheckItem"); + precheckDetail10.CheckItemDescription = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail["+ j +"].CheckItemDescription"); + precheckDetail10.CheckResult = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail["+ j +"].CheckResult"); + precheckDetail10.FailedReason = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail["+ j +"].FailedReason"); + precheckDetail10.RepairMethod = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.PrecheckStatus.Detail["+ j +"].RepairMethod"); + + precheckStatus4_detail9.Add(precheckDetail10); + } + precheckStatus4.Detail9 = precheckStatus4_detail9; + reverseJob.PrecheckStatus4 = precheckStatus4; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_StructureInitializationStatus5 structureInitializationStatus5 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_StructureInitializationStatus5(); + structureInitializationStatus5.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.StructureInitializationStatus.Status"); + structureInitializationStatus5.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.StructureInitializationStatus.ErrorMessage"); + structureInitializationStatus5.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.StructureInitializationStatus.Percent"); + structureInitializationStatus5.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.StructureInitializationStatus.Progress"); + reverseJob.StructureInitializationStatus5 = structureInitializationStatus5; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DataInitializationStatus6 dataInitializationStatus6 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DataInitializationStatus6(); + dataInitializationStatus6.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataInitializationStatus.Status"); + dataInitializationStatus6.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataInitializationStatus.ErrorMessage"); + dataInitializationStatus6.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataInitializationStatus.Percent"); + dataInitializationStatus6.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataInitializationStatus.Progress"); + reverseJob.DataInitializationStatus6 = dataInitializationStatus6; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DataSynchronizationStatus7 dataSynchronizationStatus7 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_DataSynchronizationStatus7(); + dataSynchronizationStatus7.Status = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataSynchronizationStatus.Status"); + dataSynchronizationStatus7.ErrorMessage = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataSynchronizationStatus.ErrorMessage"); + dataSynchronizationStatus7.Percent = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataSynchronizationStatus.Percent"); + dataSynchronizationStatus7.Progress = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.DataSynchronizationStatus.Progress"); + reverseJob.DataSynchronizationStatus7 = dataSynchronizationStatus7; + + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_Performance8 performance8 = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_ReverseJob.DescribeDtsJobs_Performance8(); + performance8.Rps = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Performance.Rps"); + performance8.Flow = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].ReverseJob.Performance.Flow"); + reverseJob.Performance8 = performance8; + dtsJobStatus.ReverseJob = reverseJob; + + List dtsJobStatus_tagList = new List(); + for (int j = 0; j < _ctx.Length("DescribeDtsJobs.DtsJobList["+ i +"].TagList.Length"); j++) { + DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DtsTag dtsTag = new DescribeDtsJobsResponse.DescribeDtsJobs_DtsJobStatus.DescribeDtsJobs_DtsTag(); + dtsTag.TagKey = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].TagList["+ j +"].TagKey"); + dtsTag.TagValue = _ctx.StringValue("DescribeDtsJobs.DtsJobList["+ i +"].TagList["+ j +"].TagValue"); + + dtsJobStatus_tagList.Add(dtsTag); + } + dtsJobStatus.TagList = dtsJobStatus_tagList; + + describeDtsJobsResponse_dtsJobList.Add(dtsJobStatus); + } + describeDtsJobsResponse.DtsJobList = describeDtsJobsResponse_dtsJobList; + + return describeDtsJobsResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribePreCheckStatusResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribePreCheckStatusResponseUnmarshaller.cs new file mode 100644 index 0000000000..f9a4b84471 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/DescribePreCheckStatusResponseUnmarshaller.cs @@ -0,0 +1,88 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class DescribePreCheckStatusResponseUnmarshaller + { + public static DescribePreCheckStatusResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribePreCheckStatusResponse describePreCheckStatusResponse = new DescribePreCheckStatusResponse(); + + describePreCheckStatusResponse.HttpResponse = _ctx.HttpResponse; + describePreCheckStatusResponse.Code = _ctx.StringValue("DescribePreCheckStatus.Code"); + describePreCheckStatusResponse.ErrorItem = _ctx.IntegerValue("DescribePreCheckStatus.ErrorItem"); + describePreCheckStatusResponse.HttpStatusCode = _ctx.IntegerValue("DescribePreCheckStatus.HttpStatusCode"); + describePreCheckStatusResponse.JobName = _ctx.StringValue("DescribePreCheckStatus.JobName"); + describePreCheckStatusResponse.State = _ctx.StringValue("DescribePreCheckStatus.State"); + describePreCheckStatusResponse.Success = _ctx.BooleanValue("DescribePreCheckStatus.Success"); + describePreCheckStatusResponse.Total = _ctx.IntegerValue("DescribePreCheckStatus.Total"); + describePreCheckStatusResponse.RequestId = _ctx.StringValue("DescribePreCheckStatus.RequestId"); + + List describePreCheckStatusResponse_jobProgress = new List(); + for (int i = 0; i < _ctx.Length("DescribePreCheckStatus.JobProgress.Length"); i++) { + DescribePreCheckStatusResponse.DescribePreCheckStatus_ProgressInfo progressInfo = new DescribePreCheckStatusResponse.DescribePreCheckStatus_ProgressInfo(); + progressInfo.BootTime = _ctx.LongValue("DescribePreCheckStatus.JobProgress["+ i +"].BootTime"); + progressInfo.CanSkip = _ctx.BooleanValue("DescribePreCheckStatus.JobProgress["+ i +"].CanSkip"); + progressInfo.DelaySeconds = _ctx.IntegerValue("DescribePreCheckStatus.JobProgress["+ i +"].DelaySeconds"); + progressInfo.FinishTime = _ctx.LongValue("DescribePreCheckStatus.JobProgress["+ i +"].FinishTime"); + progressInfo.IgnoreFlag = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].IgnoreFlag"); + progressInfo.Item = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Item"); + progressInfo.JobId = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].JobId"); + progressInfo.Names = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Names"); + progressInfo.OrderNum = _ctx.IntegerValue("DescribePreCheckStatus.JobProgress["+ i +"].OrderNum"); + progressInfo.Skip = _ctx.BooleanValue("DescribePreCheckStatus.JobProgress["+ i +"].Skip"); + progressInfo.State = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].State"); + progressInfo.Sub = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Sub"); + progressInfo.RepairMethod = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].RepairMethod"); + progressInfo.TargetNames = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].TargetNames"); + progressInfo.Total = _ctx.IntegerValue("DescribePreCheckStatus.JobProgress["+ i +"].Total"); + progressInfo.SourceSchema = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].SourceSchema"); + progressInfo.ParentObj = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].ParentObj"); + progressInfo.DiffRow = _ctx.LongValue("DescribePreCheckStatus.JobProgress["+ i +"].DiffRow"); + progressInfo.DestSchema = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].DestSchema"); + progressInfo.ErrDetail = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].ErrDetail"); + progressInfo.ErrMsg = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].ErrMsg"); + progressInfo.DdlSql = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].DdlSql"); + + List progressInfo_logs = new List(); + for (int j = 0; j < _ctx.Length("DescribePreCheckStatus.JobProgress["+ i +"].Logs.Length"); j++) { + DescribePreCheckStatusResponse.DescribePreCheckStatus_ProgressInfo.DescribePreCheckStatus_JobLog jobLog = new DescribePreCheckStatusResponse.DescribePreCheckStatus_ProgressInfo.DescribePreCheckStatus_JobLog(); + jobLog.ErrData = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Logs["+ j +"].ErrData"); + jobLog.ErrMsg = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Logs["+ j +"].ErrMsg"); + jobLog.ErrType = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Logs["+ j +"].ErrType"); + jobLog.LogLevel = _ctx.StringValue("DescribePreCheckStatus.JobProgress["+ i +"].Logs["+ j +"].LogLevel"); + + progressInfo_logs.Add(jobLog); + } + progressInfo.Logs = progressInfo_logs; + + describePreCheckStatusResponse_jobProgress.Add(progressInfo); + } + describePreCheckStatusResponse.JobProgress = describePreCheckStatusResponse_jobProgress; + + return describePreCheckStatusResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobNameResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobNameResponseUnmarshaller.cs new file mode 100644 index 0000000000..3fa53c4bd0 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobNameResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class ModifyDtsJobNameResponseUnmarshaller + { + public static ModifyDtsJobNameResponse Unmarshall(UnmarshallerContext _ctx) + { + ModifyDtsJobNameResponse modifyDtsJobNameResponse = new ModifyDtsJobNameResponse(); + + modifyDtsJobNameResponse.HttpResponse = _ctx.HttpResponse; + modifyDtsJobNameResponse.Code = _ctx.StringValue("ModifyDtsJobName.Code"); + modifyDtsJobNameResponse.DynamicMessage = _ctx.StringValue("ModifyDtsJobName.DynamicMessage"); + modifyDtsJobNameResponse.ErrCode = _ctx.StringValue("ModifyDtsJobName.ErrCode"); + modifyDtsJobNameResponse.ErrMessage = _ctx.StringValue("ModifyDtsJobName.ErrMessage"); + modifyDtsJobNameResponse.HttpStatusCode = _ctx.IntegerValue("ModifyDtsJobName.HttpStatusCode"); + modifyDtsJobNameResponse.RequestId = _ctx.StringValue("ModifyDtsJobName.RequestId"); + modifyDtsJobNameResponse.Success = _ctx.BooleanValue("ModifyDtsJobName.Success"); + + return modifyDtsJobNameResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobPasswordResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobPasswordResponseUnmarshaller.cs new file mode 100644 index 0000000000..273dba5157 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobPasswordResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class ModifyDtsJobPasswordResponseUnmarshaller + { + public static ModifyDtsJobPasswordResponse Unmarshall(UnmarshallerContext _ctx) + { + ModifyDtsJobPasswordResponse modifyDtsJobPasswordResponse = new ModifyDtsJobPasswordResponse(); + + modifyDtsJobPasswordResponse.HttpResponse = _ctx.HttpResponse; + modifyDtsJobPasswordResponse.Code = _ctx.StringValue("ModifyDtsJobPassword.Code"); + modifyDtsJobPasswordResponse.DynamicMessage = _ctx.StringValue("ModifyDtsJobPassword.DynamicMessage"); + modifyDtsJobPasswordResponse.ErrCode = _ctx.StringValue("ModifyDtsJobPassword.ErrCode"); + modifyDtsJobPasswordResponse.ErrMessage = _ctx.StringValue("ModifyDtsJobPassword.ErrMessage"); + modifyDtsJobPasswordResponse.HttpStatusCode = _ctx.IntegerValue("ModifyDtsJobPassword.HttpStatusCode"); + modifyDtsJobPasswordResponse.RequestId = _ctx.StringValue("ModifyDtsJobPassword.RequestId"); + modifyDtsJobPasswordResponse.Success = _ctx.BooleanValue("ModifyDtsJobPassword.Success"); + + return modifyDtsJobPasswordResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobResponseUnmarshaller.cs new file mode 100644 index 0000000000..a44176cdc7 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ModifyDtsJobResponseUnmarshaller.cs @@ -0,0 +1,44 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class ModifyDtsJobResponseUnmarshaller + { + public static ModifyDtsJobResponse Unmarshall(UnmarshallerContext _ctx) + { + ModifyDtsJobResponse modifyDtsJobResponse = new ModifyDtsJobResponse(); + + modifyDtsJobResponse.HttpResponse = _ctx.HttpResponse; + modifyDtsJobResponse.DtsJobId = _ctx.StringValue("ModifyDtsJob.DtsJobId"); + modifyDtsJobResponse.ErrCode = _ctx.StringValue("ModifyDtsJob.ErrCode"); + modifyDtsJobResponse.ErrMessage = _ctx.BooleanValue("ModifyDtsJob.ErrMessage"); + modifyDtsJobResponse.RequestId = _ctx.StringValue("ModifyDtsJob.RequestId"); + modifyDtsJobResponse.Status = _ctx.StringValue("ModifyDtsJob.Status"); + modifyDtsJobResponse.Success = _ctx.BooleanValue("ModifyDtsJob.Success"); + + return modifyDtsJobResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/ResetDtsJobResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ResetDtsJobResponseUnmarshaller.cs new file mode 100644 index 0000000000..b281609c77 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/ResetDtsJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class ResetDtsJobResponseUnmarshaller + { + public static ResetDtsJobResponse Unmarshall(UnmarshallerContext _ctx) + { + ResetDtsJobResponse resetDtsJobResponse = new ResetDtsJobResponse(); + + resetDtsJobResponse.HttpResponse = _ctx.HttpResponse; + resetDtsJobResponse.DynamicCode = _ctx.StringValue("ResetDtsJob.DynamicCode"); + resetDtsJobResponse.DynamicMessage = _ctx.StringValue("ResetDtsJob.DynamicMessage"); + resetDtsJobResponse.ErrCode = _ctx.StringValue("ResetDtsJob.ErrCode"); + resetDtsJobResponse.ErrMessage = _ctx.StringValue("ResetDtsJob.ErrMessage"); + resetDtsJobResponse.HttpStatusCode = _ctx.IntegerValue("ResetDtsJob.HttpStatusCode"); + resetDtsJobResponse.RequestId = _ctx.StringValue("ResetDtsJob.RequestId"); + resetDtsJobResponse.Success = _ctx.BooleanValue("ResetDtsJob.Success"); + + return resetDtsJobResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/SkipPreCheckResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/SkipPreCheckResponseUnmarshaller.cs new file mode 100644 index 0000000000..c6e0719c2a --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/SkipPreCheckResponseUnmarshaller.cs @@ -0,0 +1,49 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class SkipPreCheckResponseUnmarshaller + { + public static SkipPreCheckResponse Unmarshall(UnmarshallerContext _ctx) + { + SkipPreCheckResponse skipPreCheckResponse = new SkipPreCheckResponse(); + + skipPreCheckResponse.HttpResponse = _ctx.HttpResponse; + skipPreCheckResponse.Code = _ctx.StringValue("SkipPreCheck.Code"); + skipPreCheckResponse.DynamicMessage = _ctx.StringValue("SkipPreCheck.DynamicMessage"); + skipPreCheckResponse.ErrCode = _ctx.StringValue("SkipPreCheck.ErrCode"); + skipPreCheckResponse.ErrMessage = _ctx.StringValue("SkipPreCheck.ErrMessage"); + skipPreCheckResponse.HttpStatusCode = _ctx.IntegerValue("SkipPreCheck.HttpStatusCode"); + skipPreCheckResponse.RequestId = _ctx.StringValue("SkipPreCheck.RequestId"); + skipPreCheckResponse.Success = _ctx.BooleanValue("SkipPreCheck.Success"); + skipPreCheckResponse.MigrationJobId = _ctx.StringValue("SkipPreCheck.MigrationJobId"); + skipPreCheckResponse.ScheduleJobId = _ctx.StringValue("SkipPreCheck.ScheduleJobId"); + skipPreCheckResponse.SkipItems = _ctx.StringValue("SkipPreCheck.SkipItems"); + skipPreCheckResponse.SkipNames = _ctx.StringValue("SkipPreCheck.SkipNames"); + + return skipPreCheckResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/StopDtsJobResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/StopDtsJobResponseUnmarshaller.cs new file mode 100644 index 0000000000..12f552e775 --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/StopDtsJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class StopDtsJobResponseUnmarshaller + { + public static StopDtsJobResponse Unmarshall(UnmarshallerContext _ctx) + { + StopDtsJobResponse stopDtsJobResponse = new StopDtsJobResponse(); + + stopDtsJobResponse.HttpResponse = _ctx.HttpResponse; + stopDtsJobResponse.DynamicCode = _ctx.StringValue("StopDtsJob.DynamicCode"); + stopDtsJobResponse.DynamicMessage = _ctx.StringValue("StopDtsJob.DynamicMessage"); + stopDtsJobResponse.ErrCode = _ctx.StringValue("StopDtsJob.ErrCode"); + stopDtsJobResponse.ErrMessage = _ctx.StringValue("StopDtsJob.ErrMessage"); + stopDtsJobResponse.HttpStatusCode = _ctx.IntegerValue("StopDtsJob.HttpStatusCode"); + stopDtsJobResponse.RequestId = _ctx.StringValue("StopDtsJob.RequestId"); + stopDtsJobResponse.Success = _ctx.BooleanValue("StopDtsJob.Success"); + + return stopDtsJobResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/Dts/Transform/V20200101/SuspendDtsJobResponseUnmarshaller.cs b/aliyun-net-sdk-dts/Dts/Transform/V20200101/SuspendDtsJobResponseUnmarshaller.cs new file mode 100644 index 0000000000..8b9cea959d --- /dev/null +++ b/aliyun-net-sdk-dts/Dts/Transform/V20200101/SuspendDtsJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * 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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Dts.Model.V20200101; + +namespace Aliyun.Acs.Dts.Transform.V20200101 +{ + public class SuspendDtsJobResponseUnmarshaller + { + public static SuspendDtsJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SuspendDtsJobResponse suspendDtsJobResponse = new SuspendDtsJobResponse(); + + suspendDtsJobResponse.HttpResponse = _ctx.HttpResponse; + suspendDtsJobResponse.DynamicCode = _ctx.StringValue("SuspendDtsJob.DynamicCode"); + suspendDtsJobResponse.DynamicMessage = _ctx.StringValue("SuspendDtsJob.DynamicMessage"); + suspendDtsJobResponse.ErrCode = _ctx.StringValue("SuspendDtsJob.ErrCode"); + suspendDtsJobResponse.ErrMessage = _ctx.StringValue("SuspendDtsJob.ErrMessage"); + suspendDtsJobResponse.HttpStatusCode = _ctx.IntegerValue("SuspendDtsJob.HttpStatusCode"); + suspendDtsJobResponse.RequestId = _ctx.StringValue("SuspendDtsJob.RequestId"); + suspendDtsJobResponse.Success = _ctx.BooleanValue("SuspendDtsJob.Success"); + + return suspendDtsJobResponse; + } + } +} diff --git a/aliyun-net-sdk-dts/aliyun-net-sdk-dts.vs2017.csproj b/aliyun-net-sdk-dts/aliyun-net-sdk-dts.vs2017.csproj index 5dd93fe70a..0cb167064e 100644 --- a/aliyun-net-sdk-dts/aliyun-net-sdk-dts.vs2017.csproj +++ b/aliyun-net-sdk-dts/aliyun-net-sdk-dts.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0;net45 Aliyun.Acs.Dts - 5.1.10 + 5.1.11 Alibaba Cloud ©2009-2019 Alibaba Cloud false