ch.loway.oss.ari4java.generated.actions.requests.BridgesPlayWithIdPostRequest 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.actions.requests;
// ----------------------------------------------------
// 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 BridgesPlayWithIdPostRequest {
/**
* @param bridgeId Bridge's id
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setBridgeId(String bridgeId);
/**
* @param skipms Number of milliseconds to skip for forward/reverse operations.
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setSkipms(int skipms);
/**
* @param media Media's URI to play.
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setMedia(String media);
/**
* @param lang For sounds, selects language for sound.
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setLang(String lang);
/**
* @throws RestException an error
* @return Playback
* @since ARI_1_2_0
*/
public Playback execute() throws RestException;
/**
* @param callback AriCallback>Playback<
* @since ARI_1_2_0
*/
public void execute(AriCallback callback);
/**
* @param playbackId Playback ID.
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setPlaybackId(String playbackId);
/**
* @param offsetms Number of media to skip before playing.
* @return BridgesPlayWithIdPostRequest
* @since ARI_1_2_0
*/
public BridgesPlayWithIdPostRequest setOffsetms(int offsetms);
}