Package model
Class PageCursor
java.lang.Object
model.PageCursor
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class PageCursor
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PageCursorCreate an instance of PageCursor given an JSON stringgetLimit()The number of entries to return.The cursor to use for the next page of results.inthashCode()nextCursor(String nextCursor) voidvoidsetNextCursor(String nextCursor) toJson()Convert an instance of PageCursor to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LIMIT
- See Also:
-
SERIALIZED_NAME_NEXT_CURSOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PageCursor
public PageCursor()
-
-
Method Details
-
limit
-
getLimit
The number of entries to return.- Returns:
- limit
-
setLimit
-
nextCursor
-
getNextCursor
The cursor to use for the next page of results.- Returns:
- nextCursor
-
setNextCursor
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to PageCursor
-
fromJson
Create an instance of PageCursor given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PageCursor
- Throws:
IOException- if the JSON string is invalid with respect to PageCursor
-
toJson
Convert an instance of PageCursor to an JSON string- Returns:
- JSON string
-