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

esendex.sdk.java.model.domain.request.VoiceMessageCollectionRequest 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.request;

import java.util.List;

import esendex.sdk.java.model.domain.impl.MessageCollectionRequest;
import esendex.sdk.java.model.types.MessageLanguage;
import esendex.sdk.java.model.types.MessageType;

public class VoiceMessageCollectionRequest extends MessageCollectionRequest {

	private MessageLanguage messageLanguage;
	private Integer retries;

	public VoiceMessageCollectionRequest(
			String account, List messages) {
		super(account, messages, MessageType.VOICE);
	}

	public VoiceMessageCollectionRequest(
			String account, VoiceMessageRequest message) {
		super(account, message, MessageType.VOICE);
	}

	public MessageLanguage getMessageLanguage() {
		return messageLanguage;
	}

	public Integer getRetries() {
		return retries;
	}

	public void setMessageLanguage(MessageLanguage messageLanguage) {
		this.messageLanguage = messageLanguage;
	}

	public void setRetries(Integer retries) {
		this.retries = retries;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return super.toString() +
			"\nmessageLanguage: " + messageLanguage +
			"\nretries: " + retries;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy