public final class Link
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 Slides 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Link() |
Modifier and Type | Method and Description |
---|---|
Link |
clone() |
String |
getPageObjectId()
If set, indicates this is a link to the specific page in this presentation with this ID.
|
String |
getRelativeLink()
If set, indicates this is a link to a slide in this presentation, addressed by its position.
|
Integer |
getSlideIndex()
If set, indicates this is a link to the slide at this zero-based index in the presentation.
|
String |
getUrl()
If set, indicates this is a link to the external web page at this URL.
|
Link |
set(String fieldName,
Object value) |
Link |
setPageObjectId(String pageObjectId)
If set, indicates this is a link to the specific page in this presentation with this ID.
|
Link |
setRelativeLink(String relativeLink)
If set, indicates this is a link to a slide in this presentation, addressed by its position.
|
Link |
setSlideIndex(Integer slideIndex)
If set, indicates this is a link to the slide at this zero-based index in the presentation.
|
Link |
setUrl(String url)
If set, indicates this is a link to the external web page at this URL.
|
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 getPageObjectId()
null
for nonepublic Link setPageObjectId(String pageObjectId)
pageObjectId
- pageObjectId or null
for nonepublic String getRelativeLink()
null
for nonepublic Link setRelativeLink(String relativeLink)
relativeLink
- relativeLink or null
for nonepublic Integer getSlideIndex()
null
for nonepublic Link setSlideIndex(Integer slideIndex)
slideIndex
- slideIndex or null
for nonepublic String getUrl()
null
for nonepublic Link setUrl(String url)
url
- url or null
for nonepublic Link set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Link clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.