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 Details

    • DocumentMetadata

      public DocumentMetadata()
  • Method Details

    • contentType

      public DocumentMetadata contentType(String contentType)
    • getContentType

      public String getContentType()
      The content type of the document.
      Returns:
      contentType
    • setContentType

      public void setContentType(String contentType)
    • fileName

      public DocumentMetadata fileName(String fileName)
    • getFileName

      public String getFileName()
      The name of the file.
      Returns:
      fileName
    • setFileName

      public void setFileName(String fileName)
    • expiresAt

      public DocumentMetadata expiresAt(String expiresAt)
    • getExpiresAt

      @Valid public @Valid String getExpiresAt()
      The date and time when the document expires.
      Returns:
      expiresAt
    • setExpiresAt

      public void setExpiresAt(String expiresAt)
    • size

      public DocumentMetadata size(Long size)
    • getSize

      public Long getSize()
      The size of the document in bytes.
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • putAdditionalProperty

      public DocumentMetadata putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object