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

esendex.sdk.java.model.domain.impl.InboxMessageResponseImpl 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.domain.impl;

import java.util.Date;

import esendex.sdk.java.model.domain.response.InboxMessageResponse;

/**
 * An InboxMessageResponse.
 */
public class InboxMessageResponseImpl extends MessageResponseImpl implements InboxMessageResponse {

	private Date receivedAt;
	private Date readAt;
	private String readBy;
	
	public InboxMessageResponseImpl() {
	}

	public Date getReceivedAt() {
		return receivedAt;
	}

	public Date getReadAt() {
		return readAt;
	}

	public String getReadBy() {
		return readBy;
	}

	protected void setReceivedAt(Date receivedAt) {
		this.receivedAt = receivedAt;
	}

	protected void setReadAt(Date readAt) {
		this.readAt = readAt;
	}

	protected void setReadBy(String readBy) {
		this.readBy = readBy;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return 
			super.toString() +
			"\nreceivedat: " + getReceivedAt() +
			"\nreadat: " + getReadAt() +
			"\nreadby: " + getReadBy();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy