public final class Activity
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google+ API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
Activity.Actor
The person who performed this activity.
|
static class |
Activity.PlusObject
The object of this activity.
|
static class |
Activity.Provider
The service provider that initially published this activity.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
Activity |
clone() |
Acl |
getAccess()
Identifies who has access to see this activity.
|
Activity.Actor |
getActor()
The person who performed this activity.
|
java.lang.String |
getAddress()
Street address where this activity occurred.
|
java.lang.String |
getAnnotation()
Additional content added by the person who shared this activity, applicable only when resharing
an activity.
|
java.lang.String |
getCrosspostSource()
If this activity is a crosspost from another system, this property specifies the ID of the
original activity.
|
java.lang.String |
getEtag()
ETag of this response for caching purposes.
|
java.lang.String |
getGeocode()
Latitude and longitude where this activity occurred.
|
java.lang.String |
getId()
The ID of this activity.
|
java.lang.String |
getKind()
Identifies this resource as an activity.
|
Place |
getLocation()
The location where this activity occurred.
|
Activity.PlusObject |
getObject()
The object of this activity.
|
java.lang.String |
getPlaceId()
ID of the place where this activity occurred.
|
java.lang.String |
getPlaceName()
Name of the place where this activity occurred.
|
Activity.Provider |
getProvider()
The service provider that initially published this activity.
|
com.google.api.client.util.DateTime |
getPublished()
The time at which this activity was initially published.
|
java.lang.String |
getRadius()
Radius, in meters, of the region where this activity occurred, centered at the latitude and
longitude identified in geocode.
|
java.lang.String |
getTitle()
Title of this activity.
|
com.google.api.client.util.DateTime |
getUpdated()
The time at which this activity was last updated.
|
java.lang.String |
getUrl()
The link to this activity.
|
java.lang.String |
getVerb()
This activity's verb, which indicates the action that was performed.
|
Activity |
set(java.lang.String fieldName,
java.lang.Object value) |
Activity |
setAccess(Acl access)
Identifies who has access to see this activity.
|
Activity |
setActor(Activity.Actor actor)
The person who performed this activity.
|
Activity |
setAddress(java.lang.String address)
Street address where this activity occurred.
|
Activity |
setAnnotation(java.lang.String annotation)
Additional content added by the person who shared this activity, applicable only when resharing
an activity.
|
Activity |
setCrosspostSource(java.lang.String crosspostSource)
If this activity is a crosspost from another system, this property specifies the ID of the
original activity.
|
Activity |
setEtag(java.lang.String etag)
ETag of this response for caching purposes.
|
Activity |
setGeocode(java.lang.String geocode)
Latitude and longitude where this activity occurred.
|
Activity |
setId(java.lang.String id)
The ID of this activity.
|
Activity |
setKind(java.lang.String kind)
Identifies this resource as an activity.
|
Activity |
setLocation(Place location)
The location where this activity occurred.
|
Activity |
setObject(Activity.PlusObject object__)
The object of this activity.
|
Activity |
setPlaceId(java.lang.String placeId)
ID of the place where this activity occurred.
|
Activity |
setPlaceName(java.lang.String placeName)
Name of the place where this activity occurred.
|
Activity |
setProvider(Activity.Provider provider)
The service provider that initially published this activity.
|
Activity |
setPublished(com.google.api.client.util.DateTime published)
The time at which this activity was initially published.
|
Activity |
setRadius(java.lang.String radius)
Radius, in meters, of the region where this activity occurred, centered at the latitude and
longitude identified in geocode.
|
Activity |
setTitle(java.lang.String title)
Title of this activity.
|
Activity |
setUpdated(com.google.api.client.util.DateTime updated)
The time at which this activity was last updated.
|
Activity |
setUrl(java.lang.String url)
The link to this activity.
|
Activity |
setVerb(java.lang.String verb)
This activity's verb, which indicates the action that was performed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Acl getAccess()
null for nonepublic Activity setAccess(Acl access)
access - access or null for nonepublic Activity.Actor getActor()
null for nonepublic Activity setActor(Activity.Actor actor)
actor - actor or null for nonepublic java.lang.String getAddress()
null for nonepublic Activity setAddress(java.lang.String address)
address - address or null for nonepublic java.lang.String getAnnotation()
null for nonepublic Activity setAnnotation(java.lang.String annotation)
annotation - annotation or null for nonepublic java.lang.String getCrosspostSource()
null for nonepublic Activity setCrosspostSource(java.lang.String crosspostSource)
crosspostSource - crosspostSource or null for nonepublic java.lang.String getEtag()
null for nonepublic Activity setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getGeocode()
null for nonepublic Activity setGeocode(java.lang.String geocode)
geocode - geocode or null for nonepublic java.lang.String getId()
null for nonepublic Activity setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Activity setKind(java.lang.String kind)
kind - kind or null for nonepublic Place getLocation()
null for nonepublic Activity setLocation(Place location)
location - location or null for nonepublic Activity.PlusObject getObject()
null for nonepublic Activity setObject(Activity.PlusObject object__)
object__ - object__ or null for nonepublic java.lang.String getPlaceId()
null for nonepublic Activity setPlaceId(java.lang.String placeId)
placeId - placeId or null for nonepublic java.lang.String getPlaceName()
null for nonepublic Activity setPlaceName(java.lang.String placeName)
placeName - placeName or null for nonepublic Activity.Provider getProvider()
null for nonepublic Activity setProvider(Activity.Provider provider)
provider - provider or null for nonepublic com.google.api.client.util.DateTime getPublished()
null for nonepublic Activity setPublished(com.google.api.client.util.DateTime published)
published - published or null for nonepublic java.lang.String getRadius()
null for nonepublic Activity setRadius(java.lang.String radius)
radius - radius or null for nonepublic java.lang.String getTitle()
null for nonepublic Activity setTitle(java.lang.String title)
title - title or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Activity setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic java.lang.String getUrl()
null for nonepublic Activity setUrl(java.lang.String url)
url - url or null for nonepublic java.lang.String getVerb()
null for nonepublic Activity setVerb(java.lang.String verb)
verb - verb or null for nonepublic Activity set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Activity clone()
clone in class com.google.api.client.json.GenericJson