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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get mimeTypegetName()Get nameGet sha256getType()Get typeGet typeIdinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
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 DrakvufFileMetadata 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 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
-