com.volcengine.rocketmq.model.MessageListForQueryMessageByTimestampOutput Maven / Gradle / Ivy
/*
* rocketmq
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.rocketmq.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* MessageListForQueryMessageByTimestampOutput
*/
public class MessageListForQueryMessageByTimestampOutput {
@SerializedName("Body")
private String body = null;
@SerializedName("CreateTimestamp")
private Long createTimestamp = null;
@SerializedName("IsExist")
private Boolean isExist = null;
@SerializedName("MessageId")
private String messageId = null;
@SerializedName("MessageKey")
private String messageKey = null;
@SerializedName("MessageSize")
private Integer messageSize = null;
@SerializedName("ProducerHost")
private String producerHost = null;
@SerializedName("StoreTimestamp")
private Long storeTimestamp = null;
@SerializedName("Tag")
private String tag = null;
@SerializedName("TopicName")
private String topicName = null;
public MessageListForQueryMessageByTimestampOutput body(String body) {
this.body = body;
return this;
}
/**
* Get body
* @return body
**/
@Schema(description = "")
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public MessageListForQueryMessageByTimestampOutput createTimestamp(Long createTimestamp) {
this.createTimestamp = createTimestamp;
return this;
}
/**
* Get createTimestamp
* @return createTimestamp
**/
@Schema(description = "")
public Long getCreateTimestamp() {
return createTimestamp;
}
public void setCreateTimestamp(Long createTimestamp) {
this.createTimestamp = createTimestamp;
}
public MessageListForQueryMessageByTimestampOutput isExist(Boolean isExist) {
this.isExist = isExist;
return this;
}
/**
* Get isExist
* @return isExist
**/
@Schema(description = "")
public Boolean isIsExist() {
return isExist;
}
public void setIsExist(Boolean isExist) {
this.isExist = isExist;
}
public MessageListForQueryMessageByTimestampOutput messageId(String messageId) {
this.messageId = messageId;
return this;
}
/**
* Get messageId
* @return messageId
**/
@Schema(description = "")
public String getMessageId() {
return messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
public MessageListForQueryMessageByTimestampOutput messageKey(String messageKey) {
this.messageKey = messageKey;
return this;
}
/**
* Get messageKey
* @return messageKey
**/
@Schema(description = "")
public String getMessageKey() {
return messageKey;
}
public void setMessageKey(String messageKey) {
this.messageKey = messageKey;
}
public MessageListForQueryMessageByTimestampOutput messageSize(Integer messageSize) {
this.messageSize = messageSize;
return this;
}
/**
* Get messageSize
* @return messageSize
**/
@Schema(description = "")
public Integer getMessageSize() {
return messageSize;
}
public void setMessageSize(Integer messageSize) {
this.messageSize = messageSize;
}
public MessageListForQueryMessageByTimestampOutput producerHost(String producerHost) {
this.producerHost = producerHost;
return this;
}
/**
* Get producerHost
* @return producerHost
**/
@Schema(description = "")
public String getProducerHost() {
return producerHost;
}
public void setProducerHost(String producerHost) {
this.producerHost = producerHost;
}
public MessageListForQueryMessageByTimestampOutput storeTimestamp(Long storeTimestamp) {
this.storeTimestamp = storeTimestamp;
return this;
}
/**
* Get storeTimestamp
* @return storeTimestamp
**/
@Schema(description = "")
public Long getStoreTimestamp() {
return storeTimestamp;
}
public void setStoreTimestamp(Long storeTimestamp) {
this.storeTimestamp = storeTimestamp;
}
public MessageListForQueryMessageByTimestampOutput tag(String tag) {
this.tag = tag;
return this;
}
/**
* Get tag
* @return tag
**/
@Schema(description = "")
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public MessageListForQueryMessageByTimestampOutput topicName(String topicName) {
this.topicName = topicName;
return this;
}
/**
* Get topicName
* @return topicName
**/
@Schema(description = "")
public String getTopicName() {
return topicName;
}
public void setTopicName(String topicName) {
this.topicName = topicName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MessageListForQueryMessageByTimestampOutput messageListForQueryMessageByTimestampOutput = (MessageListForQueryMessageByTimestampOutput) o;
return Objects.equals(this.body, messageListForQueryMessageByTimestampOutput.body) &&
Objects.equals(this.createTimestamp, messageListForQueryMessageByTimestampOutput.createTimestamp) &&
Objects.equals(this.isExist, messageListForQueryMessageByTimestampOutput.isExist) &&
Objects.equals(this.messageId, messageListForQueryMessageByTimestampOutput.messageId) &&
Objects.equals(this.messageKey, messageListForQueryMessageByTimestampOutput.messageKey) &&
Objects.equals(this.messageSize, messageListForQueryMessageByTimestampOutput.messageSize) &&
Objects.equals(this.producerHost, messageListForQueryMessageByTimestampOutput.producerHost) &&
Objects.equals(this.storeTimestamp, messageListForQueryMessageByTimestampOutput.storeTimestamp) &&
Objects.equals(this.tag, messageListForQueryMessageByTimestampOutput.tag) &&
Objects.equals(this.topicName, messageListForQueryMessageByTimestampOutput.topicName);
}
@Override
public int hashCode() {
return Objects.hash(body, createTimestamp, isExist, messageId, messageKey, messageSize, producerHost, storeTimestamp, tag, topicName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MessageListForQueryMessageByTimestampOutput {\n");
sb.append(" body: ").append(toIndentedString(body)).append("\n");
sb.append(" createTimestamp: ").append(toIndentedString(createTimestamp)).append("\n");
sb.append(" isExist: ").append(toIndentedString(isExist)).append("\n");
sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n");
sb.append(" messageKey: ").append(toIndentedString(messageKey)).append("\n");
sb.append(" messageSize: ").append(toIndentedString(messageSize)).append("\n");
sb.append(" producerHost: ").append(toIndentedString(producerHost)).append("\n");
sb.append(" storeTimestamp: ").append(toIndentedString(storeTimestamp)).append("\n");
sb.append(" tag: ").append(toIndentedString(tag)).append("\n");
sb.append(" topicName: ").append(toIndentedString(topicName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy