com.sinch.sdk.domains.voice.models.requests.ControlUrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
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