Class DocumentUpdate


  • public final class DocumentUpdate
    extends Object
    The DocumentUpdate model.
    • Constructor Detail

      • DocumentUpdate

        public DocumentUpdate()
    • Method Detail

      • getCollection

        public String getCollection()
        Get the collection property: Uniquely identify a collection.
        Returns:
        the collection value.
      • setCollection

        public DocumentUpdate setCollection​(String collection)
        Set the collection property: Uniquely identify a collection.
        Parameters:
        collection - the collection value to set.
        Returns:
        the DocumentUpdate object itself.
      • getFileName

        public String getFileName()
        Get the fileName property: Optional filename of the file.
        Returns:
        the fileName value.
      • setFileName

        public DocumentUpdate setFileName​(String fileName)
        Set the fileName property: Optional filename of the file.
        Parameters:
        fileName - the fileName value to set.
        Returns:
        the DocumentUpdate object itself.
      • getExpiryTime

        public java.time.OffsetDateTime getExpiryTime()
        Get the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted. Defaults to no expiry.
        Returns:
        the expiryTime value.
      • setExpiryTime

        public DocumentUpdate setExpiryTime​(java.time.OffsetDateTime expiryTime)
        Set the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted. Defaults to no expiry.
        Parameters:
        expiryTime - the expiryTime value to set.
        Returns:
        the DocumentUpdate object itself.
      • isConfirmed

        public Boolean isConfirmed()
        Get the isConfirmed property: The isConfirmed property.
        Returns:
        the isConfirmed value.
      • setIsConfirmed

        public DocumentUpdate setIsConfirmed​(Boolean isConfirmed)
        Set the isConfirmed property: The isConfirmed property.
        Parameters:
        isConfirmed - the isConfirmed value to set.
        Returns:
        the DocumentUpdate object itself.
      • isRejected

        public Boolean isRejected()
        Get the isRejected property: The isRejected property.
        Returns:
        the isRejected value.
      • setIsRejected

        public DocumentUpdate setIsRejected​(Boolean isRejected)
        Set the isRejected property: The isRejected property.
        Parameters:
        isRejected - the isRejected value to set.
        Returns:
        the DocumentUpdate object itself.
      • isArchived

        public Boolean isArchived()
        Get the isArchived property: The isArchived property.
        Returns:
        the isArchived value.
      • setIsArchived

        public DocumentUpdate setIsArchived​(Boolean isArchived)
        Set the isArchived property: The isArchived property.
        Parameters:
        isArchived - the isArchived value to set.
        Returns:
        the DocumentUpdate object itself.
      • getLanguage

        public String getLanguage()
        Get the language property: Language code in ISO 639-1 format. Must specify zh-cn or zh-tw for Chinese.
        Returns:
        the language value.
      • setLanguage

        public DocumentUpdate setLanguage​(String language)
        Set the language property: Language code in ISO 639-1 format. Must specify zh-cn or zh-tw for Chinese.
        Parameters:
        language - the language value to set.
        Returns:
        the DocumentUpdate object itself.
      • getIdentifier

        public String getIdentifier()
        Get the identifier property: Specify a custom identifier for the document.
        Returns:
        the identifier value.
      • setIdentifier

        public DocumentUpdate setIdentifier​(String identifier)
        Set the identifier property: Specify a custom identifier for the document.
        Parameters:
        identifier - the identifier value to set.
        Returns:
        the DocumentUpdate object itself.