Package com.restfb.types
Class Message.AttachmentData
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Message.AttachmentData
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Message.ImageData
,Message.VideoData
- Enclosing class:
- Message
public abstract static class Message.AttachmentData extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachmentData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
The image's height.String
getPreviewUrl()
The image's preview url.String
getUrl()
The image's url.int
getWidth()
The image's width.void
setHeight(int height)
The image's height.void
setPreviewUrl(String previewUrl)
The image's preview url.void
setUrl(String url)
The image's url.void
setWidth(int width)
The image's width.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
AttachmentData
public AttachmentData()
-
-
Method Detail
-
getWidth
public int getWidth()
The image's width.- Returns:
- The image's width.
-
setWidth
public void setWidth(int width)
The image's width.
-
getHeight
public int getHeight()
The image's height.- Returns:
- The image's height.
-
setHeight
public void setHeight(int height)
The image's height.
-
getPreviewUrl
public String getPreviewUrl()
The image's preview url.- Returns:
- The image's preview url.
-
setPreviewUrl
public void setPreviewUrl(String previewUrl)
The image's preview url.
-
-