Class DocumentReference


  • public class DocumentReference
    extends Object
    DocumentReference
    • Constructor Detail

      • DocumentReference

        public DocumentReference()
    • Method Detail

      • getActive

        public Boolean getActive()
        Identifies whether the document is active and used for checks.
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
        Identifies whether the document is active and used for checks.
        Parameters:
        active -
      • getDescription

        public String getDescription()
        Your description for the document.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Your description for the document.
        Parameters:
        description -
      • getFileName

        public String getFileName()
        Document name.
        Returns:
        fileName
      • setFileName

        public void setFileName​(String fileName)
        Document name.
        Parameters:
        fileName -
      • getId

        public String getId()
        The unique identifier of the resource.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the resource.
        Parameters:
        id -
      • getModificationDate

        public OffsetDateTime getModificationDate()
        The modification date of the document.
        Returns:
        modificationDate
      • setModificationDate

        public void setModificationDate​(OffsetDateTime modificationDate)
        The modification date of the document.
        Parameters:
        modificationDate -
      • getPages

        public List<DocumentPage> getPages()
        List of document pages
        Returns:
        pages
      • setPages

        public void setPages​(List<DocumentPage> pages)
        List of document pages
        Parameters:
        pages -
      • getType

        public String getType()
        Type of document, used when providing an ID number or uploading a document.
        Returns:
        type
      • setType

        public void setType​(String type)
        Type of document, used when providing an ID number or uploading a document.
        Parameters:
        type -
      • equals

        public boolean equals​(Object o)
        Return true if this DocumentReference object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static DocumentReference fromJson​(String jsonString)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DocumentReference given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DocumentReference
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DocumentReference
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of DocumentReference to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException