public final class CallToAction
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 My Business 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
Constructor and Description |
---|
CallToAction() |
Modifier and Type | Method and Description |
---|---|
CallToAction |
clone() |
java.lang.String |
getActionType()
The type of action that will be performed.
|
java.lang.String |
getUrl()
The URL the user will be directed to upon clicking.
|
CallToAction |
set(java.lang.String fieldName,
java.lang.Object value) |
CallToAction |
setActionType(java.lang.String actionType)
The type of action that will be performed.
|
CallToAction |
setUrl(java.lang.String url)
The URL the user will be directed to upon clicking.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getActionType()
null
for nonepublic CallToAction setActionType(java.lang.String actionType)
actionType
- actionType or null
for nonepublic java.lang.String getUrl()
null
for nonepublic CallToAction setUrl(java.lang.String url)
url
- url or null
for nonepublic CallToAction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CallToAction clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.