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

com.ringcentral.definitions.SuperviseCallSessionResponse Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


public class SuperviseCallSessionResponse {
    /**
     *
     */
    public PartyInfo from;
    /**
     *
     */
    public PartyInfo to;
    /**
     * Direction of a call
     * Enum: Outbound, Inbound
     */
    public String direction;
    /**
     * Internal identifier of a party that monitors a call
     */
    public String id;
    /**
     * Internal identifier of an account that monitors a call
     */
    public String accountId;
    /**
     * Internal identifier of an extension that monitors a call
     */
    public String extensionId;
    /**
     * Specifies if a call participant is muted or not. **Note:** If a call is also controlled via Hard phone or RingCentral App (not only through the API by calling call control methods) then it cannot be fully muted/unmuted via API only, in this case the action should be duplicated via Hard phone/RC App interfaces
     */
    public Boolean muted;
    /**
     *
     */
    public OwnerInfo owner;
    /**
     * If 'True' then the party is not connected to a session voice conference, 'False' means the party is connected to other parties in a session
     */
    public Boolean standAlone;
    /**
     *
     */
    public CallStatusInfo status;

    public SuperviseCallSessionResponse from(PartyInfo from) {
        this.from = from;
        return this;
    }

    public SuperviseCallSessionResponse to(PartyInfo to) {
        this.to = to;
        return this;
    }

    public SuperviseCallSessionResponse direction(String direction) {
        this.direction = direction;
        return this;
    }

    public SuperviseCallSessionResponse id(String id) {
        this.id = id;
        return this;
    }

    public SuperviseCallSessionResponse accountId(String accountId) {
        this.accountId = accountId;
        return this;
    }

    public SuperviseCallSessionResponse extensionId(String extensionId) {
        this.extensionId = extensionId;
        return this;
    }

    public SuperviseCallSessionResponse muted(Boolean muted) {
        this.muted = muted;
        return this;
    }

    public SuperviseCallSessionResponse owner(OwnerInfo owner) {
        this.owner = owner;
        return this;
    }

    public SuperviseCallSessionResponse standAlone(Boolean standAlone) {
        this.standAlone = standAlone;
        return this;
    }

    public SuperviseCallSessionResponse status(CallStatusInfo status) {
        this.status = status;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy