public final class GoogleAppsCardV1OnClick
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 |
---|
GoogleAppsCardV1OnClick() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1OnClick |
clone() |
GoogleAppsCardV1Action |
getAction()
If specified, an action is triggered by this `onClick`.
|
GoogleAppsCardV1Card |
getCard()
A new card is pushed to the card stack after clicking if specified.
|
GoogleAppsCardV1Action |
getOpenDynamicLinkAction()
An add-on triggers this action when the action needs to open a link.
|
GoogleAppsCardV1OpenLink |
getOpenLink()
If specified, this `onClick` triggers an open link action.
|
GoogleAppsCardV1OnClick |
set(String fieldName,
Object value) |
GoogleAppsCardV1OnClick |
setAction(GoogleAppsCardV1Action action)
If specified, an action is triggered by this `onClick`.
|
GoogleAppsCardV1OnClick |
setCard(GoogleAppsCardV1Card card)
A new card is pushed to the card stack after clicking if specified.
|
GoogleAppsCardV1OnClick |
setOpenDynamicLinkAction(GoogleAppsCardV1Action openDynamicLinkAction)
An add-on triggers this action when the action needs to open a link.
|
GoogleAppsCardV1OnClick |
setOpenLink(GoogleAppsCardV1OpenLink openLink)
If specified, this `onClick` triggers an open link action.
|
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 GoogleAppsCardV1Action getAction()
null
for nonepublic GoogleAppsCardV1OnClick setAction(GoogleAppsCardV1Action action)
action
- action or null
for nonepublic GoogleAppsCardV1Card getCard()
null
for nonepublic GoogleAppsCardV1OnClick setCard(GoogleAppsCardV1Card card)
card
- card or null
for nonepublic GoogleAppsCardV1Action getOpenDynamicLinkAction()
null
for nonepublic GoogleAppsCardV1OnClick setOpenDynamicLinkAction(GoogleAppsCardV1Action openDynamicLinkAction)
openDynamicLinkAction
- openDynamicLinkAction or null
for nonepublic GoogleAppsCardV1OpenLink getOpenLink()
null
for nonepublic GoogleAppsCardV1OnClick setOpenLink(GoogleAppsCardV1OpenLink openLink)
openLink
- openLink or null
for nonepublic GoogleAppsCardV1OnClick set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleAppsCardV1OnClick clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.