package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/SendScheduleVO.class */
|
public class SendScheduleVO implements Serializable {
|
private static final long serialVersionUID = 7993619845764720932L;
|
@ApiModelProperty("数据状态 被取消或发生异常时为false")
|
private Boolean status;
|
@ApiModelProperty("是否结束")
|
private Boolean isFinished;
|
@ApiModelProperty("发送数据总字节数")
|
private Integer bytes;
|
@ApiModelProperty("已发送字节数")
|
private Integer sendCount;
|
@ApiModelProperty("异常消息 作为数据状态false")
|
private String exceptionMessage;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/SendScheduleVO$SendScheduleVOBuilder.class */
|
public static class SendScheduleVOBuilder {
|
private Boolean status;
|
private Boolean isFinished;
|
private Integer bytes;
|
private Integer sendCount;
|
private String exceptionMessage;
|
|
SendScheduleVOBuilder() {
|
}
|
|
public SendScheduleVOBuilder status(final Boolean status) {
|
this.status = status;
|
return this;
|
}
|
|
public SendScheduleVOBuilder isFinished(final Boolean isFinished) {
|
this.isFinished = isFinished;
|
return this;
|
}
|
|
public SendScheduleVOBuilder bytes(final Integer bytes) {
|
this.bytes = bytes;
|
return this;
|
}
|
|
public SendScheduleVOBuilder sendCount(final Integer sendCount) {
|
this.sendCount = sendCount;
|
return this;
|
}
|
|
public SendScheduleVOBuilder exceptionMessage(final String exceptionMessage) {
|
this.exceptionMessage = exceptionMessage;
|
return this;
|
}
|
|
public SendScheduleVO build() {
|
return new SendScheduleVO(this.status, this.isFinished, this.bytes, this.sendCount, this.exceptionMessage);
|
}
|
|
public String toString() {
|
return "SendScheduleVO.SendScheduleVOBuilder(status=" + this.status + ", isFinished=" + this.isFinished + ", bytes=" + this.bytes + ", sendCount=" + this.sendCount + ", exceptionMessage=" + this.exceptionMessage + ")";
|
}
|
}
|
|
public void setStatus(final Boolean status) {
|
this.status = status;
|
}
|
|
public void setIsFinished(final Boolean isFinished) {
|
this.isFinished = isFinished;
|
}
|
|
public void setBytes(final Integer bytes) {
|
this.bytes = bytes;
|
}
|
|
public void setSendCount(final Integer sendCount) {
|
this.sendCount = sendCount;
|
}
|
|
public void setExceptionMessage(final String exceptionMessage) {
|
this.exceptionMessage = exceptionMessage;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SendScheduleVO) {
|
SendScheduleVO other = (SendScheduleVO) o;
|
if (other.canEqual(this)) {
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$isFinished = getIsFinished();
|
Object other$isFinished = other.getIsFinished();
|
if (this$isFinished == null) {
|
if (other$isFinished != null) {
|
return false;
|
}
|
} else if (!this$isFinished.equals(other$isFinished)) {
|
return false;
|
}
|
Object this$bytes = getBytes();
|
Object other$bytes = other.getBytes();
|
if (this$bytes == null) {
|
if (other$bytes != null) {
|
return false;
|
}
|
} else if (!this$bytes.equals(other$bytes)) {
|
return false;
|
}
|
Object this$sendCount = getSendCount();
|
Object other$sendCount = other.getSendCount();
|
if (this$sendCount == null) {
|
if (other$sendCount != null) {
|
return false;
|
}
|
} else if (!this$sendCount.equals(other$sendCount)) {
|
return false;
|
}
|
Object this$exceptionMessage = getExceptionMessage();
|
Object other$exceptionMessage = other.getExceptionMessage();
|
return this$exceptionMessage == null ? other$exceptionMessage == null : this$exceptionMessage.equals(other$exceptionMessage);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SendScheduleVO;
|
}
|
|
public int hashCode() {
|
Object $status = getStatus();
|
int result = (1 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $isFinished = getIsFinished();
|
int result2 = (result * 59) + ($isFinished == null ? 43 : $isFinished.hashCode());
|
Object $bytes = getBytes();
|
int result3 = (result2 * 59) + ($bytes == null ? 43 : $bytes.hashCode());
|
Object $sendCount = getSendCount();
|
int result4 = (result3 * 59) + ($sendCount == null ? 43 : $sendCount.hashCode());
|
Object $exceptionMessage = getExceptionMessage();
|
return (result4 * 59) + ($exceptionMessage == null ? 43 : $exceptionMessage.hashCode());
|
}
|
|
public String toString() {
|
return "SendScheduleVO(status=" + getStatus() + ", isFinished=" + getIsFinished() + ", bytes=" + getBytes() + ", sendCount=" + getSendCount() + ", exceptionMessage=" + getExceptionMessage() + ")";
|
}
|
|
public static SendScheduleVOBuilder builder() {
|
return new SendScheduleVOBuilder();
|
}
|
|
public SendScheduleVO() {
|
}
|
|
public SendScheduleVO(final Boolean status, final Boolean isFinished, final Integer bytes, final Integer sendCount, final String exceptionMessage) {
|
this.status = status;
|
this.isFinished = isFinished;
|
this.bytes = bytes;
|
this.sendCount = sendCount;
|
this.exceptionMessage = exceptionMessage;
|
}
|
|
public Boolean getStatus() {
|
return this.status;
|
}
|
|
public Boolean getIsFinished() {
|
return this.isFinished;
|
}
|
|
public Integer getBytes() {
|
return this.bytes;
|
}
|
|
public Integer getSendCount() {
|
return this.sendCount;
|
}
|
|
public String getExceptionMessage() {
|
return this.exceptionMessage;
|
}
|
}
|