public final class ThirdPartyLink extends 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ThirdPartyLink() |
Modifier and Type | Method and Description |
---|---|
ThirdPartyLink |
clone() |
String |
getEtag()
Etag of this resource
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getLinkingToken()
The linking_token identifies a YouTube account and channel with which the third party account
is linked.
|
ThirdPartyLinkSnippet |
getSnippet()
The snippet object contains basic details about the third- party account link.
|
ThirdPartyLinkStatus |
getStatus()
The status object contains information about the status of the link.
|
ThirdPartyLink |
set(String fieldName,
Object value) |
ThirdPartyLink |
setEtag(String etag)
Etag of this resource
|
ThirdPartyLink |
setKind(String kind)
Identifies what kind of resource this is.
|
ThirdPartyLink |
setLinkingToken(String linkingToken)
The linking_token identifies a YouTube account and channel with which the third party account
is linked.
|
ThirdPartyLink |
setSnippet(ThirdPartyLinkSnippet snippet)
The snippet object contains basic details about the third- party account link.
|
ThirdPartyLink |
setStatus(ThirdPartyLinkStatus status)
The status object contains information about the status of the link.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEtag()
null
for nonepublic ThirdPartyLink setEtag(String etag)
etag
- etag or null
for nonepublic String getKind()
null
for nonepublic ThirdPartyLink setKind(String kind)
kind
- kind or null
for nonepublic String getLinkingToken()
null
for nonepublic ThirdPartyLink setLinkingToken(String linkingToken)
linkingToken
- linkingToken or null
for nonepublic ThirdPartyLinkSnippet getSnippet()
null
for nonepublic ThirdPartyLink setSnippet(ThirdPartyLinkSnippet snippet)
snippet
- snippet or null
for nonepublic ThirdPartyLinkStatus getStatus()
null
for nonepublic ThirdPartyLink setStatus(ThirdPartyLinkStatus status)
status
- status or null
for nonepublic ThirdPartyLink set(String fieldName, Object value)
set
in class GenericJson
public ThirdPartyLink clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.