Class DocumentMetadata
java.lang.Object
io.camunda.zeebe.gateway.protocol.rest.DocumentMetadata
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-10-11T17:26:39.504605721Z[GMT]",
comments="Generator version: 7.8.0")
public class DocumentMetadata
extends Object
DocumentMetadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The content type of the document.@Valid StringThe date and time when the document expires.The name of the file.getSize()The size of the document in bytes.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContentType(String contentType) voidsetExpiresAt(String expiresAt) voidsetFileName(String fileName) voidtoString()
-
Constructor Details
-
DocumentMetadata
public DocumentMetadata()
-
-
Method Details
-
contentType
-
getContentType
The content type of the document.- Returns:
- contentType
-
setContentType
-
fileName
-
getFileName
The name of the file.- Returns:
- fileName
-
setFileName
-
expiresAt
-
getExpiresAt
The date and time when the document expires.- Returns:
- expiresAt
-
setExpiresAt
-
size
-
getSize
The size of the document 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. -
getAdditionalProperties
Return the additional (undeclared) property. -
getAdditionalProperty
Return the additional (undeclared) property with the specified name. -
equals
-
hashCode
public int hashCode() -
toString
-