yangys
2024-03-28 25475f31cd0d52ff328bbea9e80f15647dedd80b
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
package com.qianwen.core.coderule.props;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties
/* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/props/CoreRuleProperties.class */
public class CoreRuleProperties {
    private String ip;
    private Integer port;
    private String auth;
 
    /* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/props/CoreRuleProperties$CoreRulePropertiesBuilder.class */
    public static class CoreRulePropertiesBuilder {
        private String ip;
        private Integer port;
        private String auth;
 
        CoreRulePropertiesBuilder() {
        }
 
        public CoreRulePropertiesBuilder ip(final String ip) {
            this.ip = ip;
            return this;
        }
 
        public CoreRulePropertiesBuilder port(final Integer port) {
            this.port = port;
            return this;
        }
 
        public CoreRulePropertiesBuilder auth(final String auth) {
            this.auth = auth;
            return this;
        }
 
        public CoreRuleProperties build() {
            return new CoreRuleProperties(this.ip, this.port, this.auth);
        }
 
        public String toString() {
            return "CoreRuleProperties.CoreRulePropertiesBuilder(ip=" + this.ip + ", port=" + this.port + ", auth=" + this.auth + ")";
        }
    }
 
    public void setIp(final String ip) {
        this.ip = ip;
    }
 
    public void setPort(final Integer port) {
        this.port = port;
    }
 
    public void setAuth(final String auth) {
        this.auth = auth;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CoreRuleProperties) {
            CoreRuleProperties other = (CoreRuleProperties) o;
            if (other.canEqual(this)) {
                Object this$port = getPort();
                Object other$port = other.getPort();
                if (this$port == null) {
                    if (other$port != null) {
                        return false;
                    }
                } else if (!this$port.equals(other$port)) {
                    return false;
                }
                Object this$ip = getIp();
                Object other$ip = other.getIp();
                if (this$ip == null) {
                    if (other$ip != null) {
                        return false;
                    }
                } else if (!this$ip.equals(other$ip)) {
                    return false;
                }
                Object this$auth = getAuth();
                Object other$auth = other.getAuth();
                return this$auth == null ? other$auth == null : this$auth.equals(other$auth);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CoreRuleProperties;
    }
 
    public int hashCode() {
        Object $port = getPort();
        int result = (1 * 59) + ($port == null ? 43 : $port.hashCode());
        Object $ip = getIp();
        int result2 = (result * 59) + ($ip == null ? 43 : $ip.hashCode());
        Object $auth = getAuth();
        return (result2 * 59) + ($auth == null ? 43 : $auth.hashCode());
    }
 
    public String toString() {
        return "CoreRuleProperties(ip=" + getIp() + ", port=" + getPort() + ", auth=" + getAuth() + ")";
    }
 
    CoreRuleProperties(final String ip, final Integer port, final String auth) {
        this.ip = ip;
        this.port = port;
        this.auth = auth;
    }
 
    public static CoreRulePropertiesBuilder builder() {
        return new CoreRulePropertiesBuilder();
    }
 
    public String getIp() {
        return this.ip;
    }
 
    public Integer getPort() {
        return this.port;
    }
 
    public String getAuth() {
        return this.auth;
    }
}