com.volcengine.rocketmq.model.DLQMessageListForQueryDLQMessageByGroupIdOutput 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;
/**
* DLQMessageListForQueryDLQMessageByGroupIdOutput
*/
public class DLQMessageListForQueryDLQMessageByGroupIdOutput {
@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("ReconsumeTimes")
private Integer reconsumeTimes = null;
@SerializedName("StoreTimestamp")
private Long storeTimestamp = null;
@SerializedName("Tag")
private String tag = null;
public DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput reconsumeTimes(Integer reconsumeTimes) {
this.reconsumeTimes = reconsumeTimes;
return this;
}
/**
* Get reconsumeTimes
* @return reconsumeTimes
**/
@Schema(description = "")
public Integer getReconsumeTimes() {
return reconsumeTimes;
}
public void setReconsumeTimes(Integer reconsumeTimes) {
this.reconsumeTimes = reconsumeTimes;
}
public DLQMessageListForQueryDLQMessageByGroupIdOutput 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 DLQMessageListForQueryDLQMessageByGroupIdOutput 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DLQMessageListForQueryDLQMessageByGroupIdOutput dlQMessageListForQueryDLQMessageByGroupIdOutput = (DLQMessageListForQueryDLQMessageByGroupIdOutput) o;
return Objects.equals(this.createTimestamp, dlQMessageListForQueryDLQMessageByGroupIdOutput.createTimestamp) &&
Objects.equals(this.isExist, dlQMessageListForQueryDLQMessageByGroupIdOutput.isExist) &&
Objects.equals(this.messageId, dlQMessageListForQueryDLQMessageByGroupIdOutput.messageId) &&
Objects.equals(this.messageKey, dlQMessageListForQueryDLQMessageByGroupIdOutput.messageKey) &&
Objects.equals(this.messageSize, dlQMessageListForQueryDLQMessageByGroupIdOutput.messageSize) &&
Objects.equals(this.producerHost, dlQMessageListForQueryDLQMessageByGroupIdOutput.producerHost) &&
Objects.equals(this.reconsumeTimes, dlQMessageListForQueryDLQMessageByGroupIdOutput.reconsumeTimes) &&
Objects.equals(this.storeTimestamp, dlQMessageListForQueryDLQMessageByGroupIdOutput.storeTimestamp) &&
Objects.equals(this.tag, dlQMessageListForQueryDLQMessageByGroupIdOutput.tag);
}
@Override
public int hashCode() {
return Objects.hash(createTimestamp, isExist, messageId, messageKey, messageSize, producerHost, reconsumeTimes, storeTimestamp, tag);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DLQMessageListForQueryDLQMessageByGroupIdOutput {\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(" reconsumeTimes: ").append(toIndentedString(reconsumeTimes)).append("\n");
sb.append(" storeTimestamp: ").append(toIndentedString(storeTimestamp)).append("\n");
sb.append(" tag: ").append(toIndentedString(tag)).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