Enum ConversationCreateEventAllOfPayload.CreationReasonEnum
- java.lang.Object
-
- java.lang.Enum<ConversationCreateEventAllOfPayload.CreationReasonEnum>
-
- com.zendesk.sunshine_conversations_client.model.ConversationCreateEventAllOfPayload.CreationReasonEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConversationCreateEventAllOfPayload.CreationReasonEnum>
- Enclosing class:
- ConversationCreateEventAllOfPayload
public static enum ConversationCreateEventAllOfPayload.CreationReasonEnum extends java.lang.Enum<ConversationCreateEventAllOfPayload.CreationReasonEnum>
The reason why the conversation was created, if applicable. * `linkRequest` - The conversation was created in order to generate a link request to transfer the user to a different channel. * `message` - The conversation was created because a message was sent. * `none` - The conversation was not created for a specific purpose. Used primarily when a conversation is created via the Create Conversation API. * `notification` - The conversation was created by a call to the Notification API. * `prechatCapture` - The conversation was created because the user completed a prechat capture form in the Web Messenger. * `startConversation` - The conversation was created because of a call to the startConversation API on one of the SDK integrations, or a start conversation event was triggered from a messaging channel. * `proactiveMessaging` - The conversation was created because the user interacted with a campaign.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINKREQUESTMESSAGENONENOTIFICATIONPRECHATCAPTUREPROACTIVEMESSAGINGSTARTCONVERSATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationCreateEventAllOfPayload.CreationReasonEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static ConversationCreateEventAllOfPayload.CreationReasonEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConversationCreateEventAllOfPayload.CreationReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINKREQUEST
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum LINKREQUEST
-
MESSAGE
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum MESSAGE
-
NONE
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum NONE
-
NOTIFICATION
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum NOTIFICATION
-
PRECHATCAPTURE
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum PRECHATCAPTURE
-
STARTCONVERSATION
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum STARTCONVERSATION
-
PROACTIVEMESSAGING
public static final ConversationCreateEventAllOfPayload.CreationReasonEnum PROACTIVEMESSAGING
-
-
Method Detail
-
values
public static ConversationCreateEventAllOfPayload.CreationReasonEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConversationCreateEventAllOfPayload.CreationReasonEnum c : ConversationCreateEventAllOfPayload.CreationReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConversationCreateEventAllOfPayload.CreationReasonEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<ConversationCreateEventAllOfPayload.CreationReasonEnum>
-
fromValue
public static ConversationCreateEventAllOfPayload.CreationReasonEnum fromValue(java.lang.String value)
-
-