package com.qianwen.core.notify.notifier;
|
|
import java.io.Serializable;
|
import java.util.Map;
|
|
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/notifier/NotifierProperties.class */
|
public class NotifierProperties implements Serializable {
|
private String id;
|
private String type;
|
private String provider;
|
private String name;
|
private Map<String, Object> configuration;
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
public void setProvider(final String provider) {
|
this.provider = provider;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setConfiguration(final Map<String, Object> configuration) {
|
this.configuration = configuration;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifierProperties) {
|
NotifierProperties other = (NotifierProperties) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$provider = getProvider();
|
Object other$provider = other.getProvider();
|
if (this$provider == null) {
|
if (other$provider != null) {
|
return false;
|
}
|
} else if (!this$provider.equals(other$provider)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$configuration = getConfiguration();
|
Object other$configuration = other.getConfiguration();
|
return this$configuration == null ? other$configuration == null : this$configuration.equals(other$configuration);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifierProperties;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $type = getType();
|
int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $provider = getProvider();
|
int result3 = (result2 * 59) + ($provider == null ? 43 : $provider.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $configuration = getConfiguration();
|
return (result4 * 59) + ($configuration == null ? 43 : $configuration.hashCode());
|
}
|
|
public String toString() {
|
return "NotifierProperties(id=" + getId() + ", type=" + getType() + ", provider=" + getProvider() + ", name=" + getName() + ", configuration=" + getConfiguration() + ")";
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public String getProvider() {
|
return this.provider;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Map<String, Object> getConfiguration() {
|
return this.configuration;
|
}
|
}
|