Package net.avalara.avatax.rest.client
Class FetchResult<T>
java.lang.Object
net.avalara.avatax.rest.client.FetchResult<T>
public class FetchResult<T>
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FetchResult()
FetchResult(int originalRowCount, java.util.List<T> newlist)
Construct this from a different FetchResult, but maintain the count -
Method Summary
Modifier and Type Method Description int
getCount()
java.lang.String
getNextLink()
java.util.List<T>
getValue()
void
setCount(int count)
void
setNextLink(java.lang.String nextLink)
void
setValue(java.util.List<T> value)
java.lang.String
toString()
-
Constructor Details
-
FetchResult
public FetchResult() -
FetchResult
Construct this from a different FetchResult, but maintain the count- Parameters:
originalRowCount
- The original row countnewlist
- The new value
-
-
Method Details
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
getValue
-
setValue
-
getNextLink
public java.lang.String getNextLink() -
setNextLink
public void setNextLink(java.lang.String nextLink) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-