Class ItemPage<T>
- java.lang.Object
-
- com.azure.android.core.rest.implementation.ItemPage<T>
-
- Type Parameters:
T
- The type of the object stored within theItemPage
instance
- All Implemented Interfaces:
com.azure.android.core.util.paging.Page<java.lang.String,T>
public class ItemPage<T> extends java.lang.Object implements com.azure.android.core.util.paging.Page<java.lang.String,T>
Base class that is able to deserialize a Page JSON response. The JSON formats that it understands are: { "nextLink": "", "value": [{ serialized(T) }, ... ] } or { "nextPageLink": "", "items": [{ serialized(T) }, ... ] } or any other cases where the property names of that type are swapped
-
-
Constructor Summary
Constructors Constructor Description ItemPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContinuationToken()
java.util.List<T>
getElements()
-
-
-
Method Detail
-
getElements
public java.util.List<T> getElements()
- Specified by:
getElements
in interfacecom.azure.android.core.util.paging.Page<java.lang.String,T>
-
getContinuationToken
public java.lang.String getContinuationToken()
- Specified by:
getContinuationToken
in interfacecom.azure.android.core.util.paging.Page<java.lang.String,T>
-
-