Class DocumentMetadata
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-28T16:53:53.401346729Z[GMT]",
comments="Generator version: 7.8.0")
public class DocumentMetadata
extends HashMap<String,Object>
DocumentMetadata
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanThe content type of the document.The date and time when the document expires.The name of the file.getSize()The size of the document in bytes.inthashCode()voidsetContentType(String contentType) voidsetExpiresAt(String expiresAt) voidsetFileName(String fileName) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
JSON_PROPERTY_CONTENT_TYPE
- See Also:
-
JSON_PROPERTY_FILE_NAME
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-