package io.github.infolis.model.entity;
import java.util.HashSet;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.github.infolis.model.BaseModel;
/**
* An infolis:File
* @author kba
*/
@JsonIgnoreProperties(ignoreUnknown=true)
@JsonInclude(Include.NON_NULL)
public class InfolisFile extends BaseModel {
private String md5;
private String fileName;
private String mediaType;
private String fileStatus;
private String originalName;
private String manifestsEntity;
public InfolisFile() {
}
@Override
public String toString() {
return String.format("[FILE: %s (type: %s)]", getFileName(), getMediaType());
}
public String getMd5() {
return md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getMediaType() {
return mediaType;
}
public void setMediaType(String mediaType) {
this.mediaType = mediaType;
}
public String getFileStatus() {
return fileStatus;
}
public void setFileStatus(String fileStatus) {
this.fileStatus = fileStatus;
}
public String getOriginalName() {
return originalName;
}
public void setOriginalName(String originalName) {
this.originalName = originalName;
}
public String getManifestsEntity() {
return manifestsEntity;
}
public void setManifestsEntity(String entity) {
this.manifestsEntity = entity;
}
}