All Downloads are FREE. Search and download functionalities are using the official Maven repository.

esendex.sdk.java.model.transfer.message.MessageRequestDto Maven / Gradle / Ivy

Go to download

The Esendex Java SDK is an easy to use client for our REST API that you can use to integrate SMS and Voice messaging into your Java application.

The newest version!

package esendex.sdk.java.model.transfer.message;

// TODO: Auto-generated Javadoc
/**
 * The Class MessageRequest.
 */
public class MessageRequestDto extends AbstractMessageRequestDto {

	private String to;	
	private String body;
	
	public MessageRequestDto() {
	}
	
	/**
	 * Sets the to.
	 * @param to the new to
	 */
	public void setTo(String to) {
		this.to = to;
	}
	/**
	 * Sets the body.
	 * @param body the new body
	 */
	public void setBody(String body) {
		this.body = body;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return super.toString() +
			"\nto: " + to +
			"\nbody: " + body;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy