package com.qianwen.core.notify.executor;
|
|
import java.util.List;
|
import com.qianwen.core.notify.DefaultNotifyType;
|
|
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/executor/NotifyDirectSendInfo.class */
|
public class NotifyDirectSendInfo {
|
private DefaultNotifyType notifyType;
|
private List<String> directSendAddress;
|
|
public NotifyDirectSendInfo setNotifyType(final DefaultNotifyType notifyType) {
|
this.notifyType = notifyType;
|
return this;
|
}
|
|
public NotifyDirectSendInfo setDirectSendAddress(final List<String> directSendAddress) {
|
this.directSendAddress = directSendAddress;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifyDirectSendInfo) {
|
NotifyDirectSendInfo other = (NotifyDirectSendInfo) o;
|
if (other.canEqual(this)) {
|
Object this$notifyType = getNotifyType();
|
Object other$notifyType = other.getNotifyType();
|
if (this$notifyType == null) {
|
if (other$notifyType != null) {
|
return false;
|
}
|
} else if (!this$notifyType.equals(other$notifyType)) {
|
return false;
|
}
|
Object this$directSendAddress = getDirectSendAddress();
|
Object other$directSendAddress = other.getDirectSendAddress();
|
return this$directSendAddress == null ? other$directSendAddress == null : this$directSendAddress.equals(other$directSendAddress);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifyDirectSendInfo;
|
}
|
|
public int hashCode() {
|
Object $notifyType = getNotifyType();
|
int result = (1 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
|
Object $directSendAddress = getDirectSendAddress();
|
return (result * 59) + ($directSendAddress == null ? 43 : $directSendAddress.hashCode());
|
}
|
|
public String toString() {
|
return "NotifyDirectSendInfo(notifyType=" + getNotifyType() + ", directSendAddress=" + getDirectSendAddress() + ")";
|
}
|
|
public DefaultNotifyType getNotifyType() {
|
return this.notifyType;
|
}
|
|
public List<String> getDirectSendAddress() {
|
return this.directSendAddress;
|
}
|
}
|