Class ParticipantWithUserId


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

      • JSON_PROPERTY_USER_ID

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

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

      • ParticipantWithUserId

        public ParticipantWithUserId()
    • Method Detail

      • getUserId

        @Nullable
        public java.lang.String getUserId()
        The id of the user that will be participating in the conversation. It will return `404` if the user can’t be found. One of `userId` or `userExternalId` is required, but not both.
        Returns:
        userId
      • setUserId

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

        public ParticipantWithUserId subscribeSDKClient​(java.lang.Boolean subscribeSDKClient)
      • getSubscribeSDKClient

        @Nullable
        public java.lang.Boolean getSubscribeSDKClient()
        When passed as true, the SDK client of the concerned participant will be subscribed to the conversation. The user will start receiving push notifications for this conversation right away, without having to view the conversation on the SDK beforehand. An SDK client will be created for users that don’t already have one. This field is required if the conversation is of type `sdkGroup`.
        Returns:
        subscribeSDKClient
      • setSubscribeSDKClient

        public void setSubscribeSDKClient​(java.lang.Boolean subscribeSDKClient)
      • 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