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.Flags
AbstractMap.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 input a date, a time, or a date and time.
|
String |
getName()
The name by which the `DateTimePicker` is identified in a form input event.
|
GoogleAppsCardV1Action |
getOnChangeAction()
Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface.
|
Integer |
getTimezoneOffsetDate()
The number representing the time zone offset from UTC, in minutes.
|
String |
getType()
Whether the widget supports inputting a date, a time, or the date and time.
|
Long |
getValueMsEpoch()
The default value displayed in the widget, in milliseconds since [Unix 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 input a date, a time, or a date and time.
|
GoogleAppsCardV1DateTimePicker |
setName(String name)
The name by which the `DateTimePicker` is identified in a form input event.
|
GoogleAppsCardV1DateTimePicker |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface.
|
GoogleAppsCardV1DateTimePicker |
setTimezoneOffsetDate(Integer timezoneOffsetDate)
The number representing the time zone offset from UTC, in minutes.
|
GoogleAppsCardV1DateTimePicker |
setType(String type)
Whether the widget supports inputting a date, a time, or the date and time.
|
GoogleAppsCardV1DateTimePicker |
setValueMsEpoch(Long valueMsEpoch)
The default value displayed in the widget, in milliseconds since [Unix epoch
time](https://en.wikipedia.org/wiki/Unix_time).
|
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 com.google.api.client.json.GenericJson
public GoogleAppsCardV1DateTimePicker clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.