Class AuthorWebhook


  • public class AuthorWebhook
    extends java.lang.Object
    The author of the activity.
    • Field Detail

      • JSON_PROPERTY_TYPE

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

        public static final java.lang.String JSON_PROPERTY_USER_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_USER

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

      • AuthorWebhook

        public AuthorWebhook()
    • Method Detail

      • userId

        public AuthorWebhook userId​(java.lang.String userId)
      • getUserId

        @Nullable
        public java.lang.String getUserId()
        The id of the user. Only supported when author `type` is `user`.
        Returns:
        userId
      • setUserId

        public void setUserId​(java.lang.String userId)
      • getUser

        @Nullable
        public User getUser()
        The user that authored the message or activity. `profile` is included in the payload if the `includeFullUser` option is enabled.
        Returns:
        user
      • setUser

        public void setUser​(User user)
      • 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