All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.unblu.webapi.model.v3.EConversationHistoryOrderByField Maven / Gradle / Ivy

There is a newer version: 7.53.4
Show newest version

package com.unblu.webapi.model.v3;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Gets or Sets EConversationHistoryOrderByField
 */
public enum EConversationHistoryOrderByField {

	/**
	 * CREATION_TIMESTAMP: Sort by the 'creationTimestamp' attribute
	 */
	CREATION_TIMESTAMP("CREATION_TIMESTAMP"),

	/**
	 * END_TIMESTAMP: Sort by the 'endTimestamp' attribute
	 */
	END_TIMESTAMP("END_TIMESTAMP"),

	/**
	 * SCHEDULED_TIMESTAMP: Sort by the 'scheduledTimestamp' attribute
	 */
	SCHEDULED_TIMESTAMP("SCHEDULED_TIMESTAMP"),

	/**
	 * ID: Sort by the 'id' attribute
	 */
	ID("ID"),

	/**
	 * TOPIC: Sort by the 'topic' attribute
	 */
	TOPIC("TOPIC"),

	/**
	 * ASSIGNEE_PERSON_ID: Sort by the 'assigneePersonId' attribute
	 */
	ASSIGNEE_PERSON_ID("ASSIGNEE_PERSON_ID"),

	/**
	 * CONTEXT_PERSON_ID: Sort by the 'contextPersonId' attribute
	 */
	CONTEXT_PERSON_ID("CONTEXT_PERSON_ID"),

	/**
	 * AWAITED_PERSON: Sort by the 'awaitedPerson' attribute
	 */
	AWAITED_PERSON("AWAITED_PERSON"),

	/**
	 * AWAITED_PERSON_CHANGE_TIMESTAMP: Sort by the 'awaitedPersonChangeTimestamp' attribute
	 */
	AWAITED_PERSON_CHANGE_TIMESTAMP("AWAITED_PERSON_CHANGE_TIMESTAMP"),

	/**
	 * STATE: Sort by the 'state' attribute
	 */
	STATE("STATE"),

	/**
	 * INITIAL_ENGAGEMENT_TYPE: Sort by the 'initialEngagementType' attribute
	 */
	INITIAL_ENGAGEMENT_TYPE("INITIAL_ENGAGEMENT_TYPE"),

	/**
	 * LOCALE: Sort by the 'locale' attribute
	 */
	LOCALE("LOCALE"),

	/**
	 * TOKBOX_SESSION_ID: Sort by the 'tokboxSessionId' attribute
	 */
	TOKBOX_SESSION_ID("TOKBOX_SESSION_ID"),

	/**
	 * CONVERSATION_TEMPLATE_ID: Sort by the 'conversationTemplateId' attribute
	 */
	CONVERSATION_TEMPLATE_ID("CONVERSATION_TEMPLATE_ID"),

	/**
	 * EXTERNAL_MESSENGER_CHANNEL_ID: Sort by the 'externalMessengerChannelId' attribute
	 */
	EXTERNAL_MESSENGER_CHANNEL_ID("EXTERNAL_MESSENGER_CHANNEL_ID"),

	/**
	 * SOURCE_ID: Sort by the 'sourceId' attribute
	 */
	SOURCE_ID("SOURCE_ID"),

	/**
	 * END_REASON: Sort by the 'endReason' attribute
	 */
	END_REASON("END_REASON"),

	/**
	 * RECIPIENT_ID: Sort by the 'recipientId' attribute
	 */
	RECIPIENT_ID("RECIPIENT_ID"),

	/**
	 * RECIPIENT_TYPE: Sort by the 'recipientType' attribute
	 */
	RECIPIENT_TYPE("RECIPIENT_TYPE"),

	/**
	 * LAST_MESSAGE_TIMESTAMP: Sort by the 'lastMessageTimestamp' attribute
	 */
	LAST_MESSAGE_TIMESTAMP("LAST_MESSAGE_TIMESTAMP");

	private String value;

	EConversationHistoryOrderByField(String value) {
		this.value = value;
	}

	@JsonValue
	public String getValue() {
		return value;
	}

	@Override
	public String toString() {
		return String.valueOf(value);
	}

	@JsonCreator
	public static EConversationHistoryOrderByField fromValue(String value) {
		for (EConversationHistoryOrderByField b : EConversationHistoryOrderByField.values()) {
			if (b.value.equals(value)) {
				return b;
			}
		}
		throw new IllegalArgumentException("Unexpected value '" + value + "'");
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy