PATCH | /sessions/{sessionId}/conference/members/{callSid} |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
/**
* Sets the conference member's hold and or mute status.
*/
@Api(Description="Sets the conference member's hold and or mute status.")
public static class UpdateConferenceMemberStatus
{
/**
* The ID of the active session
*/
@ApiMember(Description="The ID of the active session")
public String sessionId = null;
/**
* The sid of the active call that is on the voice device
*/
@ApiMember(Description="The sid of the active call that is on the voice device")
public String callSid = null;
/**
* Hold?
*/
@ApiMember(Description="Hold?")
public Boolean hold = null;
/**
* Mute?
*/
@ApiMember(Description="Mute?")
public Boolean mute = null;
public String getSessionId() { return sessionId; }
public UpdateConferenceMemberStatus setSessionId(String value) { this.sessionId = value; return this; }
public String getCallSid() { return callSid; }
public UpdateConferenceMemberStatus setCallSid(String value) { this.callSid = value; return this; }
public Boolean isHold() { return hold; }
public UpdateConferenceMemberStatus setHold(Boolean value) { this.hold = value; return this; }
public Boolean isMute() { return mute; }
public UpdateConferenceMemberStatus setMute(Boolean value) { this.mute = value; return this; }
}
}
Java UpdateConferenceMemberStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /sessions/{sessionId}/conference/members/{callSid} HTTP/1.1
Host: team.evovoice.io
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"sessionId":"String","callSid":"String","hold":false,"mute":false}