public final class LabelFieldModification 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 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LabelFieldModification() |
Modifier and Type | Method and Description |
---|---|
LabelFieldModification |
clone() |
String |
getFieldId()
The ID of the Field to be modified.
|
String |
getKind()
This is always drive#labelFieldModification.
|
List<DateTime> |
getSetDateValues()
Replaces a dateString field with these new values.
|
List<Long> |
getSetIntegerValues()
Replaces an integer field with these new values.
|
List<String> |
getSetSelectionValues()
Replaces a selection field with these new values.
|
List<String> |
getSetTextValues()
Replaces a text field with these new values.
|
List<String> |
getSetUserValues()
Replaces a user field with these new values.
|
Boolean |
getUnsetValues()
Unsets the values for this field.
|
LabelFieldModification |
set(String fieldName,
Object value) |
LabelFieldModification |
setFieldId(String fieldId)
The ID of the Field to be modified.
|
LabelFieldModification |
setKind(String kind)
This is always drive#labelFieldModification.
|
LabelFieldModification |
setSetDateValues(List<DateTime> setDateValues)
Replaces a dateString field with these new values.
|
LabelFieldModification |
setSetIntegerValues(List<Long> setIntegerValues)
Replaces an integer field with these new values.
|
LabelFieldModification |
setSetSelectionValues(List<String> setSelectionValues)
Replaces a selection field with these new values.
|
LabelFieldModification |
setSetTextValues(List<String> setTextValues)
Replaces a text field with these new values.
|
LabelFieldModification |
setSetUserValues(List<String> setUserValues)
Replaces a user field with these new values.
|
LabelFieldModification |
setUnsetValues(Boolean unsetValues)
Unsets the values for this 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 getFieldId()
null
for nonepublic LabelFieldModification setFieldId(String fieldId)
fieldId
- fieldId or null
for nonepublic String getKind()
null
for nonepublic LabelFieldModification setKind(String kind)
kind
- kind or null
for nonepublic List<DateTime> getSetDateValues()
null
for nonepublic LabelFieldModification setSetDateValues(List<DateTime> setDateValues)
setDateValues
- setDateValues or null
for nonepublic List<Long> getSetIntegerValues()
null
for nonepublic LabelFieldModification setSetIntegerValues(List<Long> setIntegerValues)
setIntegerValues
- setIntegerValues or null
for nonepublic List<String> getSetSelectionValues()
null
for nonepublic LabelFieldModification setSetSelectionValues(List<String> setSelectionValues)
setSelectionValues
- setSelectionValues or null
for nonepublic List<String> getSetTextValues()
null
for nonepublic LabelFieldModification setSetTextValues(List<String> setTextValues)
setTextValues
- setTextValues or null
for nonepublic List<String> getSetUserValues()
null
for nonepublic LabelFieldModification setSetUserValues(List<String> setUserValues)
setUserValues
- setUserValues or null
for nonepublic Boolean getUnsetValues()
null
for nonepublic LabelFieldModification setUnsetValues(Boolean unsetValues)
unsetValues
- unsetValues or null
for nonepublic LabelFieldModification set(String fieldName, Object value)
set
in class GenericJson
public LabelFieldModification clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.