public final class DriveFile 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 |
|---|
DriveFile() |
| Modifier and Type | Method and Description |
|---|---|
DriveFile |
clone() |
String |
getAlternateLink()
URL that can be used to access the Drive item.
|
String |
getId()
Drive API resource ID.
|
String |
getThumbnailUrl()
URL of a thumbnail image of the Drive item.
|
String |
getTitle()
Title of the Drive item.
|
DriveFile |
set(String fieldName,
Object value) |
DriveFile |
setAlternateLink(String alternateLink)
URL that can be used to access the Drive item.
|
DriveFile |
setId(String id)
Drive API resource ID.
|
DriveFile |
setThumbnailUrl(String thumbnailUrl)
URL of a thumbnail image of the Drive item.
|
DriveFile |
setTitle(String title)
Title of the Drive item.
|
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 getAlternateLink()
null for nonepublic DriveFile setAlternateLink(String alternateLink)
alternateLink - alternateLink or null for nonepublic String getId()
null for nonepublic String getThumbnailUrl()
null for nonepublic DriveFile setThumbnailUrl(String thumbnailUrl)
thumbnailUrl - thumbnailUrl or null for nonepublic String getTitle()
null for nonepublic DriveFile setTitle(String title)
title - title or null for nonepublic DriveFile set(String fieldName, Object value)
set in class GenericJsonpublic DriveFile clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.