Package com.datarobot.model
Class Paged
- java.lang.Object
-
- com.datarobot.model.Paged
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AIList,DatasetList,LearningSessionList,OutputList,StatusList
public class Paged extends java.lang.Object implements java.io.SerializableA base class inherited by otherListobjects that add Paging capabilities through properties such ascount,previous, andnext.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Paged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)internalintgetCount()For DataRobot AI API list objects, this property will indicate the URL of the current page.java.lang.StringgetNext()For DataRobot AI API list objects, this property will indicate the URL of the next page.java.lang.StringgetPrevious()For DataRobot AI API list objects, this property will indicate the URL of the previous page.inthashCode()internaljava.lang.StringtoString()
-
-
-
Method Detail
-
getCount
public int getCount()
For DataRobot AI API list objects, this property will indicate the URL of the current page.- Returns:
- The current page number.
-
getPrevious
public java.lang.String getPrevious()
For DataRobot AI API list objects, this property will indicate the URL of the previous page.- Returns:
- The previous page.
-
getNext
public java.lang.String getNext()
For DataRobot AI API list objects, this property will indicate the URL of the next page.- Returns:
- The next page.
-
hashCode
public int hashCode()
internal- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
internal- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-