
com.plivo.api.models.powerpack.FindTollfree 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.Getter;
import retrofit2.Call;
public class FindTollfree extends Getter {
private String tollfree;
private String uuid;
public FindTollfree(String uuid) {
super(uuid);
if (uuid == null) {
throw new IllegalArgumentException("powerpack uuid cannot be null");
}
this.uuid = uuid;
}
public FindTollfree tollfree(String tollfree) {
this.tollfree = tollfree;
return this;
}
@Override
protected Call obtainCall() {
if (tollfree == null) {
throw new IllegalArgumentException("number cannot be null");
}
return client().getApiService().powerpackFindTollfreeGet(client().getAuthId(), uuid, tollfree);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy