yangys
2024-04-22 86c1cb468c2b1f28ea3cf6c217ea8e2fe3323e42
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
package com.qianwen.core.notify.provider.internal.message;
 
import java.util.Map;
 
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/internal/message/ParsedInternalMessageTemplate.class */
public class ParsedInternalMessageTemplate {
    private String subject;
    private String content;
    private Map<String, String> attachments;
 
    /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/internal/message/ParsedInternalMessageTemplate$ParsedInternalMessageTemplateBuilder.class */
    public static class ParsedInternalMessageTemplateBuilder {
        private String subject;
        private String content;
        private Map<String, String> attachments;
 
        ParsedInternalMessageTemplateBuilder() {
        }
 
        public ParsedInternalMessageTemplateBuilder subject(final String subject) {
            this.subject = subject;
            return this;
        }
 
        public ParsedInternalMessageTemplateBuilder content(final String content) {
            this.content = content;
            return this;
        }
 
        public ParsedInternalMessageTemplateBuilder attachments(final Map<String, String> attachments) {
            this.attachments = attachments;
            return this;
        }
 
        public ParsedInternalMessageTemplate build() {
            return new ParsedInternalMessageTemplate(this.subject, this.content, this.attachments);
        }
 
        public String toString() {
            return "ParsedInternalMessageTemplate.ParsedInternalMessageTemplateBuilder(subject=" + this.subject + ", content=" + this.content + ", attachments=" + this.attachments + ")";
        }
    }
 
    public static ParsedInternalMessageTemplateBuilder builder() {
        return new ParsedInternalMessageTemplateBuilder();
    }
 
    public ParsedInternalMessageTemplate(final String subject, final String content, final Map<String, String> attachments) {
        this.subject = subject;
        this.content = content;
        this.attachments = attachments;
    }
 
    public ParsedInternalMessageTemplate() {
    }
 
    public void setSubject(final String subject) {
        this.subject = subject;
    }
 
    public void setContent(final String content) {
        this.content = content;
    }
 
    public void setAttachments(final Map<String, String> attachments) {
        this.attachments = attachments;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ParsedInternalMessageTemplate) {
            ParsedInternalMessageTemplate other = (ParsedInternalMessageTemplate) o;
            if (other.canEqual(this)) {
                Object this$subject = getSubject();
                Object other$subject = other.getSubject();
                if (this$subject == null) {
                    if (other$subject != null) {
                        return false;
                    }
                } else if (!this$subject.equals(other$subject)) {
                    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$attachments = getAttachments();
                Object other$attachments = other.getAttachments();
                return this$attachments == null ? other$attachments == null : this$attachments.equals(other$attachments);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ParsedInternalMessageTemplate;
    }
 
    public int hashCode() {
        Object $subject = getSubject();
        int result = (1 * 59) + ($subject == null ? 43 : $subject.hashCode());
        Object $content = getContent();
        int result2 = (result * 59) + ($content == null ? 43 : $content.hashCode());
        Object $attachments = getAttachments();
        return (result2 * 59) + ($attachments == null ? 43 : $attachments.hashCode());
    }
 
    public String toString() {
        return "ParsedInternalMessageTemplate(subject=" + getSubject() + ", content=" + getContent() + ", attachments=" + getAttachments() + ")";
    }
 
    public String getSubject() {
        return this.subject;
    }
 
    public String getContent() {
        return this.content;
    }
 
    public Map<String, String> getAttachments() {
        return this.attachments;
    }
}