org.tiogasolutions.notify.pub.attachment.AttachmentInfo Maven / Gradle / Ivy
package org.tiogasolutions.notify.pub.attachment;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* User: Harlan
* Date: 2/7/2015
* Time: 5:28 PM
*/
public class AttachmentInfo {
private final String name;
private final String contentType;
public AttachmentInfo(@JsonProperty("name") String name, @JsonProperty("contentType") String contentType) {
this.name = name;
this.contentType = contentType;
}
public String getName() {
return name;
}
public String getContentType() {
return contentType;
}
}