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 Classroom 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 |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
Link |
clone() |
java.lang.String |
getThumbnailUrl()
URL of a thumbnail image of the target URL.
|
java.lang.String |
getTitle()
Title of the target of the URL.
|
java.lang.String |
getUrl()
URL to link to.
|
Link |
set(java.lang.String fieldName,
java.lang.Object value) |
Link |
setThumbnailUrl(java.lang.String thumbnailUrl)
URL of a thumbnail image of the target URL.
|
Link |
setTitle(java.lang.String title)
Title of the target of the URL.
|
Link |
setUrl(java.lang.String url)
URL to link to.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getThumbnailUrl()
null for nonepublic Link setThumbnailUrl(java.lang.String thumbnailUrl)
thumbnailUrl - thumbnailUrl or null for nonepublic java.lang.String getTitle()
null for nonepublic Link setTitle(java.lang.String title)
title - title or null for nonepublic java.lang.String getUrl()
null for nonepublic Link setUrl(java.lang.String url)
url - url or null for nonepublic Link set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Link clone()
clone in class com.google.api.client.json.GenericJson