-
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
828 additions
and
1 deletion.
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
82 changes: 82 additions & 0 deletions
82
...rc/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListClusterConfigsRequest.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 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; | ||
} | ||
|
||
} |
130 changes: 130 additions & 0 deletions
130
...c/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListClusterConfigsResponse.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,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; | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...blic/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListClustersRequest.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 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; | ||
} | ||
|
||
} |
Oops, something went wrong.