yangys
2024-03-27 44028c2d1a7f21da831cb07ecb1b4a7873d8627b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
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<String, Object> 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<String, Object> 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<String, Object> 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<String, Object> 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<String, Object> 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<String, Object> getContext() {
        return this.context;
    }
}