Class MomentTarget
- java.lang.Object
-
- org.springframework.social.google.api.plus.moments.MomentTarget
-
public class MomentTarget extends Object
A moment's target. Construct with a URL of a resource containing metadata as required for the specific activity type. When fetching, the fields will contain the metadata values from that resource.- Author:
- Gabriel Axel
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMomentTarget()MomentTarget(String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudiogetAudio()List<Author>getAuthor()ArtistgetByArtist()DategetDatePublished()StringgetDescription()StringgetDuration()StringgetId()StringgetImage()AlbumgetInAlbum()StringgetName()StringgetText()StringgetUrl()
-
-
-
Constructor Detail
-
MomentTarget
protected MomentTarget()
-
MomentTarget
public MomentTarget(String url)
-
-
Method Detail
-
getUrl
public String getUrl()
-
getId
public String getId()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getImage
public String getImage()
-
getText
public String getText()
-
getDatePublished
public Date getDatePublished()
-
getDuration
public String getDuration()
-
getInAlbum
public Album getInAlbum()
-
getAudio
public Audio getAudio()
-
getByArtist
public Artist getByArtist()
-
-