Class CanvasObject

java.lang.Object
com.intercom.api.types.CanvasObject

public final class CanvasObject extends Object
  • Method Details

    • getContent

      public ContentObject getContent()
      Returns:
      The content object that will be shown as the UI of the app. Max Size is 64KB.
    • getContentUrl

      public Optional<String> getContentUrl()
      Returns:
      The URL which we make Live Canvas requests to. You must respond to these with a content object. Max size is 64KB.
    • getStoredData

      public Optional<Map<String,Object>> getStoredData()
      Returns:
      Optional Stored Data that you want to be returned in the next sent request. Max Size is 64KB.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CanvasObject.ContentStage builder()