public final class ActivityContentDetailsSocial
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 YouTube Data API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ActivityContentDetailsSocial() |
| Modifier and Type | Method and Description |
|---|---|
ActivityContentDetailsSocial |
clone() |
java.lang.String |
getAuthor()
The author of the social network post.
|
java.lang.String |
getImageUrl()
An image of the post's author.
|
java.lang.String |
getReferenceUrl()
The URL of the social network post.
|
ResourceId |
getResourceId()
The resourceId object encapsulates information that identifies the resource associated with a
social network post.
|
java.lang.String |
getType()
The name of the social network.
|
ActivityContentDetailsSocial |
set(java.lang.String fieldName,
java.lang.Object value) |
ActivityContentDetailsSocial |
setAuthor(java.lang.String author)
The author of the social network post.
|
ActivityContentDetailsSocial |
setImageUrl(java.lang.String imageUrl)
An image of the post's author.
|
ActivityContentDetailsSocial |
setReferenceUrl(java.lang.String referenceUrl)
The URL of the social network post.
|
ActivityContentDetailsSocial |
setResourceId(ResourceId resourceId)
The resourceId object encapsulates information that identifies the resource associated with a
social network post.
|
ActivityContentDetailsSocial |
setType(java.lang.String type)
The name of the social network.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAuthor()
null for nonepublic ActivityContentDetailsSocial setAuthor(java.lang.String author)
author - author or null for nonepublic java.lang.String getImageUrl()
null for nonepublic ActivityContentDetailsSocial setImageUrl(java.lang.String imageUrl)
imageUrl - imageUrl or null for nonepublic java.lang.String getReferenceUrl()
null for nonepublic ActivityContentDetailsSocial setReferenceUrl(java.lang.String referenceUrl)
referenceUrl - referenceUrl or null for nonepublic ResourceId getResourceId()
null for nonepublic ActivityContentDetailsSocial setResourceId(ResourceId resourceId)
resourceId - resourceId or null for nonepublic java.lang.String getType()
null for nonepublic ActivityContentDetailsSocial setType(java.lang.String type)
type - type or null for nonepublic ActivityContentDetailsSocial set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ActivityContentDetailsSocial clone()
clone in class com.google.api.client.json.GenericJson