Class ScheduleExecutionPageResponse
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.ScheduleExecutionPageResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ScheduleExecutionPageResponse
extends Object
One page of a schedule's executions, latest due first.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContentItem(ScheduleExecutionResponse contentItem) content(List<ScheduleExecutionResponse> content) booleanCreate an instance of ScheduleExecutionPageResponse given an JSON stringThe page's executions, latest due first.getPage()Zero-based page index.getSize()Page size requested.Every execution of the schedule.Number of pages.inthashCode()voidsetContent(List<ScheduleExecutionResponse> content) voidvoidvoidsetTotalElements(Long totalElements) voidsetTotalPages(Integer totalPages) toJson()Convert an instance of ScheduleExecutionPageResponse to an JSON stringtoString()totalElements(Long totalElements) totalPages(Integer totalPages) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundstatic voidvalidateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare.
-
Field Details
-
SERIALIZED_NAME_CONTENT
- See Also:
-
SERIALIZED_NAME_PAGE
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_TOTAL_ELEMENTS
- See Also:
-
SERIALIZED_NAME_TOTAL_PAGES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScheduleExecutionPageResponse
public ScheduleExecutionPageResponse()
-
-
Method Details
-
content
-
addContentItem
-
getContent
The page's executions, latest due first.- Returns:
- content
-
setContent
-
page
-
getPage
Zero-based page index.- Returns:
- page
-
setPage
-
size
-
getSize
Page size requested.- Returns:
- size
-
setSize
-
totalElements
-
getTotalElements
Every execution of the schedule.- Returns:
- totalElements
-
setTotalElements
-
totalPages
-
getTotalPages
Number of pages.- Returns:
- totalPages
-
setTotalPages
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ScheduleExecutionPageResponse
-
validateJsonElementAsCandidate
public static void validateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) throws IOException Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare. A oneOf schema without a discriminator tells its candidates apart by their member sets, so a candidate is matched on its closed member set.- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is not a ScheduleExecutionPageResponse
-
fromJson
Create an instance of ScheduleExecutionPageResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduleExecutionPageResponse
- Throws:
IOException- if the JSON string is invalid with respect to ScheduleExecutionPageResponse
-
toJson
Convert an instance of ScheduleExecutionPageResponse to an JSON string- Returns:
- JSON string
-