yangys
2024-04-07 a87afa1be0961724a05cdf14321f0d8fd55efb98
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.boot.request;
 
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties("blade.xss")
/* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/XssProperties.class */
public class XssProperties {
    private Boolean enabled = true;
    private List<String> skipUrl = new ArrayList();
 
    public void setEnabled(final Boolean enabled) {
        this.enabled = enabled;
    }
 
    public void setSkipUrl(final List<String> skipUrl) {
        this.skipUrl = skipUrl;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof XssProperties) {
            XssProperties other = (XssProperties) o;
            if (other.canEqual(this)) {
                Object this$enabled = getEnabled();
                Object other$enabled = other.getEnabled();
                if (this$enabled == null) {
                    if (other$enabled != null) {
                        return false;
                    }
                } else if (!this$enabled.equals(other$enabled)) {
                    return false;
                }
                Object this$skipUrl = getSkipUrl();
                Object other$skipUrl = other.getSkipUrl();
                return this$skipUrl == null ? other$skipUrl == null : this$skipUrl.equals(other$skipUrl);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof XssProperties;
    }
 
    public int hashCode() {
        Object $enabled = getEnabled();
        int result = (1 * 59) + ($enabled == null ? 43 : $enabled.hashCode());
        Object $skipUrl = getSkipUrl();
        return (result * 59) + ($skipUrl == null ? 43 : $skipUrl.hashCode());
    }
 
    public String toString() {
        return "XssProperties(enabled=" + getEnabled() + ", skipUrl=" + getSkipUrl() + ")";
    }
 
    public Boolean getEnabled() {
        return this.enabled;
    }
 
    public List<String> getSkipUrl() {
        return this.skipUrl;
    }
}