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/ReceiveScheduleVO.class */
|
public class ReceiveScheduleVO implements Serializable {
|
private static final long serialVersionUID = -5404971530232060778L;
|
@ApiModelProperty("数据状态,被取消或发生异常时为false")
|
private Boolean status;
|
@ApiModelProperty("是否结束")
|
private Boolean isFinished;
|
@ApiModelProperty("已接收字节数")
|
private Integer receiveBytes;
|
@ApiModelProperty("按指定编码的数据内容")
|
private String content;
|
@ApiModelProperty("异常消息,作为数据状态为false时参考")
|
private String exceptionMessage;
|
@ApiModelProperty("接收速度 单位 字节/秒")
|
private Integer receiveSpeed;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/ReceiveScheduleVO$ReceiveScheduleVOBuilder.class */
|
public static class ReceiveScheduleVOBuilder {
|
private Boolean status;
|
private Boolean isFinished;
|
private Integer receiveBytes;
|
private String content;
|
private String exceptionMessage;
|
private Integer receiveSpeed;
|
|
ReceiveScheduleVOBuilder() {
|
}
|
|
public ReceiveScheduleVOBuilder status(final Boolean status) {
|
this.status = status;
|
return this;
|
}
|
|
public ReceiveScheduleVOBuilder isFinished(final Boolean isFinished) {
|
this.isFinished = isFinished;
|
return this;
|
}
|
|
public ReceiveScheduleVOBuilder receiveBytes(final Integer receiveBytes) {
|
this.receiveBytes = receiveBytes;
|
return this;
|
}
|
|
public ReceiveScheduleVOBuilder content(final String content) {
|
this.content = content;
|
return this;
|
}
|
|
public ReceiveScheduleVOBuilder exceptionMessage(final String exceptionMessage) {
|
this.exceptionMessage = exceptionMessage;
|
return this;
|
}
|
|
public ReceiveScheduleVOBuilder receiveSpeed(final Integer receiveSpeed) {
|
this.receiveSpeed = receiveSpeed;
|
return this;
|
}
|
|
public ReceiveScheduleVO build() {
|
return new ReceiveScheduleVO(this.status, this.isFinished, this.receiveBytes, this.content, this.exceptionMessage, this.receiveSpeed);
|
}
|
|
public String toString() {
|
return "ReceiveScheduleVO.ReceiveScheduleVOBuilder(status=" + this.status + ", isFinished=" + this.isFinished + ", receiveBytes=" + this.receiveBytes + ", content=" + this.content + ", exceptionMessage=" + this.exceptionMessage + ", receiveSpeed=" + this.receiveSpeed + ")";
|
}
|
}
|
|
public void setStatus(final Boolean status) {
|
this.status = status;
|
}
|
|
public void setIsFinished(final Boolean isFinished) {
|
this.isFinished = isFinished;
|
}
|
|
public void setReceiveBytes(final Integer receiveBytes) {
|
this.receiveBytes = receiveBytes;
|
}
|
|
public void setContent(final String content) {
|
this.content = content;
|
}
|
|
public void setExceptionMessage(final String exceptionMessage) {
|
this.exceptionMessage = exceptionMessage;
|
}
|
|
public void setReceiveSpeed(final Integer receiveSpeed) {
|
this.receiveSpeed = receiveSpeed;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReceiveScheduleVO) {
|
ReceiveScheduleVO other = (ReceiveScheduleVO) 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$receiveBytes = getReceiveBytes();
|
Object other$receiveBytes = other.getReceiveBytes();
|
if (this$receiveBytes == null) {
|
if (other$receiveBytes != null) {
|
return false;
|
}
|
} else if (!this$receiveBytes.equals(other$receiveBytes)) {
|
return false;
|
}
|
Object this$receiveSpeed = getReceiveSpeed();
|
Object other$receiveSpeed = other.getReceiveSpeed();
|
if (this$receiveSpeed == null) {
|
if (other$receiveSpeed != null) {
|
return false;
|
}
|
} else if (!this$receiveSpeed.equals(other$receiveSpeed)) {
|
return false;
|
}
|
Object this$content = getContent();
|
Object other$content = other.getContent();
|
if (this$content == null) {
|
if (other$content != null) {
|
return false;
|
}
|
} else if (!this$content.equals(other$content)) {
|
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 ReceiveScheduleVO;
|
}
|
|
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 $receiveBytes = getReceiveBytes();
|
int result3 = (result2 * 59) + ($receiveBytes == null ? 43 : $receiveBytes.hashCode());
|
Object $receiveSpeed = getReceiveSpeed();
|
int result4 = (result3 * 59) + ($receiveSpeed == null ? 43 : $receiveSpeed.hashCode());
|
Object $content = getContent();
|
int result5 = (result4 * 59) + ($content == null ? 43 : $content.hashCode());
|
Object $exceptionMessage = getExceptionMessage();
|
return (result5 * 59) + ($exceptionMessage == null ? 43 : $exceptionMessage.hashCode());
|
}
|
|
public String toString() {
|
return "ReceiveScheduleVO(status=" + getStatus() + ", isFinished=" + getIsFinished() + ", receiveBytes=" + getReceiveBytes() + ", content=" + getContent() + ", exceptionMessage=" + getExceptionMessage() + ", receiveSpeed=" + getReceiveSpeed() + ")";
|
}
|
|
public static ReceiveScheduleVOBuilder builder() {
|
return new ReceiveScheduleVOBuilder();
|
}
|
|
public ReceiveScheduleVO() {
|
}
|
|
public ReceiveScheduleVO(final Boolean status, final Boolean isFinished, final Integer receiveBytes, final String content, final String exceptionMessage, final Integer receiveSpeed) {
|
this.status = status;
|
this.isFinished = isFinished;
|
this.receiveBytes = receiveBytes;
|
this.content = content;
|
this.exceptionMessage = exceptionMessage;
|
this.receiveSpeed = receiveSpeed;
|
}
|
|
public Boolean getStatus() {
|
return this.status;
|
}
|
|
public Boolean getIsFinished() {
|
return this.isFinished;
|
}
|
|
public Integer getReceiveBytes() {
|
return this.receiveBytes;
|
}
|
|
public String getContent() {
|
return this.content;
|
}
|
|
public String getExceptionMessage() {
|
return this.exceptionMessage;
|
}
|
|
public Integer getReceiveSpeed() {
|
return this.receiveSpeed;
|
}
|
}
|