Package ai.reveng.model
Class ArchiveContentEntry
java.lang.Object
ai.reveng.model.ArchiveContentEntry
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ArchiveContentEntry
extends Object
ArchiveContentEntry
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ArchiveContentEntryCreate an instance of ArchiveContentEntry given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether this entry is password-protectedgetPath()Path relative to the archive rootgetSize()Uncompressed size in bytesinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEncrypted(Boolean encrypted) voidvoidtoJson()Convert an instance of ArchiveContentEntry to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ENCRYPTED
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArchiveContentEntry
public ArchiveContentEntry()
-
-
Method Details
-
encrypted
-
getEncrypted
Whether this entry is password-protected- Returns:
- encrypted
-
setEncrypted
-
path
-
getPath
Path relative to the archive root- Returns:
- path
-
setPath
-
size
-
getSize
Uncompressed size in bytes- Returns:
- size
-
setSize
-
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 ArchiveContentEntry 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 ArchiveContentEntry
-
fromJson
Create an instance of ArchiveContentEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ArchiveContentEntry
- Throws:
IOException- if the JSON string is invalid with respect to ArchiveContentEntry
-
toJson
Convert an instance of ArchiveContentEntry to an JSON string- Returns:
- JSON string
-