Class OpenUrlAction
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.rcsbusinessmessaging.v1.model.OpenUrlAction
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class OpenUrlAction extends com.google.api.client.json.GenericJsonOpens the user's default web browser app to the specified URL. If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.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 RCS Business Messaging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
-
Constructor Summary
Constructors Constructor Description OpenUrlAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenUrlActionclone()java.lang.StringgetUrl()URLOpenUrlActionset(java.lang.String fieldName, java.lang.Object value)OpenUrlActionsetUrl(java.lang.String url)URL-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
URL- Returns:
- value or
nullfor none
-
setUrl
public OpenUrlAction setUrl(java.lang.String url)
URL- Parameters:
url- url ornullfor none
-
set
public OpenUrlAction set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public OpenUrlAction clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-