com.aliyun.dataphin_public20230630.models.CreateDataSourceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataphin_public20230630 Show documentation
Show all versions of dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dataphin_public20230630.models;
import com.aliyun.tea.*;
public class CreateDataSourceResponseBody extends TeaModel {
/**
* example:
* OK
*/
@NameInMap("Code")
public String code;
@NameInMap("CreateResult")
public CreateDataSourceResponseBodyCreateResult createResult;
/**
* example:
* 200
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
/**
* example:
* successful
*/
@NameInMap("Message")
public String message;
/**
* example:
* 75DD06F8-1661-5A6E-B0A6-7E23133BDC60
*/
@NameInMap("RequestId")
public String requestId;
/**
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static CreateDataSourceResponseBody build(java.util.Map map) throws Exception {
CreateDataSourceResponseBody self = new CreateDataSourceResponseBody();
return TeaModel.build(map, self);
}
public CreateDataSourceResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public CreateDataSourceResponseBody setCreateResult(CreateDataSourceResponseBodyCreateResult createResult) {
this.createResult = createResult;
return this;
}
public CreateDataSourceResponseBodyCreateResult getCreateResult() {
return this.createResult;
}
public CreateDataSourceResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public CreateDataSourceResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateDataSourceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateDataSourceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateDataSourceResponseBodyCreateResult extends TeaModel {
/**
* example:
* 123
*/
@NameInMap("DevDataSourceId")
public Long devDataSourceId;
/**
* example:
* 12345
*/
@NameInMap("ProdDataSourceId")
public Long prodDataSourceId;
public static CreateDataSourceResponseBodyCreateResult build(java.util.Map map) throws Exception {
CreateDataSourceResponseBodyCreateResult self = new CreateDataSourceResponseBodyCreateResult();
return TeaModel.build(map, self);
}
public CreateDataSourceResponseBodyCreateResult setDevDataSourceId(Long devDataSourceId) {
this.devDataSourceId = devDataSourceId;
return this;
}
public Long getDevDataSourceId() {
return this.devDataSourceId;
}
public CreateDataSourceResponseBodyCreateResult setProdDataSourceId(Long prodDataSourceId) {
this.prodDataSourceId = prodDataSourceId;
return this;
}
public Long getProdDataSourceId() {
return this.prodDataSourceId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy