Class StandaloneCard

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    public final class StandaloneCard
    extends com.google.api.client.json.GenericJson
    Standalone card

    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
      StandaloneCard()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      StandaloneCard clone()  
      CardContent getCardContent()
      Card content.
      java.lang.String getCardOrientation()
      Orientation of the card.
      java.lang.String getThumbnailImageAlignment()
      Image preview alignment for standalone cards with horizontal layout.
      StandaloneCard set​(java.lang.String fieldName, java.lang.Object value)  
      StandaloneCard setCardContent​(CardContent cardContent)
      Card content.
      StandaloneCard setCardOrientation​(java.lang.String cardOrientation)
      Orientation of the card.
      StandaloneCard setThumbnailImageAlignment​(java.lang.String thumbnailImageAlignment)
      Image preview alignment for standalone cards with horizontal layout.
      • 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

      • StandaloneCard

        public StandaloneCard()
    • Method Detail

      • getCardContent

        public CardContent getCardContent()
        Card content.
        Returns:
        value or null for none
      • setCardContent

        public StandaloneCard setCardContent​(CardContent cardContent)
        Card content.
        Parameters:
        cardContent - cardContent or null for none
      • getCardOrientation

        public java.lang.String getCardOrientation()
        Orientation of the card.
        Returns:
        value or null for none
      • setCardOrientation

        public StandaloneCard setCardOrientation​(java.lang.String cardOrientation)
        Orientation of the card.
        Parameters:
        cardOrientation - cardOrientation or null for none
      • getThumbnailImageAlignment

        public java.lang.String getThumbnailImageAlignment()
        Image preview alignment for standalone cards with horizontal layout.
        Returns:
        value or null for none
      • setThumbnailImageAlignment

        public StandaloneCard setThumbnailImageAlignment​(java.lang.String thumbnailImageAlignment)
        Image preview alignment for standalone cards with horizontal layout.
        Parameters:
        thumbnailImageAlignment - thumbnailImageAlignment or null for none
      • set

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

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