com.aliyun.sdk.service.iot20180120.models.GetParserResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetParserResponseBody} extends {@link TeaModel}
*
* GetParserResponseBody
*/
public class GetParserResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private GetParserResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorMessage = builder.errorMessage;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetParserResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private Data data;
private String errorMessage;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* ErrorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetParserResponseBody build() {
return new GetParserResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("DataSourceId")
private Long dataSourceId;
@NameInMap("Description")
private String description;
@NameInMap("Name")
private String name;
@NameInMap("ParserId")
private Long parserId;
@NameInMap("Script")
private String script;
@NameInMap("ScriptDraft")
private String scriptDraft;
@NameInMap("Status")
private String status;
@NameInMap("UtcCreated")
private String utcCreated;
@NameInMap("UtcModified")
private String utcModified;
private Data(Builder builder) {
this.dataSourceId = builder.dataSourceId;
this.description = builder.description;
this.name = builder.name;
this.parserId = builder.parserId;
this.script = builder.script;
this.scriptDraft = builder.scriptDraft;
this.status = builder.status;
this.utcCreated = builder.utcCreated;
this.utcModified = builder.utcModified;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return dataSourceId
*/
public Long getDataSourceId() {
return this.dataSourceId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return parserId
*/
public Long getParserId() {
return this.parserId;
}
/**
* @return script
*/
public String getScript() {
return this.script;
}
/**
* @return scriptDraft
*/
public String getScriptDraft() {
return this.scriptDraft;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return utcCreated
*/
public String getUtcCreated() {
return this.utcCreated;
}
/**
* @return utcModified
*/
public String getUtcModified() {
return this.utcModified;
}
public static final class Builder {
private Long dataSourceId;
private String description;
private String name;
private Long parserId;
private String script;
private String scriptDraft;
private String status;
private String utcCreated;
private String utcModified;
/**
* DataSourceId.
*/
public Builder dataSourceId(Long dataSourceId) {
this.dataSourceId = dataSourceId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* ParserId.
*/
public Builder parserId(Long parserId) {
this.parserId = parserId;
return this;
}
/**
* Script.
*/
public Builder script(String script) {
this.script = script;
return this;
}
/**
* ScriptDraft.
*/
public Builder scriptDraft(String scriptDraft) {
this.scriptDraft = scriptDraft;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* UtcCreated.
*/
public Builder utcCreated(String utcCreated) {
this.utcCreated = utcCreated;
return this;
}
/**
* UtcModified.
*/
public Builder utcModified(String utcModified) {
this.utcModified = utcModified;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy