Class ItemPage<T>

  • Type Parameters:
    T - The type of the object stored within the ItemPage 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()  
    • Constructor Detail

      • ItemPage

        public ItemPage()
    • Method Detail

      • getElements

        public java.util.List<T> getElements()
        Specified by:
        getElements in interface com.azure.android.core.util.paging.Page<java.lang.String,​T>
      • getContinuationToken

        public java.lang.String getContinuationToken()
        Specified by:
        getContinuationToken in interface com.azure.android.core.util.paging.Page<java.lang.String,​T>