Package ai.promoted.delivery.model
Class Paging
- java.lang.Object
-
- ai.promoted.delivery.model.Paging
-
public class Paging extends Object
Paging
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURSORstatic StringJSON_PROPERTY_OFFSETstatic StringJSON_PROPERTY_PAGING_IDstatic StringJSON_PROPERTY_SIZE
-
Constructor Summary
Constructors Constructor Description Paging()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pagingcursor(String cursor)booleanequals(Object o)Return true if this Paging object is equal to o.StringgetCursor()Get cursorIntegergetOffset()Get offsetStringgetPagingId()Get pagingIdIntegergetSize()Get sizeinthashCode()Pagingoffset(Integer offset)PagingpagingId(String pagingId)voidsetCursor(String cursor)voidsetOffset(Integer offset)voidsetPagingId(String pagingId)voidsetSize(Integer size)Pagingsize(Integer size)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PAGING_ID
public static final String JSON_PROPERTY_PAGING_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURSOR
public static final String JSON_PROPERTY_CURSOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OFFSET
public static final String JSON_PROPERTY_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPagingId
public String getPagingId()
Get pagingId- Returns:
- pagingId
-
setPagingId
public void setPagingId(String pagingId)
-
getCursor
public String getCursor()
Get cursor- Returns:
- cursor
-
setCursor
public void setCursor(String cursor)
-
getSize
public Integer getSize()
Get size- Returns:
- size
-
setSize
public void setSize(Integer size)
-
getOffset
public Integer getOffset()
Get offset- Returns:
- offset
-
setOffset
public void setOffset(Integer offset)
-
equals
public boolean equals(Object o)
Return true if this Paging object is equal to o.
-
-