public final class GoogleAppsCardV1DateTimePicker 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 Chat 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 |
---|
GoogleAppsCardV1DateTimePicker() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1DateTimePicker |
clone() |
String |
getLabel()
The label for the field that displays to the user.
|
String |
getName()
The name of the text input that's used in formInput, and uniquely identifies this input.
|
GoogleAppsCardV1Action |
getOnChangeAction()
Triggered when the user clicks Save or Clear from the date/time picker dialog.
|
Integer |
getTimezoneOffsetDate()
The number representing the time zone offset from UTC, in minutes.
|
String |
getType()
The type of the date/time picker.
|
Long |
getValueMsEpoch()
The value to display as the default value before user input or previous user input.
|
GoogleAppsCardV1DateTimePicker |
set(String fieldName,
Object value) |
GoogleAppsCardV1DateTimePicker |
setLabel(String label)
The label for the field that displays to the user.
|
GoogleAppsCardV1DateTimePicker |
setName(String name)
The name of the text input that's used in formInput, and uniquely identifies this input.
|
GoogleAppsCardV1DateTimePicker |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
Triggered when the user clicks Save or Clear from the date/time picker dialog.
|
GoogleAppsCardV1DateTimePicker |
setTimezoneOffsetDate(Integer timezoneOffsetDate)
The number representing the time zone offset from UTC, in minutes.
|
GoogleAppsCardV1DateTimePicker |
setType(String type)
The type of the date/time picker.
|
GoogleAppsCardV1DateTimePicker |
setValueMsEpoch(Long valueMsEpoch)
The value to display as the default value before user input or previous user input.
|
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 getLabel()
null
for nonepublic GoogleAppsCardV1DateTimePicker setLabel(String label)
label
- label or null
for nonepublic String getName()
null
for nonepublic GoogleAppsCardV1DateTimePicker setName(String name)
name
- name or null
for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null
for nonepublic GoogleAppsCardV1DateTimePicker setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction
- onChangeAction or null
for nonepublic Integer getTimezoneOffsetDate()
null
for nonepublic GoogleAppsCardV1DateTimePicker setTimezoneOffsetDate(Integer timezoneOffsetDate)
timezoneOffsetDate
- timezoneOffsetDate or null
for nonepublic String getType()
null
for nonepublic GoogleAppsCardV1DateTimePicker setType(String type)
type
- type or null
for nonepublic Long getValueMsEpoch()
null
for nonepublic GoogleAppsCardV1DateTimePicker setValueMsEpoch(Long valueMsEpoch)
valueMsEpoch
- valueMsEpoch or null
for nonepublic GoogleAppsCardV1DateTimePicker set(String fieldName, Object value)
set
in class GenericJson
public GoogleAppsCardV1DateTimePicker clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.