Skip to content

Commit 68db18f

Browse files
committed
Generated 2020-05-18 for dataworks-public.
1 parent 14000a3 commit 68db18f

File tree

7 files changed

+433
-102
lines changed

7 files changed

+433
-102
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-30 Version: 3.3.3
2+
- Generated 2020-05-18 for `dataworks-public`.
3+
14
2021-03-30 Version: 2.0.1
25
- Generated 2020-11-26 for `Airec`.
36

aliyun-net-sdk-dataworks-public/Dataworks_public/Model/V20200518/CreateImportMigrationRequest.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ public CreateImportMigrationRequest()
4949

5050
private string calculateEngineMap;
5151

52+
private string packageFile;
53+
5254
private string name;
5355

5456
private string packageType;
5557

5658
private long? projectId;
5759

58-
private string packageOssDownloadLink;
59-
6060
public string Description
6161
{
6262
get
@@ -109,6 +109,19 @@ public string CalculateEngineMap
109109
}
110110
}
111111

112+
public string PackageFile
113+
{
114+
get
115+
{
116+
return packageFile;
117+
}
118+
set
119+
{
120+
packageFile = value;
121+
DictionaryUtil.Add(BodyParameters, "PackageFile", value);
122+
}
123+
}
124+
112125
public string Name
113126
{
114127
get
@@ -148,19 +161,6 @@ public long? ProjectId
148161
}
149162
}
150163

151-
public string PackageOssDownloadLink
152-
{
153-
get
154-
{
155-
return packageOssDownloadLink;
156-
}
157-
set
158-
{
159-
packageOssDownloadLink = value;
160-
DictionaryUtil.Add(BodyParameters, "PackageOssDownloadLink", value);
161-
}
162-
}
163-
164164
public override bool CheckShowJsonItemName()
165165
{
166166
return false;
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
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.dataworks_public;
26+
using Aliyun.Acs.dataworks_public.Transform;
27+
using Aliyun.Acs.dataworks_public.Transform.V20200518;
28+
29+
namespace Aliyun.Acs.dataworks_public.Model.V20200518
30+
{
31+
public class UpdateTableAddColumnRequest : RpcAcsRequest<UpdateTableAddColumnResponse>
32+
{
33+
public UpdateTableAddColumnRequest()
34+
: base("dataworks-public", "2020-05-18", "UpdateTableAddColumn")
35+
{
36+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
37+
{
38+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.dataworks_public.Endpoint.endpointMap, null);
39+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.dataworks_public.Endpoint.endpointRegionalType, null);
40+
}
41+
Method = MethodType.POST;
42+
}
43+
44+
private string tableGuid;
45+
46+
private List<Column> columns = new List<Column>(){ };
47+
48+
public string TableGuid
49+
{
50+
get
51+
{
52+
return tableGuid;
53+
}
54+
set
55+
{
56+
tableGuid = value;
57+
DictionaryUtil.Add(QueryParameters, "TableGuid", value);
58+
}
59+
}
60+
61+
public List<Column> Columns
62+
{
63+
get
64+
{
65+
return columns;
66+
}
67+
68+
set
69+
{
70+
columns = value;
71+
for (int i = 0; i < columns.Count; i++)
72+
{
73+
DictionaryUtil.Add(BodyParameters,"Column." + (i + 1) + ".ColumnNameCn", columns[i].ColumnNameCn);
74+
DictionaryUtil.Add(BodyParameters,"Column." + (i + 1) + ".Comment", columns[i].Comment);
75+
DictionaryUtil.Add(BodyParameters,"Column." + (i + 1) + ".ColumnName", columns[i].ColumnName);
76+
DictionaryUtil.Add(BodyParameters,"Column." + (i + 1) + ".ColumnType", columns[i].ColumnType);
77+
}
78+
}
79+
}
80+
81+
public class Column
82+
{
83+
84+
private string columnNameCn;
85+
86+
private string comment;
87+
88+
private string columnName;
89+
90+
private string columnType;
91+
92+
public string ColumnNameCn
93+
{
94+
get
95+
{
96+
return columnNameCn;
97+
}
98+
set
99+
{
100+
columnNameCn = value;
101+
}
102+
}
103+
104+
public string Comment
105+
{
106+
get
107+
{
108+
return comment;
109+
}
110+
set
111+
{
112+
comment = value;
113+
}
114+
}
115+
116+
public string ColumnName
117+
{
118+
get
119+
{
120+
return columnName;
121+
}
122+
set
123+
{
124+
columnName = value;
125+
}
126+
}
127+
128+
public string ColumnType
129+
{
130+
get
131+
{
132+
return columnType;
133+
}
134+
set
135+
{
136+
columnType = value;
137+
}
138+
}
139+
}
140+
141+
public override bool CheckShowJsonItemName()
142+
{
143+
return false;
144+
}
145+
146+
public override UpdateTableAddColumnResponse GetResponse(UnmarshallerContext unmarshallerContext)
147+
{
148+
return UpdateTableAddColumnResponseUnmarshaller.Unmarshall(unmarshallerContext);
149+
}
150+
}
151+
}
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
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.dataworks_public.Model.V20200518
24+
{
25+
public class UpdateTableAddColumnResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private UpdateTableAddColumn_TaskInfo taskInfo;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public UpdateTableAddColumn_TaskInfo TaskInfo
45+
{
46+
get
47+
{
48+
return taskInfo;
49+
}
50+
set
51+
{
52+
taskInfo = value;
53+
}
54+
}
55+
56+
public class UpdateTableAddColumn_TaskInfo
57+
{
58+
59+
private string taskId;
60+
61+
private string content;
62+
63+
private string status;
64+
65+
private string nextTaskId;
66+
67+
public string TaskId
68+
{
69+
get
70+
{
71+
return taskId;
72+
}
73+
set
74+
{
75+
taskId = value;
76+
}
77+
}
78+
79+
public string Content
80+
{
81+
get
82+
{
83+
return content;
84+
}
85+
set
86+
{
87+
content = value;
88+
}
89+
}
90+
91+
public string Status
92+
{
93+
get
94+
{
95+
return status;
96+
}
97+
set
98+
{
99+
status = value;
100+
}
101+
}
102+
103+
public string NextTaskId
104+
{
105+
get
106+
{
107+
return nextTaskId;
108+
}
109+
set
110+
{
111+
nextTaskId = value;
112+
}
113+
}
114+
}
115+
}
116+
}

0 commit comments

Comments
 (0)