
com.plivo.api.models.powerpack.RemoveTollfree 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 RemoveTollfree extends Deleter {
private Boolean unrent;
private String number;
private String tollfree;
public RemoveTollfree(String id) {
super(id);
if (id == null) {
throw new IllegalArgumentException("powerpack uuid cannot be null");
}
this.id = id;
this.unrent = Boolean.FALSE;
}
public Boolean unrent() {
return this.unrent;
}
/**
* @param unrent Specify if the powerpack numbers should be unrent_numbers or not.
*/
public RemoveTollfree unrent(final Boolean unrent) {
this.unrent = unrent;
return this;
}
public RemoveTollfree tollfree(final String tollfree) {
this.tollfree = tollfree;
return this;
}
@Override
protected retrofit2.Call obtainCall() {
return client().getApiService().powerpackTollfreeDelete(client().getAuthId(), id, tollfree, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy