esendex.sdk.java.model.transfer.message.MessageRequestDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
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;
}
}