Package ai.reveng.model
Class DrakvufFileMetadata
java.lang.Object
ai.reveng.model.DrakvufFileMetadata
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class DrakvufFileMetadata
extends Object
DrakvufFileMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DrakvufFileMetadataCreate an instance of DrakvufFileMetadata given an JSON stringGet mimeTypegetName()Get nameGet sha256getType()Get typeGet typeIdinthashCode()voidsetMimeType(String mimeType) voidvoidvoidvoidtoJson()Convert an instance of DrakvufFileMetadata 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_MIME_TYPE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SHA256
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_TYPE_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DrakvufFileMetadata
public DrakvufFileMetadata()
-
-
Method Details
-
mimeType
-
getMimeType
Get mimeType- Returns:
- mimeType
-
setMimeType
-
name
-
getName
Get name- Returns:
- name
-
setName
-
sha256
-
getSha256
Get sha256- Returns:
- sha256
-
setSha256
-
type
-
getType
Get type- Returns:
- type
-
setType
-
typeId
-
getTypeId
Get typeId- Returns:
- typeId
-
setTypeId
-
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 DrakvufFileMetadata
-
fromJson
Create an instance of DrakvufFileMetadata given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DrakvufFileMetadata
- Throws:
IOException- if the JSON string is invalid with respect to DrakvufFileMetadata
-
toJson
Convert an instance of DrakvufFileMetadata to an JSON string- Returns:
- JSON string
-