com.mailosaur.models.Attachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailosaur-java Show documentation
Show all versions of mailosaur-java Show documentation
Mailosaur Java Bindings for Email Test Automation
package com.mailosaur.models;
import com.google.api.client.util.Key;
/**
* The Attachment model.
*/
public class Attachment extends BaseModel {
/**
* The id property.
*/
@Key
private String id;
/**
* The contentType property.
*/
@Key
private String contentType;
/**
* The fileName property.
*/
@Key
private String fileName;
/**
* The contentId property.
*/
@Key
private String contentId;
/**
* The length property.
*/
@Key
private Long length;
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Get the contentType value.
*
* @return the contentType value
*/
public String contentType() {
return nullableString(this.contentType);
}
/**
* Get the fileName value.
*
* @return the fileName value
*/
public String fileName() {
return nullableString(this.fileName);
}
/**
* Get the contentId value.
*
* @return the contentId value
*/
public String contentId() {
return nullableString(this.contentId);
}
/**
* Get the length value.
*
* @return the length value
*/
public Long length() {
return this.length;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy