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

com.unblu.webapi.model.v4.EAgentStateOrderByField Maven / Gradle / Ivy


package com.unblu.webapi.model.v4;

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

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

	/**
	 * PERSON_ID: Sort by the 'personId' attribute
	 */
	PERSON_ID("PERSON_ID"),

	/**
	 * STATUS_MESSAGE: Sort by the 'statusMessage' attribute
	 */
	STATUS_MESSAGE("STATUS_MESSAGE"),

	/**
	 * PAUSE_NOTIFICATIONS_MODE: Sort by the 'pauseNotificationsMode' attribute
	 */
	PAUSE_NOTIFICATIONS_MODE("PAUSE_NOTIFICATIONS_MODE"),

	/**
	 * PAUSE_NOTIFICATIONS_STATE: Sort by the 'pauseNotificationsState' attribute
	 */
	PAUSE_NOTIFICATIONS_STATE("PAUSE_NOTIFICATIONS_STATE"),

	/**
	 * PAUSE_NOTIFICATIONS_END_TIMESTAMP: Sort by the 'pauseNotificationsEndTimestamp' attribute
	 */
	PAUSE_NOTIFICATIONS_END_TIMESTAMP("PAUSE_NOTIFICATIONS_END_TIMESTAMP"),

	/**
	 * AUTO_PAUSE_NOTIFICATIONS_REASON_SOURCE_ID: Sort by the 'sourceId' attribute of the related AutoPauseNotificationsReason
	 */
	AUTO_PAUSE_NOTIFICATIONS_REASON_SOURCE_ID("AUTO_PAUSE_NOTIFICATIONS_REASON_SOURCE_ID"),

	/**
	 * AUTO_PAUSE_NOTIFICATIONS_REASON_EXPIRATION_TIMESTAMP: Sort by the 'expirationTimestamp' attribute of the related AutoPauseNotificationsReason
	 */
	AUTO_PAUSE_NOTIFICATIONS_REASON_EXPIRATION_TIMESTAMP("AUTO_PAUSE_NOTIFICATIONS_REASON_EXPIRATION_TIMESTAMP");

	private String value;

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy