Class Document
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.whatsapp.platform.message.Document
-
- All Implemented Interfaces:
Serializable
public class Document extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaption()
Caption for the document, if providedString
getFilename()
Name for the file on the sender's deviceString
getId()
ID for the documentString
getMimeType()
Mime type for the documentString
getSha256()
Document hashvoid
setCaption(String caption)
Caption for the document, if providedvoid
setFilename(String filename)
Name for the file on the sender's devicevoid
setId(String id)
ID for the documentvoid
setMimeType(String mimeType)
Mime type for the documentvoid
setSha256(String sha256)
Document hash-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Document
public Document()
-
-
Method Detail
-
getMimeType
public String getMimeType()
Mime type for the document
-
setMimeType
public void setMimeType(String mimeType)
Mime type for the document
-
getCaption
public String getCaption()
Caption for the document, if provided
-
setCaption
public void setCaption(String caption)
Caption for the document, if provided
-
getFilename
public String getFilename()
Name for the file on the sender's device
-
setFilename
public void setFilename(String filename)
Name for the file on the sender's device
-
-