Package com.bandwidth.iris.sdk.model
Class SearchResult
- java.lang.Object
-
- com.bandwidth.iris.sdk.model.SearchResult
-
public class SearchResult extends Object
The root entity returned by IRIS for a local or toll-free number search.If number details were desired (only works for local queries),
telephoneNumberDetailListwill be populated andtelephoneNumberListwill be empty.If details were not desired, the plain list of numbers can be found in
telephoneNumberListandtelephoneNumberDetailListwill be empty.
-
-
Constructor Summary
Constructors Constructor Description SearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorgetError()IntegergetResultCount()List<TelephoneNumberDetail>getTelephoneNumberDetailList()List<String>getTelephoneNumberList()voidsetError(Error error)voidsetResultCount(Integer resultCount)voidsetTelephoneNumberDetailList(List<TelephoneNumberDetail> telephoneNumberDetailList)voidsetTelephoneNumberList(List<String> telephoneNumberList)
-
-
-
Method Detail
-
getError
public Error getError()
-
setError
public void setError(Error error)
-
getResultCount
public Integer getResultCount()
-
setResultCount
public void setResultCount(Integer resultCount)
-
getTelephoneNumberDetailList
public List<TelephoneNumberDetail> getTelephoneNumberDetailList()
-
setTelephoneNumberDetailList
public void setTelephoneNumberDetailList(List<TelephoneNumberDetail> telephoneNumberDetailList)
-
-