com.aliyun.datahub.client.model.GetTopicResult Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
public class GetTopicResult extends BaseResult {
private String projectName;
private String topicName;
@JsonProperty("ExtraConfig")
private Map extraConfig;
@JsonProperty("ShardCount")
private int shardCount;
@JsonProperty("Lifecycle")
private int lifeCycle;
@JsonProperty("RecordType")
private RecordType recordType;
@JsonProperty("RecordSchema")
private RecordSchema recordSchema;
@JsonProperty("Comment")
private String comment;
@JsonProperty("CreateTime")
private long createTime;
@JsonProperty("Creator")
private String creator;
@JsonProperty("LastModifyTime")
private long lastModifyTime;
@JsonProperty("ExpandMode")
private ExpandMode expandMode;
@JsonProperty("Status")
private String status;
@JsonProperty("IoStatus")
private String ioStatus;
@JsonProperty("EnableSchemaRegistry")
private boolean enableSchemaRegistry = false;
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getTopicName() {
return topicName;
}
public void setTopicName(String topicName) {
this.topicName = topicName;
}
public int getShardCount() {
return shardCount;
}
public void setShardCount(int shardCount) {
this.shardCount = shardCount;
}
public int getLifeCycle() {
return lifeCycle;
}
public void setLifeCycle(int lifeCycle) {
this.lifeCycle = lifeCycle;
}
public RecordType getRecordType() {
return recordType;
}
public void setRecordType(RecordType recordType) {
this.recordType = recordType;
}
public RecordSchema getRecordSchema() {
return recordSchema;
}
public void setRecordSchema(RecordSchema recordSchema) {
this.recordSchema = recordSchema;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public String getCreator() {
return creator;
}
public void setCreator(String creator) {
this.creator = creator;
}
public long getLastModifyTime() {
return lastModifyTime;
}
public void setLastModifyTime(long lastModifyTime) {
this.lastModifyTime = lastModifyTime;
}
public ExpandMode getExpandMode() {
return expandMode;
}
public void setExpandMode(ExpandMode expandMode) {
this.expandMode = expandMode;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getIoStatus() {
return ioStatus;
}
public void setIoStatus(String ioStatus) {
this.ioStatus = ioStatus;
}
public boolean isEnableSchemaRegistry() {
return enableSchemaRegistry;
}
public void setEnableSchemaRegistry(boolean enableSchemaRegistry) {
this.enableSchemaRegistry = enableSchemaRegistry;
}
public Map getExtraConfig() {
return extraConfig;
}
public void setExtraConfig(Map extraConfig) {
this.extraConfig = extraConfig;
}
}