public final class FieldValueChange
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FieldValueChange() |
Modifier and Type | Method and Description |
---|---|
FieldValueChange |
clone() |
String |
getDisplayName()
The human-readable display name for this field.
|
String |
getFieldId()
The ID of this field.
|
FieldValue |
getNewValue()
The value that is now set on the field.
|
FieldValue |
getOldValue()
The value that was previously set on the field.
|
FieldValueChange |
set(String fieldName,
Object value) |
FieldValueChange |
setDisplayName(String displayName)
The human-readable display name for this field.
|
FieldValueChange |
setFieldId(String fieldId)
The ID of this field.
|
FieldValueChange |
setNewValue(FieldValue newValue)
The value that is now set on the field.
|
FieldValueChange |
setOldValue(FieldValue oldValue)
The value that was previously set on the field.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDisplayName()
null
for nonepublic FieldValueChange setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getFieldId()
null
for nonepublic FieldValueChange setFieldId(String fieldId)
fieldId
- fieldId or null
for nonepublic FieldValue getNewValue()
null
for nonepublic FieldValueChange setNewValue(FieldValue newValue)
newValue
- newValue or null
for nonepublic FieldValue getOldValue()
null
for nonepublic FieldValueChange setOldValue(FieldValue oldValue)
oldValue
- oldValue or null
for nonepublic FieldValueChange set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public FieldValueChange clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.