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

com.plivo.api.xml.SayAs 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.xml;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlValue;

@XmlRootElement(name = "say-as")
public class SayAs extends PlivoXml implements EmphasisNestable,
                                               LangNestable,
                                               PNestable,
                                               ProsodyNestable,
                                               SNestable,
                                               SpeakNestable,
                                               WNestable {

  @XmlValue
  private String content;

  @XmlAttribute(name="interpret-as")
  private String interpretAs;

  @XmlAttribute
  private String format;

  public SayAs() {
  }

  public SayAs(String content) {
    this.content = content;
  }

  public SayAs(String content, String interpretAs) {
    this.content = content;
    this.interpretAs = interpretAs;
  }

  public SayAs(String content, String interpretAs, String format) {
    this.content = content;
    this.interpretAs = interpretAs;
    this.format = format;
  }

  public String getInterpretAs() {
    return this.interpretAs;
  }

  public String getFormat() {
    return this.format;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy