
com.mailosaur.models.MessageContent 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 java.util.List;
import com.google.api.client.util.Key;
/**
* The content of the message.
*/
public class MessageContent extends BaseModel {
/**
* Any hyperlinks found within this content.
*/
@Key
private List links;
/**
* Any verification codes found within this content.
*/
@Key
private List codes;
/**
* Any images found within this content.
*/
@Key
private List images;
/**
* The HTML or plain text body of the message.
*/
@Key
private String body;
/**
* Gets any hyperlinks found within this content.
*
* @return Any hyperlinks found within this content.
*/
public List links() {
return this.links;
}
/**
* Gets any verification codes found within this content.
*
* @return Any verification codes found within this content.
*/
public List codes() {
return this.codes;
}
/**
* Gets any images found within this content.
*
* @return Any images found within this content.
*/
public List images() {
return this.images;
}
/**
* Gets the HTML or plain text body of the message.
*
* @return The HTML or plain text body of the message.
*/
public String body() {
return nullableString(this.body);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy