Class 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.GenericJson
    Opens 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
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenUrlAction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      OpenUrlAction clone()  
      java.lang.String getUrl()
      URL
      OpenUrlAction set​(java.lang.String fieldName, java.lang.Object value)  
      OpenUrlAction setUrl​(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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • OpenUrlAction

        public OpenUrlAction()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        URL
        Returns:
        value or null for none
      • setUrl

        public OpenUrlAction setUrl​(java.lang.String url)
        URL
        Parameters:
        url - url or null for none
      • set

        public OpenUrlAction set​(java.lang.String fieldName,
                                 java.lang.Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public OpenUrlAction clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson