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;
|
}
|
}
|