Skip to content

Commit

Permalink
Generated 2020-05-18 for dataworks-public.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 31, 2024
1 parent f0545d2 commit 5c949c7
Show file tree
Hide file tree
Showing 11 changed files with 828 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-dataworks-public/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-07-31 Version: 5.1.6
- Generated 2020-05-18 for `dataworks-public`.

2024-06-18 Version: 5.1.5
- Add TaskSetting in GetQualityRule response.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-dataworks-public/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dataworks-public</artifactId>
<packaging>jar</packaging>
<version>5.1.5</version>
<version>5.1.6</version>
<name>aliyun-java-sdk-dataworks-public</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
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 ListClusterConfigsRequest extends RpcAcsRequest<ListClusterConfigsResponse> {


private String configType;

private Long clusterId;

private Long projectId;
public ListClusterConfigsRequest() {
super("dataworks-public", "2020-05-18", "ListClusterConfigs");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.GET);
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 getConfigType() {
return this.configType;
}

public void setConfigType(String configType) {
this.configType = configType;
if(configType != null){
putQueryParameter("ConfigType", configType);
}
}

public Long getClusterId() {
return this.clusterId;
}

public void setClusterId(Long clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId.toString());
}
}

public Long getProjectId() {
return this.projectId;
}

public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putQueryParameter("ProjectId", projectId.toString());
}
}

@Override
public Class<ListClusterConfigsResponse> getResponseClass() {
return ListClusterConfigsResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/*
* 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.ListClusterConfigsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class ListClusterConfigsResponse extends AcsResponse {

private String requestId;

private Boolean success;

private String errorCode;

private String errorMessage;

private Integer httpStatusCode;

private List<ClusterConfigsItem> clusterConfigs;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Boolean getSuccess() {
return this.success;
}

public void setSuccess(Boolean success) {
this.success = success;
}

public String getErrorCode() {
return this.errorCode;
}

public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}

public String getErrorMessage() {
return this.errorMessage;
}

public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}

public Integer getHttpStatusCode() {
return this.httpStatusCode;
}

public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}

public List<ClusterConfigsItem> getClusterConfigs() {
return this.clusterConfigs;
}

public void setClusterConfigs(List<ClusterConfigsItem> clusterConfigs) {
this.clusterConfigs = clusterConfigs;
}

public static class ClusterConfigsItem {

private String moduleName;

private String configValue;

private Boolean enableOverwrite;

public String getModuleName() {
return this.moduleName;
}

public void setModuleName(String moduleName) {
this.moduleName = moduleName;
}

public String getConfigValue() {
return this.configValue;
}

public void setConfigValue(String configValue) {
this.configValue = configValue;
}

public Boolean getEnableOverwrite() {
return this.enableOverwrite;
}

public void setEnableOverwrite(Boolean enableOverwrite) {
this.enableOverwrite = enableOverwrite;
}
}

@Override
public ListClusterConfigsResponse getInstance(UnmarshallerContext context) {
return ListClusterConfigsResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
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 ListClustersRequest extends RpcAcsRequest<ListClustersResponse> {


private Integer pageNumber;

private String clusterType;

private Integer pageSize;
public ListClustersRequest() {
super("dataworks-public", "2020-05-18", "ListClusters");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.GET);
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 Integer getPageNumber() {
return this.pageNumber;
}

public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}

public String getClusterType() {
return this.clusterType;
}

public void setClusterType(String clusterType) {
this.clusterType = clusterType;
if(clusterType != null){
putQueryParameter("ClusterType", clusterType);
}
}

public Integer getPageSize() {
return this.pageSize;
}

public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

@Override
public Class<ListClustersResponse> getResponseClass() {
return ListClustersResponse.class;
}

}
Loading

0 comments on commit 5c949c7

Please sign in to comment.