Class ParticipantWithUserExternalId
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ParticipantWithUserExternalId
-
public class ParticipantWithUserExternalId extends java.lang.ObjectParticipantWithUserExternalId
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_SUBSCRIBE_S_D_K_CLIENTstatic java.lang.StringJSON_PROPERTY_USER_EXTERNAL_ID
-
Constructor Summary
Constructors Constructor Description ParticipantWithUserExternalId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.BooleangetSubscribeSDKClient()When passed as true, the SDK client of the concerned participant will be subscribed to the conversation.java.lang.StringgetUserExternalId()The `externalId` of the user that will be participating in the conversation.inthashCode()voidsetSubscribeSDKClient(java.lang.Boolean subscribeSDKClient)voidsetUserExternalId(java.lang.String userExternalId)ParticipantWithUserExternalIdsubscribeSDKClient(java.lang.Boolean subscribeSDKClient)java.lang.StringtoString()ParticipantWithUserExternalIduserExternalId(java.lang.String userExternalId)
-
-
-
Field Detail
-
JSON_PROPERTY_USER_EXTERNAL_ID
public static final java.lang.String JSON_PROPERTY_USER_EXTERNAL_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
-
-
Method Detail
-
userExternalId
public ParticipantWithUserExternalId userExternalId(java.lang.String userExternalId)
-
getUserExternalId
@Nullable public java.lang.String getUserExternalId()
The `externalId` 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:
- userExternalId
-
setUserExternalId
public void setUserExternalId(java.lang.String userExternalId)
-
subscribeSDKClient
public ParticipantWithUserExternalId 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-