yangys
2024-03-29 7d18c733d4c4109f2bc8e5b176cfde74c490a207
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
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;
    }
}