public final class Rename
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 Drive Activity 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 |
---|
Rename() |
Modifier and Type | Method and Description |
---|---|
Rename |
clone() |
java.lang.String |
getNewTitle()
The new title of the drive object.
|
java.lang.String |
getOldTitle()
The previous title of the drive object.
|
Rename |
set(java.lang.String fieldName,
java.lang.Object value) |
Rename |
setNewTitle(java.lang.String newTitle)
The new title of the drive object.
|
Rename |
setOldTitle(java.lang.String oldTitle)
The previous title of the drive object.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getNewTitle()
null
for nonepublic Rename setNewTitle(java.lang.String newTitle)
newTitle
- newTitle or null
for nonepublic java.lang.String getOldTitle()
null
for nonepublic Rename setOldTitle(java.lang.String oldTitle)
oldTitle
- oldTitle or null
for nonepublic Rename set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Rename clone()
clone
in class com.google.api.client.json.GenericJson