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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
package com.qianwen.smartman.modules.visual.vo;
 
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "VisualGlobalApiVo对象", description = "blade_visual_global_api")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/vo/VisualGlobalApiVO.class */
public class VisualGlobalApiVO implements Serializable {
    @ApiModelProperty("接口名称")
    @Size(max = 255, message = "接口名称长n度不能超过255")
    private String urlName;
    @NotBlank(message = "地址不能未空")
    @ApiModelProperty("请求地址")
    private String url;
    @ApiModelProperty("接口id")
    private Long configId;
    @ApiModelProperty("接口参数")
    private JSONObject dataParams;
    @ApiModelProperty("接口方法")
    @Size(max = 20, message = "接口方法长度不能超过20")
    private String method;
    @ApiModelProperty("http头")
    private JSONObject headers;
    @ApiModelProperty("可视化大屏的ID")
    @Size(max = 255, message = "可视化大屏的ID长度不能超过255")
    private String visualId;
    @ApiModelProperty("刷新时间")
    private Integer time;
    private Long id;
 
    public void setUrlName(final String urlName) {
        this.urlName = urlName;
    }
 
    public void setUrl(final String url) {
        this.url = url;
    }
 
    public void setConfigId(final Long configId) {
        this.configId = configId;
    }
 
    public void setDataParams(final JSONObject dataParams) {
        this.dataParams = dataParams;
    }
 
    public void setMethod(final String method) {
        this.method = method;
    }
 
    public void setHeaders(final JSONObject headers) {
        this.headers = headers;
    }
 
    public void setVisualId(final String visualId) {
        this.visualId = visualId;
    }
 
    public void setTime(final Integer time) {
        this.time = time;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof VisualGlobalApiVO) {
            VisualGlobalApiVO other = (VisualGlobalApiVO) o;
            if (other.canEqual(this)) {
                Object this$configId = getConfigId();
                Object other$configId = other.getConfigId();
                if (this$configId == null) {
                    if (other$configId != null) {
                        return false;
                    }
                } else if (!this$configId.equals(other$configId)) {
                    return false;
                }
                Object this$time = getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }
                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$urlName = getUrlName();
                Object other$urlName = other.getUrlName();
                if (this$urlName == null) {
                    if (other$urlName != null) {
                        return false;
                    }
                } else if (!this$urlName.equals(other$urlName)) {
                    return false;
                }
                Object this$url = getUrl();
                Object other$url = other.getUrl();
                if (this$url == null) {
                    if (other$url != null) {
                        return false;
                    }
                } else if (!this$url.equals(other$url)) {
                    return false;
                }
                Object this$dataParams = getDataParams();
                Object other$dataParams = other.getDataParams();
                if (this$dataParams == null) {
                    if (other$dataParams != null) {
                        return false;
                    }
                } else if (!this$dataParams.equals(other$dataParams)) {
                    return false;
                }
                Object this$method = getMethod();
                Object other$method = other.getMethod();
                if (this$method == null) {
                    if (other$method != null) {
                        return false;
                    }
                } else if (!this$method.equals(other$method)) {
                    return false;
                }
                Object this$headers = getHeaders();
                Object other$headers = other.getHeaders();
                if (this$headers == null) {
                    if (other$headers != null) {
                        return false;
                    }
                } else if (!this$headers.equals(other$headers)) {
                    return false;
                }
                Object this$visualId = getVisualId();
                Object other$visualId = other.getVisualId();
                return this$visualId == null ? other$visualId == null : this$visualId.equals(other$visualId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof VisualGlobalApiVO;
    }
 
    public int hashCode() {
        Object $configId = getConfigId();
        int result = (1 * 59) + ($configId == null ? 43 : $configId.hashCode());
        Object $time = getTime();
        int result2 = (result * 59) + ($time == null ? 43 : $time.hashCode());
        Object $id = getId();
        int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $urlName = getUrlName();
        int result4 = (result3 * 59) + ($urlName == null ? 43 : $urlName.hashCode());
        Object $url = getUrl();
        int result5 = (result4 * 59) + ($url == null ? 43 : $url.hashCode());
        Object $dataParams = getDataParams();
        int result6 = (result5 * 59) + ($dataParams == null ? 43 : $dataParams.hashCode());
        Object $method = getMethod();
        int result7 = (result6 * 59) + ($method == null ? 43 : $method.hashCode());
        Object $headers = getHeaders();
        int result8 = (result7 * 59) + ($headers == null ? 43 : $headers.hashCode());
        Object $visualId = getVisualId();
        return (result8 * 59) + ($visualId == null ? 43 : $visualId.hashCode());
    }
 
    public String toString() {
        return "VisualGlobalApiVO(urlName=" + getUrlName() + ", url=" + getUrl() + ", configId=" + getConfigId() + ", dataParams=" + getDataParams() + ", method=" + getMethod() + ", headers=" + getHeaders() + ", visualId=" + getVisualId() + ", time=" + getTime() + ", id=" + getId() + ")";
    }
 
    public String getUrlName() {
        return this.urlName;
    }
 
    public String getUrl() {
        return this.url;
    }
 
    public Long getConfigId() {
        return this.configId;
    }
 
    public JSONObject getDataParams() {
        return this.dataParams;
    }
 
    public String getMethod() {
        return this.method;
    }
 
    public JSONObject getHeaders() {
        return this.headers;
    }
 
    public String getVisualId() {
        return this.visualId;
    }
 
    public Integer getTime() {
        return this.time;
    }
 
    public Long getId() {
        return this.id;
    }
}