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

com.sinch.sdk.domains.voice.models.requests.ControlUrl Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.sinch.sdk.domains.voice.models.requests;

/**
 * Control URL used during a custom callout
 *
 * @see Custom
 *     Callout Description
 */
public class ControlUrl extends Control {

  private final String URL;

  private ControlUrl(String URL) {
    this.URL = URL;
  }

  /**
   * @see #from(String)
   */
  public String getURL() {
    return URL;
  }

  @Override
  public String toString() {
    return "ControlUrl{" + "URL='" + URL + '\'' + "} " + super.toString();
  }

  /**
   * Create a Custom URL instance from String
   *
   * @param URL URL representation
   * @return A newly created instance
   */
  public static ControlUrl from(String URL) {
    return new ControlUrl(URL);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy