ch.loway.oss.ari4java.generated.models.TextMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ari4java Show documentation
Show all versions of ari4java Show documentation
Asterisk ARI interface bindings for Java
package ch.loway.oss.ari4java.generated.models;
// ----------------------------------------------------
// THIS CLASS WAS GENERATED AUTOMATICALLY
// PLEASE DO NOT EDIT
// Generated on: Mon Jul 11 11:00:31 SAST 2022
// ----------------------------------------------------
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.ArrayList;
import ch.loway.oss.ari4java.tools.*;
import ch.loway.oss.ari4java.tools.tags.EventSource;
import ch.loway.oss.ari4java.generated.actions.requests.*;
import ch.loway.oss.ari4java.generated.models.Module;
import ch.loway.oss.ari4java.generated.models.*;
/** Generated by: JavaInterface */
public interface TextMessage {
/**
* @param val The text of the message.
* @since ARI_1_5_0
*/
public void setBody(String val);
/**
* @param val Technology specific key/value pairs (JSON object) associated with the message.
* @since ARI_1_11_2
*/
public void setVariables(Object val);
/**
* Technology specific key/value pairs associated with the message.
*
* @return List>TextMessageVariable<
* @since ARI_1_5_0
*/
public List getVariablesList();
/**
* The text of the message.
*
* @return String
* @since ARI_1_5_0
*/
public String getBody();
/**
* @param val A technology specific URI specifying the destination of the message. Valid
* technologies include sip, pjsip, and xmp. The destination of a message should be an
* endpoint.
* @since ARI_1_5_0
*/
public void setTo(String val);
/**
* @param val A technology specific URI specifying the source of the message. For sip and pjsip
* technologies, any SIP URI can be specified. For xmpp, the URI must correspond to the client
* connection being used to send the message.
* @since ARI_1_5_0
*/
public void setFrom(String val);
/**
* A technology specific URI specifying the destination of the message. Valid technologies include
* sip, pjsip, and xmp. The destination of a message should be an endpoint.
*
* @return String
* @since ARI_1_5_0
*/
public String getTo();
/**
* @param val Technology specific key/value pairs associated with the message.
* @since ARI_1_5_0
*/
public void setVariablesList(List val);
/**
* A technology specific URI specifying the source of the message. For sip and pjsip technologies,
* any SIP URI can be specified. For xmpp, the URI must correspond to the client connection being
* used to send the message.
*
* @return String
* @since ARI_1_5_0
*/
public String getFrom();
/**
* Technology specific key/value pairs (JSON object) associated with the message.
*
* @return Object
* @since ARI_1_11_2
*/
public Object getVariables();
}