Skip to content

Commit 7a54b3d

Browse files
committed
Generated 2019-06-01 for smc.
1 parent f15829e commit 7a54b3d

19 files changed

+357
-135
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-04-26 Version: 1.0.3
2+
- Generated 2019-06-01 for `smc`.
3+
14
2021-04-23 Version: 1.1.423
25
- Create 423 sdk.
36

aliyun-net-sdk-smc/Smc/Model/V20190601/CreateReplicationJobRequest.cs

+15
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public CreateReplicationJobRequest()
5050

5151
private int? netMode;
5252

53+
private string licenseType;
54+
5355
private string containerNamespace;
5456

5557
private string launchTemplateId;
@@ -168,6 +170,19 @@ public int? NetMode
168170
}
169171
}
170172

173+
public string LicenseType
174+
{
175+
get
176+
{
177+
return licenseType;
178+
}
179+
set
180+
{
181+
licenseType = value;
182+
DictionaryUtil.Add(QueryParameters, "LicenseType", value);
183+
}
184+
}
185+
171186
public string ContainerNamespace
172187
{
173188
get
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.smc.Transform;
26+
using Aliyun.Acs.smc.Transform.V20190601;
27+
28+
namespace Aliyun.Acs.smc.Model.V20190601
29+
{
30+
public class CutOverReplicationJobRequest : RpcAcsRequest<CutOverReplicationJobResponse>
31+
{
32+
public CutOverReplicationJobRequest()
33+
: base("smc", "2019-06-01", "CutOverReplicationJob", "smc", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.smc.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.smc.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string resourceOwnerAccount;
44+
45+
private long? ownerId;
46+
47+
private string jobId;
48+
49+
private bool? syncData;
50+
51+
public string ResourceOwnerAccount
52+
{
53+
get
54+
{
55+
return resourceOwnerAccount;
56+
}
57+
set
58+
{
59+
resourceOwnerAccount = value;
60+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value);
61+
}
62+
}
63+
64+
public long? OwnerId
65+
{
66+
get
67+
{
68+
return ownerId;
69+
}
70+
set
71+
{
72+
ownerId = value;
73+
DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString());
74+
}
75+
}
76+
77+
public string JobId
78+
{
79+
get
80+
{
81+
return jobId;
82+
}
83+
set
84+
{
85+
jobId = value;
86+
DictionaryUtil.Add(QueryParameters, "JobId", value);
87+
}
88+
}
89+
90+
public bool? SyncData
91+
{
92+
get
93+
{
94+
return syncData;
95+
}
96+
set
97+
{
98+
syncData = value;
99+
DictionaryUtil.Add(QueryParameters, "SyncData", value.ToString());
100+
}
101+
}
102+
103+
public override CutOverReplicationJobResponse GetResponse(UnmarshallerContext unmarshallerContext)
104+
{
105+
return CutOverReplicationJobResponseUnmarshaller.Unmarshall(unmarshallerContext);
106+
}
107+
}
108+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.smc.Model.V20190601
24+
{
25+
public class CutOverReplicationJobResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
public string RequestId
31+
{
32+
get
33+
{
34+
return requestId;
35+
}
36+
set
37+
{
38+
requestId = value;
39+
}
40+
}
41+
}
42+
}

aliyun-net-sdk-smc/Smc/Model/V20190601/DescribeReplicationJobsResponse.cs

+14
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ public class DescribeReplicationJobs_ReplicationJob
168168

169169
private string containerTag;
170170

171+
private string licenseType;
172+
171173
private List<DescribeReplicationJobs_SystemDiskPart> systemDiskParts;
172174

173175
private List<DescribeReplicationJobs_DataDisk> dataDisks;
@@ -594,6 +596,18 @@ public string ContainerTag
594596
}
595597
}
596598

599+
public string LicenseType
600+
{
601+
get
602+
{
603+
return licenseType;
604+
}
605+
set
606+
{
607+
licenseType = value;
608+
}
609+
}
610+
597611
public List<DescribeReplicationJobs_SystemDiskPart> SystemDiskParts
598612
{
599613
get

aliyun-net-sdk-smc/Smc/Transform/V20190601/CreateReplicationJobResponseUnmarshaller.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ namespace Aliyun.Acs.smc.Transform.V20190601
2626
{
2727
public class CreateReplicationJobResponseUnmarshaller
2828
{
29-
public static CreateReplicationJobResponse Unmarshall(UnmarshallerContext context)
29+
public static CreateReplicationJobResponse Unmarshall(UnmarshallerContext _ctx)
3030
{
3131
CreateReplicationJobResponse createReplicationJobResponse = new CreateReplicationJobResponse();
3232

33-
createReplicationJobResponse.HttpResponse = context.HttpResponse;
34-
createReplicationJobResponse.RequestId = context.StringValue("CreateReplicationJob.RequestId");
35-
createReplicationJobResponse.JobId = context.StringValue("CreateReplicationJob.JobId");
33+
createReplicationJobResponse.HttpResponse = _ctx.HttpResponse;
34+
createReplicationJobResponse.RequestId = _ctx.StringValue("CreateReplicationJob.RequestId");
35+
createReplicationJobResponse.JobId = _ctx.StringValue("CreateReplicationJob.JobId");
3636

3737
return createReplicationJobResponse;
3838
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
22+
using Aliyun.Acs.Core.Transform;
23+
using Aliyun.Acs.smc.Model.V20190601;
24+
25+
namespace Aliyun.Acs.smc.Transform.V20190601
26+
{
27+
public class CutOverReplicationJobResponseUnmarshaller
28+
{
29+
public static CutOverReplicationJobResponse Unmarshall(UnmarshallerContext _ctx)
30+
{
31+
CutOverReplicationJobResponse cutOverReplicationJobResponse = new CutOverReplicationJobResponse();
32+
33+
cutOverReplicationJobResponse.HttpResponse = _ctx.HttpResponse;
34+
cutOverReplicationJobResponse.RequestId = _ctx.StringValue("CutOverReplicationJob.RequestId");
35+
36+
return cutOverReplicationJobResponse;
37+
}
38+
}
39+
}

aliyun-net-sdk-smc/Smc/Transform/V20190601/DeleteReplicationJobResponseUnmarshaller.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ namespace Aliyun.Acs.smc.Transform.V20190601
2626
{
2727
public class DeleteReplicationJobResponseUnmarshaller
2828
{
29-
public static DeleteReplicationJobResponse Unmarshall(UnmarshallerContext context)
29+
public static DeleteReplicationJobResponse Unmarshall(UnmarshallerContext _ctx)
3030
{
3131
DeleteReplicationJobResponse deleteReplicationJobResponse = new DeleteReplicationJobResponse();
3232

33-
deleteReplicationJobResponse.HttpResponse = context.HttpResponse;
34-
deleteReplicationJobResponse.RequestId = context.StringValue("DeleteReplicationJob.RequestId");
33+
deleteReplicationJobResponse.HttpResponse = _ctx.HttpResponse;
34+
deleteReplicationJobResponse.RequestId = _ctx.StringValue("DeleteReplicationJob.RequestId");
3535

3636
return deleteReplicationJobResponse;
3737
}

aliyun-net-sdk-smc/Smc/Transform/V20190601/DeleteSourceServerResponseUnmarshaller.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ namespace Aliyun.Acs.smc.Transform.V20190601
2626
{
2727
public class DeleteSourceServerResponseUnmarshaller
2828
{
29-
public static DeleteSourceServerResponse Unmarshall(UnmarshallerContext context)
29+
public static DeleteSourceServerResponse Unmarshall(UnmarshallerContext _ctx)
3030
{
3131
DeleteSourceServerResponse deleteSourceServerResponse = new DeleteSourceServerResponse();
3232

33-
deleteSourceServerResponse.HttpResponse = context.HttpResponse;
34-
deleteSourceServerResponse.RequestId = context.StringValue("DeleteSourceServer.RequestId");
33+
deleteSourceServerResponse.HttpResponse = _ctx.HttpResponse;
34+
deleteSourceServerResponse.RequestId = _ctx.StringValue("DeleteSourceServer.RequestId");
3535

3636
return deleteSourceServerResponse;
3737
}

0 commit comments

Comments
 (0)