
com.plivo.api.models.verify.ListVerifiedCallerId 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.verify;
import com.plivo.api.exceptions.PlivoValidationException;
import com.plivo.api.models.base.VoiceGetter;
import retrofit2.Call;
public class ListVerifiedCallerId extends VoiceGetter {
private String country;
private String subaccount;
private String alias;
private Integer limit;
private Integer offset;
public String getCountry() {
return country;
}
public String getSubaccount() {
return subaccount;
}
public String getAlias() {
return alias;
}
public Integer getLimit() {
return limit;
}
public Integer getOffset() {
return offset;
}
public ListVerifiedCallerId country(final String country) {
this.country = country;
return this;
}
public ListVerifiedCallerId subaccount(final String subaccount) {
this.subaccount = subaccount;
return this;
}
public ListVerifiedCallerId alias(final String alias) {
this.alias = alias;
return this;
}
public ListVerifiedCallerId limit(final Integer limit) {
this.limit = limit;
return this;
}
public ListVerifiedCallerId offset(final Integer offset) {
this.offset = offset;
return this;
}
public ListVerifiedCallerId() {
super("");
}
@Override
protected Call obtainCall() throws PlivoValidationException {
return client().getVoiceApiService().listVerifiedCallerID(client().getAuthId(), toMap());
}
@Override
protected Call obtainFallback1Call() throws PlivoValidationException {
return client().getVoiceFallback1Service().listVerifiedCallerID(client().getAuthId(), toMap());
}
@Override
protected Call obtainFallback2Call() throws PlivoValidationException {
return client().getVoiceFallback2Service().listVerifiedCallerID(client().getAuthId(), toMap());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy