Class Activity


  • public class Activity
    extends java.lang.Object
    Activity
    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SOURCE

        public static final java.lang.String JSON_PROPERTY_SOURCE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_AUTHOR

        public static final java.lang.String JSON_PROPERTY_AUTHOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • Activity

        public Activity()
    • Method Detail

      • getType

        @Nullable
        public Activity.TypeEnum getType()
        If the author type is `user`, only `conversation:read` is supported.
        Returns:
        type
      • getSource

        @Nullable
        public SourceWebhook getSource()
        The source of the activity.
        Returns:
        source
      • getAuthor

        @Nullable
        public AuthorWebhook getAuthor()
        Get author
        Returns:
        author
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object