target.apidocs.com.google.api.services.youtube.model.ActivityContentDetailsSocial.html Maven / Gradle / Ivy
ActivityContentDetailsSocial (YouTube Data API v3 v3-rev20210410-1.31.0)
com.google.api.services.youtube.model
Class ActivityContentDetailsSocial
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.ActivityContentDetailsSocial
-
public final class ActivityContentDetailsSocial
extends GenericJson
Details about a social network post.
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 v3. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ActivityContentDetailsSocial()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ActivityContentDetailsSocial
clone()
String
getAuthor()
The author of the social network post.
String
getImageUrl()
An image of the post's author.
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.
String
getType()
The name of the social network.
ActivityContentDetailsSocial
set(String fieldName,
Object value)
ActivityContentDetailsSocial
setAuthor(String author)
The author of the social network post.
ActivityContentDetailsSocial
setImageUrl(String imageUrl)
An image of the post's author.
ActivityContentDetailsSocial
setReferenceUrl(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(String type)
The name of the social network.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAuthor
public String getAuthor()
The author of the social network post.
- Returns:
- value or
null
for none
-
setAuthor
public ActivityContentDetailsSocial setAuthor(String author)
The author of the social network post.
- Parameters:
author
- author or null
for none
-
getImageUrl
public String getImageUrl()
An image of the post's author.
- Returns:
- value or
null
for none
-
setImageUrl
public ActivityContentDetailsSocial setImageUrl(String imageUrl)
An image of the post's author.
- Parameters:
imageUrl
- imageUrl or null
for none
-
getReferenceUrl
public String getReferenceUrl()
The URL of the social network post.
- Returns:
- value or
null
for none
-
setReferenceUrl
public ActivityContentDetailsSocial setReferenceUrl(String referenceUrl)
The URL of the social network post.
- Parameters:
referenceUrl
- referenceUrl or null
for none
-
getResourceId
public ResourceId getResourceId()
The resourceId object encapsulates information that identifies the resource associated with a
social network post.
- Returns:
- value or
null
for none
-
setResourceId
public ActivityContentDetailsSocial setResourceId(ResourceId resourceId)
The resourceId object encapsulates information that identifies the resource associated with a
social network post.
- Parameters:
resourceId
- resourceId or null
for none
-
getType
public String getType()
The name of the social network.
- Returns:
- value or
null
for none
-
setType
public ActivityContentDetailsSocial setType(String type)
The name of the social network.
- Parameters:
type
- type or null
for none
-
set
public ActivityContentDetailsSocial set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ActivityContentDetailsSocial clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.