public final class GoogleAppsCardV1DateTimePicker
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 Google Chat 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAppsCardV1DateTimePicker() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1DateTimePicker |
clone() |
String |
getLabel()
The text that prompts users to enter a date, time, or datetime.
|
String |
getName()
The name by which the datetime picker is identified in a form input event.
|
GoogleAppsCardV1Action |
getOnChangeAction()
Triggered when the user clicks **Save** or **Clear** from the datetime picker interface.
|
Integer |
getTimezoneOffsetDate()
The number representing the time zone offset from UTC, in minutes.
|
String |
getType()
What kind of date and time input the datetime picker supports.
|
Long |
getValueMsEpoch()
The value displayed as the default value before user input or previous user input, represented
in milliseconds ([Epoch time](https://en.wikipedia.org/wiki/Unix_time)).
|
GoogleAppsCardV1DateTimePicker |
set(String fieldName,
Object value) |
GoogleAppsCardV1DateTimePicker |
setLabel(String label)
The text that prompts users to enter a date, time, or datetime.
|
GoogleAppsCardV1DateTimePicker |
setName(String name)
The name by which the datetime picker is identified in a form input event.
|
GoogleAppsCardV1DateTimePicker |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
Triggered when the user clicks **Save** or **Clear** from the datetime picker interface.
|
GoogleAppsCardV1DateTimePicker |
setTimezoneOffsetDate(Integer timezoneOffsetDate)
The number representing the time zone offset from UTC, in minutes.
|
GoogleAppsCardV1DateTimePicker |
setType(String type)
What kind of date and time input the datetime picker supports.
|
GoogleAppsCardV1DateTimePicker |
setValueMsEpoch(Long valueMsEpoch)
The value displayed as the default value before user input or previous user input, represented
in milliseconds ([Epoch time](https://en.wikipedia.org/wiki/Unix_time)).
|
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 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 com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1DateTimePicker clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.