Package ai.reveng.model
Class ListArchiveContentsOutputBody
java.lang.Object
ai.reveng.model.ListArchiveContentsOutputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ListArchiveContentsOutputBody
extends Object
ListArchiveContentsOutputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEntriesItem(ArchiveContentEntry entriesItem) entries(List<ArchiveContentEntry> entries) booleanCreate an instance of ListArchiveContentsOutputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Files inside the archive, with paths relative to the archive rootWhether a further page of entries follows this one.getPage()Page number of this response (1-indexed).Number of entries per page.Total number of file entries in the archive, ignoring pagination.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEntries(List<ArchiveContentEntry> entries) voidsetHasNext(Boolean hasNext) voidvoidsetPageSize(Long pageSize) voidsetTotalCount(Long totalCount) toJson()Convert an instance of ListArchiveContentsOutputBody to an JSON stringtoString()totalCount(Long totalCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ENTRIES
- See Also:
-
SERIALIZED_NAME_HAS_NEXT
- See Also:
-
SERIALIZED_NAME_PAGE
- See Also:
-
SERIALIZED_NAME_PAGE_SIZE
- See Also:
-
SERIALIZED_NAME_TOTAL_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListArchiveContentsOutputBody
public ListArchiveContentsOutputBody()
-
-
Method Details
-
entries
-
addEntriesItem
-
getEntries
Files inside the archive, with paths relative to the archive root- Returns:
- entries
-
setEntries
-
hasNext
-
getHasNext
Whether a further page of entries follows this one.- Returns:
- hasNext
-
setHasNext
-
page
-
getPage
Page number of this response (1-indexed).- Returns:
- page
-
setPage
-
pageSize
-
getPageSize
Number of entries per page.- Returns:
- pageSize
-
setPageSize
-
totalCount
-
getTotalCount
Total number of file entries in the archive, ignoring pagination.- Returns:
- totalCount
-
setTotalCount
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ListArchiveContentsOutputBody instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 ListArchiveContentsOutputBody
-
fromJson
Create an instance of ListArchiveContentsOutputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListArchiveContentsOutputBody
- Throws:
IOException- if the JSON string is invalid with respect to ListArchiveContentsOutputBody
-
toJson
Convert an instance of ListArchiveContentsOutputBody to an JSON string- Returns:
- JSON string
-