-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated 2020-05-18 for dataworks-public.
- Loading branch information
Showing
11 changed files
with
465 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
...public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListTablesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* | ||
* Licensed 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. | ||
*/ | ||
|
||
package com.aliyuncs.dataworks_public.model.v20200518; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.dataworks_public.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class ListTablesRequest extends RpcAcsRequest<ListTablesResponse> { | ||
|
||
|
||
private String dataSourceType; | ||
|
||
private String nextToken; | ||
|
||
private Integer pageSize; | ||
public ListTablesRequest() { | ||
super("dataworks-public", "2020-05-18", "ListTables"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getDataSourceType() { | ||
return this.dataSourceType; | ||
} | ||
|
||
public void setDataSourceType(String dataSourceType) { | ||
this.dataSourceType = dataSourceType; | ||
if(dataSourceType != null){ | ||
putQueryParameter("DataSourceType", dataSourceType); | ||
} | ||
} | ||
|
||
public String getNextToken() { | ||
return this.nextToken; | ||
} | ||
|
||
public void setNextToken(String nextToken) { | ||
this.nextToken = nextToken; | ||
if(nextToken != null){ | ||
putQueryParameter("NextToken", nextToken); | ||
} | ||
} | ||
|
||
public Integer getPageSize() { | ||
return this.pageSize; | ||
} | ||
|
||
public void setPageSize(Integer pageSize) { | ||
this.pageSize = pageSize; | ||
if(pageSize != null){ | ||
putQueryParameter("PageSize", pageSize.toString()); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<ListTablesResponse> getResponseClass() { | ||
return ListTablesResponse.class; | ||
} | ||
|
||
} |
176 changes: 176 additions & 0 deletions
176
...ublic/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListTablesResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
/* | ||
* Licensed 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. | ||
*/ | ||
|
||
package com.aliyuncs.dataworks_public.model.v20200518; | ||
|
||
import java.util.List; | ||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.dataworks_public.transform.v20200518.ListTablesResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class ListTablesResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private Data data; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public Data getData() { | ||
return this.data; | ||
} | ||
|
||
public void setData(Data data) { | ||
this.data = data; | ||
} | ||
|
||
public static class Data { | ||
|
||
private Long total; | ||
|
||
private String nextToken; | ||
|
||
private List<TableEntityListItem> tableEntityList; | ||
|
||
public Long getTotal() { | ||
return this.total; | ||
} | ||
|
||
public void setTotal(Long total) { | ||
this.total = total; | ||
} | ||
|
||
public String getNextToken() { | ||
return this.nextToken; | ||
} | ||
|
||
public void setNextToken(String nextToken) { | ||
this.nextToken = nextToken; | ||
} | ||
|
||
public List<TableEntityListItem> getTableEntityList() { | ||
return this.tableEntityList; | ||
} | ||
|
||
public void setTableEntityList(List<TableEntityListItem> tableEntityList) { | ||
this.tableEntityList = tableEntityList; | ||
} | ||
|
||
public static class TableEntityListItem { | ||
|
||
private String entityQualifiedName; | ||
|
||
private EntityContent entityContent; | ||
|
||
public String getEntityQualifiedName() { | ||
return this.entityQualifiedName; | ||
} | ||
|
||
public void setEntityQualifiedName(String entityQualifiedName) { | ||
this.entityQualifiedName = entityQualifiedName; | ||
} | ||
|
||
public EntityContent getEntityContent() { | ||
return this.entityContent; | ||
} | ||
|
||
public void setEntityContent(EntityContent entityContent) { | ||
this.entityContent = entityContent; | ||
} | ||
|
||
public static class EntityContent { | ||
|
||
private String tableName; | ||
|
||
private String dataSourceQualifiedName; | ||
|
||
private String dataSourceUniqueId; | ||
|
||
private String databaseName; | ||
|
||
private String projectName; | ||
|
||
private String instanceId; | ||
|
||
public String getTableName() { | ||
return this.tableName; | ||
} | ||
|
||
public void setTableName(String tableName) { | ||
this.tableName = tableName; | ||
} | ||
|
||
public String getDataSourceQualifiedName() { | ||
return this.dataSourceQualifiedName; | ||
} | ||
|
||
public void setDataSourceQualifiedName(String dataSourceQualifiedName) { | ||
this.dataSourceQualifiedName = dataSourceQualifiedName; | ||
} | ||
|
||
public String getDataSourceUniqueId() { | ||
return this.dataSourceUniqueId; | ||
} | ||
|
||
public void setDataSourceUniqueId(String dataSourceUniqueId) { | ||
this.dataSourceUniqueId = dataSourceUniqueId; | ||
} | ||
|
||
public String getDatabaseName() { | ||
return this.databaseName; | ||
} | ||
|
||
public void setDatabaseName(String databaseName) { | ||
this.databaseName = databaseName; | ||
} | ||
|
||
public String getProjectName() { | ||
return this.projectName; | ||
} | ||
|
||
public void setProjectName(String projectName) { | ||
this.projectName = projectName; | ||
} | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@Override | ||
public ListTablesResponse getInstance(UnmarshallerContext context) { | ||
return ListTablesResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
Oops, something went wrong.