public final class Parent 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 Drive Activity 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 |
|---|
Parent() |
| Modifier and Type | Method and Description |
|---|---|
Parent |
clone() |
String |
getId()
The parent's ID.
|
Boolean |
getIsRoot()
Whether this is the root folder.
|
String |
getTitle()
The parent's title.
|
Parent |
set(String fieldName,
Object value) |
Parent |
setId(String id)
The parent's ID.
|
Parent |
setIsRoot(Boolean isRoot)
Whether this is the root folder.
|
Parent |
setTitle(String title)
The parent's title.
|
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 getId()
null for nonepublic Boolean getIsRoot()
null for nonepublic Parent setIsRoot(Boolean isRoot)
isRoot - isRoot or null for nonepublic String getTitle()
null for nonepublic Parent setTitle(String title)
title - title or null for nonepublic Parent set(String fieldName, Object value)
set in class GenericJsonpublic Parent clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.