Class Document

java.lang.Object
com.whatsapp.api.domain.messages.Document

public class Document extends Object
The type Document.
  • Constructor Details

    • Document

      public Document(String id, String link, String fileName)
      Instantiates a new Document.
      Parameters:
      id - the id
      link - the link
      fileName - the file name
    • Document

      public Document()
      Instantiates a new Document.
  • Method Details

    • getId

      public String getId()
      Gets id.
      Returns:
      the id
    • setId

      public Document setId(String id)
      Sets id.
      Parameters:
      id - the id
      Returns:
      the id
    • getLink

      public String getLink()
      Gets link.
      Returns:
      the link
    • setLink

      public Document setLink(String link)
      Sets link.
      Parameters:
      link - the link
      Returns:
      the link
    • getFileName

      public String getFileName()
      Gets file name.
      Returns:
      the file name
    • setFileName

      public Document setFileName(String fileName)
      Sets file name.
      Parameters:
      fileName - the file name
      Returns:
      the file name