Package com.affinda.api.client.models
Class PaginatedResponse
- java.lang.Object
-
- com.affinda.api.client.models.PaginatedResponse
-
- Direct Known Subclasses:
Paths18Wh2VcV3InvitationsGetResponses200ContentApplicationJsonSchema,Paths1D5Zg6MV3AnnotationsGetResponses200ContentApplicationJsonSchema,Paths26Civ0V3ApiUsersGetResponses200ContentApplicationJsonSchema,PathsMnwxgV3DataPointChoicesGetResponses200ContentApplicationJsonSchema,PathsOxm5M7V3DocumentsGetResponses200ContentApplicationJsonSchema,PathsQ5Os5RV3OrganizationMembershipsGetResponses200ContentApplicationJsonSchema,PathsVz5Kj2V3ResthookSubscriptionsGetResponses200ContentApplicationJsonSchema,PathsZ1JuagV3WorkspaceMembershipsGetResponses200ContentApplicationJsonSchema
public class PaginatedResponse extends Object
The PaginatedResponse model.
-
-
Constructor Summary
Constructors Constructor Description PaginatedResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Get the count property: Number of items in results.StringgetNext()Get the next property: URL to request next page of results.StringgetPrevious()Get the previous property: URL to request previous page of results.PaginatedResponsesetCount(int count)Set the count property: Number of items in results.PaginatedResponsesetNext(String next)Set the next property: URL to request next page of results.PaginatedResponsesetPrevious(String previous)Set the previous property: URL to request previous page of results.
-
-
-
Method Detail
-
getCount
public int getCount()
Get the count property: Number of items in results.- Returns:
- the count value.
-
setCount
public PaginatedResponse setCount(int count)
Set the count property: Number of items in results.- Parameters:
count- the count value to set.- Returns:
- the PaginatedResponse object itself.
-
getNext
public String getNext()
Get the next property: URL to request next page of results.- Returns:
- the next value.
-
setNext
public PaginatedResponse setNext(String next)
Set the next property: URL to request next page of results.- Parameters:
next- the next value to set.- Returns:
- the PaginatedResponse object itself.
-
getPrevious
public String getPrevious()
Get the previous property: URL to request previous page of results.- Returns:
- the previous value.
-
setPrevious
public PaginatedResponse setPrevious(String previous)
Set the previous property: URL to request previous page of results.- Parameters:
previous- the previous value to set.- Returns:
- the PaginatedResponse object itself.
-
-