public final class Link 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 Google Classroom API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
Link |
clone() |
String |
getThumbnailUrl()
URL of a thumbnail image of the target URL.
|
String |
getTitle()
Title of the target of the URL.
|
String |
getUrl()
URL to link to.
|
Link |
set(String fieldName,
Object value) |
Link |
setThumbnailUrl(String thumbnailUrl)
URL of a thumbnail image of the target URL.
|
Link |
setTitle(String title)
Title of the target of the URL.
|
Link |
setUrl(String url)
URL to link to.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getThumbnailUrl()
null for nonepublic Link setThumbnailUrl(String thumbnailUrl)
thumbnailUrl - thumbnailUrl or null for nonepublic String getTitle()
null for nonepublic Link setTitle(String title)
title - title 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 GenericJsonpublic Link clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.