Package com.restfb.types
Class StoryAttachment.Attachments
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.StoryAttachment.Attachments
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StoryAttachment
public static class StoryAttachment.Attachments extends AbstractFacebookType
Represents the list of subattachments that are associated with this attachment. This will have data if the parent attachment is a container for multiple other attachments. For example, a multi-photo story will have a parent attachment representing an upload of multiple photos to an album where each subattachment will contain the actual photos that were uploaded.- Author:
- Kevin Leturc
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Attachments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addData(StoryAttachment attachment)
List<StoryAttachment>
getData()
The attachments.boolean
removeData(StoryAttachment attachment)
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Attachments
public Attachments()
-
-
Method Detail
-
getData
public List<StoryAttachment> getData()
The attachments.- Returns:
- The attachments.
-
addData
public boolean addData(StoryAttachment attachment)
-
removeData
public boolean removeData(StoryAttachment attachment)
-
-