Class ActivityPost


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

      • JSON_PROPERTY_AUTHOR

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

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

      • ActivityPost

        public ActivityPost()
    • Method Detail

      • getAuthor

        public Author getAuthor()
        The author of the activity.
        Returns:
        author
      • setAuthor

        public void setAuthor​(Author author)
      • getType

        public ActivityPost.TypeEnum getType()
        If the author type is `user`, only `conversation:read` is supported.
        Returns:
        type
      • 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