yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.core.secure.props;
 
import java.util.ArrayList;
import java.util.List;
 
public class ClientSecure {
    private String clientId;
    private final List<String> pathPatterns = new ArrayList<>();
 
    public void setClientId(final String clientId) {
        this.clientId = clientId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ClientSecure) {
            ClientSecure other = (ClientSecure) o;
            if (other.canEqual(this)) {
                Object this$clientId = getClientId();
                Object other$clientId = other.getClientId();
                if (this$clientId == null) {
                    if (other$clientId != null) {
                        return false;
                    }
                } else if (!this$clientId.equals(other$clientId)) {
                    return false;
                }
                Object this$pathPatterns = getPathPatterns();
                Object other$pathPatterns = other.getPathPatterns();
                return this$pathPatterns == null ? other$pathPatterns == null : this$pathPatterns.equals(other$pathPatterns);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ClientSecure;
    }
 
    public int hashCode() {
        Object $clientId = getClientId();
        int result = (1 * 59) + ($clientId == null ? 43 : $clientId.hashCode());
        Object $pathPatterns = getPathPatterns();
        return (result * 59) + ($pathPatterns == null ? 43 : $pathPatterns.hashCode());
    }
 
    public String toString() {
        return "ClientSecure(clientId=" + getClientId() + ", pathPatterns=" + getPathPatterns() + ")";
    }
 
    public String getClientId() {
        return this.clientId;
    }
 
    public List<String> getPathPatterns() {
        return this.pathPatterns;
    }
}