Class RetiredDataProductReleasesLatestPager
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.RetiredDataProductReleasesLatestPager
-
public class RetiredDataProductReleasesLatestPager extends java.lang.ObjectRetiredDataProductReleasesLatestPager can be used to simplify the use of the "listRetiredDataProductReleasesLatest" method.
-
-
Constructor Summary
Constructors Constructor Description RetiredDataProductReleasesLatestPager(Dph client, ListRetiredDataProductReleasesLatestOptions options)Constructs a new RetiredDataProductReleasesLatestPager instance with the specified client and options model instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DataProductReleaseSummary>getAll()Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.java.util.List<DataProductReleaseSummary>getNext()Returns the next page of results.booleanhasNext()Returns true if there are more results to be retrieved.
-
-
-
Constructor Detail
-
RetiredDataProductReleasesLatestPager
public RetiredDataProductReleasesLatestPager(Dph client, ListRetiredDataProductReleasesLatestOptions options)
Constructs a new RetiredDataProductReleasesLatestPager instance with the specified client and options model instance.- Parameters:
client- the Dph instance to be used to invoke the "listRetiredDataProductReleasesLatest" methodoptions- the ListRetiredDataProductReleasesLatestOptions instance to be used to invoke the "listRetiredDataProductReleasesLatest" method
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if there are more results to be retrieved.- Returns:
- boolean
-
getNext
public java.util.List<DataProductReleaseSummary> getNext()
Returns the next page of results.- Returns:
- a List<DataProductReleaseSummary> that contains the next page of results
-
getAll
public java.util.List<DataProductReleaseSummary> getAll()
Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.- Returns:
- a List<DataProductReleaseSummary> containing all results returned by the "listRetiredDataProductReleasesLatest" method
-
-