public static final class Activity.PlusObject.StatusForViewer extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Activity.PlusObject.StatusForViewer() |
Modifier and Type | Method and Description |
---|---|
Activity.PlusObject.StatusForViewer |
clone() |
Boolean |
getCanComment()
Whether the viewer can comment on the activity.
|
Boolean |
getCanPlusone()
Whether the viewer can +1 the activity.
|
Boolean |
getIsPlusOned()
Whether the viewer has +1'd the activity.
|
Boolean |
getResharingDisabled()
Whether reshares are disabled for the activity.
|
Activity.PlusObject.StatusForViewer |
set(String fieldName,
Object value) |
Activity.PlusObject.StatusForViewer |
setCanComment(Boolean canComment)
Whether the viewer can comment on the activity.
|
Activity.PlusObject.StatusForViewer |
setCanPlusone(Boolean canPlusone)
Whether the viewer can +1 the activity.
|
Activity.PlusObject.StatusForViewer |
setIsPlusOned(Boolean isPlusOned)
Whether the viewer has +1'd the activity.
|
Activity.PlusObject.StatusForViewer |
setResharingDisabled(Boolean resharingDisabled)
Whether reshares are disabled for the activity.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getCanComment()
null
for nonepublic Activity.PlusObject.StatusForViewer setCanComment(Boolean canComment)
canComment
- canComment or null
for nonepublic Boolean getCanPlusone()
null
for nonepublic Activity.PlusObject.StatusForViewer setCanPlusone(Boolean canPlusone)
canPlusone
- canPlusone or null
for nonepublic Boolean getIsPlusOned()
null
for nonepublic Activity.PlusObject.StatusForViewer setIsPlusOned(Boolean isPlusOned)
isPlusOned
- isPlusOned or null
for nonepublic Boolean getResharingDisabled()
null
for nonepublic Activity.PlusObject.StatusForViewer setResharingDisabled(Boolean resharingDisabled)
resharingDisabled
- resharingDisabled or null
for nonepublic Activity.PlusObject.StatusForViewer set(String fieldName, Object value)
set
in class GenericJson
public Activity.PlusObject.StatusForViewer clone()
clone
in class GenericJson