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
package com.qianwen.core.notify.external;
 
import java.util.Map;
 
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/external/MessagingRequest.class */
public class MessagingRequest {
    private String id;
    private Type type;
    private String topic;
    private Map<String, Object> parameter;
 
    /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/external/MessagingRequest$Type.class */
    public enum Type {
        pub,
        sub,
        unsub,
        ping
    }
 
    public void setId(final String id) {
        this.id = id;
    }
 
    public void setType(final Type type) {
        this.type = type;
    }
 
    public void setTopic(final String topic) {
        this.topic = topic;
    }
 
    public void setParameter(final Map<String, Object> parameter) {
        this.parameter = parameter;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MessagingRequest) {
            MessagingRequest other = (MessagingRequest) 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$topic = getTopic();
                Object other$topic = other.getTopic();
                if (this$topic == null) {
                    if (other$topic != null) {
                        return false;
                    }
                } else if (!this$topic.equals(other$topic)) {
                    return false;
                }
                Object this$parameter = getParameter();
                Object other$parameter = other.getParameter();
                return this$parameter == null ? other$parameter == null : this$parameter.equals(other$parameter);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MessagingRequest;
    }
 
    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 $topic = getTopic();
        int result3 = (result2 * 59) + ($topic == null ? 43 : $topic.hashCode());
        Object $parameter = getParameter();
        return (result3 * 59) + ($parameter == null ? 43 : $parameter.hashCode());
    }
 
    public String toString() {
        return "MessagingRequest(id=" + getId() + ", type=" + getType() + ", topic=" + getTopic() + ", parameter=" + getParameter() + ")";
    }
 
    public String getId() {
        return this.id;
    }
 
    public Type getType() {
        return this.type;
    }
 
    public String getTopic() {
        return this.topic;
    }
 
    public Map<String, Object> getParameter() {
        return this.parameter;
    }
}