Package model
Class UsersListPage
- java.lang.Object
-
- model.UsersListPage
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UsersListPage extends Object
Details the page that's returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsersListPage.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COUNTstatic StringSERIALIZED_NAME_LIMITstatic StringSERIALIZED_NAME_OFFSET
-
Constructor Summary
Constructors Constructor Description UsersListPage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersListPagecount(Long count)booleanequals(Object o)static UsersListPagefromJson(String jsonString)Create an instance of UsersListPage given an JSON stringLonggetCount()The number of entries returned.LonggetLimit()The number of entries to return.LonggetOffset()The number of items to skip before starting to collect the result set.inthashCode()UsersListPagelimit(Long limit)UsersListPageoffset(Long offset)voidsetCount(Long count)voidsetLimit(Long limit)voidsetOffset(Long offset)StringtoJson()Convert an instance of UsersListPage to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_COUNT
public static final String SERIALIZED_NAME_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFSET
public static final String SERIALIZED_NAME_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
count
public UsersListPage count(Long count)
-
setCount
public void setCount(Long count)
-
limit
public UsersListPage limit(Long limit)
-
setLimit
public void setLimit(Long limit)
-
offset
public UsersListPage offset(Long offset)
-
getOffset
@Nullable public Long getOffset()
The number of items to skip before starting to collect the result set.- Returns:
- offset
-
setOffset
public void setOffset(Long offset)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 UsersListPage
-
fromJson
public static UsersListPage fromJson(String jsonString) throws IOException
Create an instance of UsersListPage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsersListPage
- Throws:
IOException- if the JSON string is invalid with respect to UsersListPage
-
toJson
public String toJson()
Convert an instance of UsersListPage to an JSON string- Returns:
- JSON string
-
-