package com.qianwen.core.notify.event; import java.io.Serializable; import java.util.Map; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/event/SerializableNotifierEvent.class */ public class SerializableNotifierEvent implements Serializable { private boolean success; private String errorType; private String cause; private String traceId; private String notifierId; private String notifyType; private String provider; private String templateId; private String template; private Map context; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/event/SerializableNotifierEvent$SerializableNotifierEventBuilder.class */ public static class SerializableNotifierEventBuilder { private boolean success; private String errorType; private String cause; private String traceId; private String notifierId; private String notifyType; private String provider; private String templateId; private String template; private Map context; SerializableNotifierEventBuilder() { } public SerializableNotifierEventBuilder success(final boolean success) { this.success = success; return this; } public SerializableNotifierEventBuilder errorType(final String errorType) { this.errorType = errorType; return this; } public SerializableNotifierEventBuilder cause(final String cause) { this.cause = cause; return this; } public SerializableNotifierEventBuilder traceId(final String traceId) { this.traceId = traceId; return this; } public SerializableNotifierEventBuilder notifierId(final String notifierId) { this.notifierId = notifierId; return this; } public SerializableNotifierEventBuilder notifyType(final String notifyType) { this.notifyType = notifyType; return this; } public SerializableNotifierEventBuilder provider(final String provider) { this.provider = provider; return this; } public SerializableNotifierEventBuilder templateId(final String templateId) { this.templateId = templateId; return this; } public SerializableNotifierEventBuilder template(final String template) { this.template = template; return this; } public SerializableNotifierEventBuilder context(final Map context) { this.context = context; return this; } public SerializableNotifierEvent build() { return new SerializableNotifierEvent(this.success, this.errorType, this.cause, this.traceId, this.notifierId, this.notifyType, this.provider, this.templateId, this.template, this.context); } public String toString() { return "SerializableNotifierEvent.SerializableNotifierEventBuilder(success=" + this.success + ", errorType=" + this.errorType + ", cause=" + this.cause + ", traceId=" + this.traceId + ", notifierId=" + this.notifierId + ", notifyType=" + this.notifyType + ", provider=" + this.provider + ", templateId=" + this.templateId + ", template=" + this.template + ", context=" + this.context + ")"; } } public void setSuccess(final boolean success) { this.success = success; } public void setErrorType(final String errorType) { this.errorType = errorType; } public void setCause(final String cause) { this.cause = cause; } public void setTraceId(final String traceId) { this.traceId = traceId; } public void setNotifierId(final String notifierId) { this.notifierId = notifierId; } public void setNotifyType(final String notifyType) { this.notifyType = notifyType; } public void setProvider(final String provider) { this.provider = provider; } public void setTemplateId(final String templateId) { this.templateId = templateId; } public void setTemplate(final String template) { this.template = template; } public void setContext(final Map context) { this.context = context; } public static SerializableNotifierEventBuilder builder() { return new SerializableNotifierEventBuilder(); } public SerializableNotifierEvent() { } public SerializableNotifierEvent(final boolean success, final String errorType, final String cause, final String traceId, final String notifierId, final String notifyType, final String provider, final String templateId, final String template, final Map context) { this.success = success; this.errorType = errorType; this.cause = cause; this.traceId = traceId; this.notifierId = notifierId; this.notifyType = notifyType; this.provider = provider; this.templateId = templateId; this.template = template; this.context = context; } public boolean isSuccess() { return this.success; } public String getErrorType() { return this.errorType; } public String getCause() { return this.cause; } public String getTraceId() { return this.traceId; } public String getNotifierId() { return this.notifierId; } public String getNotifyType() { return this.notifyType; } public String getProvider() { return this.provider; } public String getTemplateId() { return this.templateId; } public String getTemplate() { return this.template; } public Map getContext() { return this.context; } }