com.aliyun.datahub.client.impl.request.GetTopicSchemaRequest Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.impl.request;
import com.aliyun.datahub.client.model.RecordSchema;
import com.fasterxml.jackson.annotation.JsonProperty;
public class GetTopicSchemaRequest extends BaseRequest {
@JsonProperty("VersionId")
private int versionId = -1;
@JsonProperty("RecordSchema")
private RecordSchema recordSchema;
public GetTopicSchemaRequest() {
setAction("GetSchema");
}
public int getVersionId() {
return versionId;
}
public GetTopicSchemaRequest setVersionId(int versionId) {
this.versionId = versionId;
return this;
}
public RecordSchema getRecordSchema() {
return recordSchema;
}
public GetTopicSchemaRequest setRecordSchema(RecordSchema recordSchema) {
this.recordSchema = recordSchema;
return this;
}
}