package com.qianwen.core.oss.model;
|
|
public class BladeFile {
|
private String link;
|
private String domain;
|
private String name;
|
private String originalName;
|
private Long attachId;
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public void setDomain(final String domain) {
|
this.domain = domain;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setOriginalName(final String originalName) {
|
this.originalName = originalName;
|
}
|
|
public void setAttachId(final Long attachId) {
|
this.attachId = attachId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof BladeFile) {
|
BladeFile other = (BladeFile) o;
|
if (other.canEqual(this)) {
|
Object this$attachId = getAttachId();
|
Object other$attachId = other.getAttachId();
|
if (this$attachId == null) {
|
if (other$attachId != null) {
|
return false;
|
}
|
} else if (!this$attachId.equals(other$attachId)) {
|
return false;
|
}
|
Object this$link = getLink();
|
Object other$link = other.getLink();
|
if (this$link == null) {
|
if (other$link != null) {
|
return false;
|
}
|
} else if (!this$link.equals(other$link)) {
|
return false;
|
}
|
Object this$domain = getDomain();
|
Object other$domain = other.getDomain();
|
if (this$domain == null) {
|
if (other$domain != null) {
|
return false;
|
}
|
} else if (!this$domain.equals(other$domain)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$originalName = getOriginalName();
|
Object other$originalName = other.getOriginalName();
|
return this$originalName == null ? other$originalName == null : this$originalName.equals(other$originalName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof BladeFile;
|
}
|
|
public int hashCode() {
|
Object $attachId = getAttachId();
|
int result = (1 * 59) + ($attachId == null ? 43 : $attachId.hashCode());
|
Object $link = getLink();
|
int result2 = (result * 59) + ($link == null ? 43 : $link.hashCode());
|
Object $domain = getDomain();
|
int result3 = (result2 * 59) + ($domain == null ? 43 : $domain.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $originalName = getOriginalName();
|
return (result4 * 59) + ($originalName == null ? 43 : $originalName.hashCode());
|
}
|
|
public String toString() {
|
return "BladeFile(link=" + getLink() + ", domain=" + getDomain() + ", name=" + getName() + ", originalName=" + getOriginalName() + ", attachId=" + getAttachId() + ")";
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public String getDomain() {
|
return this.domain;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getOriginalName() {
|
return this.originalName;
|
}
|
|
public Long getAttachId() {
|
return this.attachId;
|
}
|
}
|