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

com.plivo.api.models.node.MultiPartyCallUpdatePayload Maven / Gradle / Ivy

Go to download

A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML

There is a newer version: 5.46.0
Show newest version
package com.plivo.api.models.node;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.plivo.api.models.node.MultiPartyCallActionType;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class MultiPartyCallUpdatePayload {

  private String triggerSource;
  private String to;
  private String role;
  private MultiPartyCallActionType action;

  /**
   * @param triggerSource the number triggering the action.
   * @param to            to number.
   * @param role          role of the node.
   * @param action        one of the node action types.
   */
  public MultiPartyCallUpdatePayload(final String triggerSource, final String to,
                                     final String role, final MultiPartyCallActionType action) {
    this.triggerSource = triggerSource;
    this.to = to;
    this.role = role;
    this.action = action;
  }

  public String getTriggerSource() {
    return triggerSource;
  }

  public String getTo() {
    return to;
  }

  public String getRole() {
    return role;
  }

  public MultiPartyCallActionType getAction() {
    return action;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy