
com.plivo.api.models.powerpack.RemoveShortcode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.models.powerpack;
import com.plivo.api.models.base.Deleter;
import okhttp3.ResponseBody;
public class RemoveShortcode extends Deleter {
private String shortcode;
public RemoveShortcode(String id) {
super(id);
if (id == null) {
throw new IllegalArgumentException("powerpack uuid cannot be null");
}
this.id = id;
}
public RemoveShortcode shortcode(final String shortcode) {
this.shortcode = shortcode;
return this;
}
@Override
protected retrofit2.Call obtainCall() {
return client().getApiService().powerpackShortcodeDelete(client().getAuthId(), id, shortcode, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy