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

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

There is a newer version: 7.51.0
Show newest version

package com.unblu.webapi.model.v3;

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

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

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

	/**
	 * AGENT_USER_ID: Sort by the 'agentUserId' attribute
	 */
	AGENT_USER_ID("AGENT_USER_ID"),

	/**
	 * DEPUTY_TYPE: Sort by the 'deputyType' attribute
	 */
	DEPUTY_TYPE("DEPUTY_TYPE"),

	/**
	 * DEPUTY_ID: Sort by the 'deputyId' attribute
	 */
	DEPUTY_ID("DEPUTY_ID"),

	/**
	 * ESCALATION_LEVEL: Sort by the 'escalationLevel' attribute
	 */
	ESCALATION_LEVEL("ESCALATION_LEVEL"),

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

	/**
	 * MODIFICATION_TIMESTAMP: Sort by the 'modificationTimestamp' attribute
	 */
	MODIFICATION_TIMESTAMP("MODIFICATION_TIMESTAMP");

	private String value;

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy