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

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

There is a newer version: 7.55.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 EPersonOrderByField
 */
public enum EPersonOrderByField {

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

	/**
	 * PERSON_SOURCE: Sort by the 'personSource' attribute
	 */
	PERSON_SOURCE("PERSON_SOURCE"),

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

	/**
	 * SOURCE_DATA: Sort by the 'sourceData' attribute
	 */
	SOURCE_DATA("SOURCE_DATA"),

	/**
	 * FIRST_NAME: Sort by the 'firstName' attribute
	 */
	FIRST_NAME("FIRST_NAME"),

	/**
	 * LAST_NAME: Sort by the 'lastName' attribute
	 */
	LAST_NAME("LAST_NAME"),

	/**
	 * USERNAME: Sort by the 'username' attribute
	 */
	USERNAME("USERNAME"),

	/**
	 * NICKNAME: Sort by the 'nickname' attribute
	 */
	NICKNAME("NICKNAME"),

	/**
	 * PERSON_TYPE: Sort by the 'personType' attribute
	 */
	PERSON_TYPE("PERSON_TYPE"),

	/**
	 * AUTHORIZATION_ROLE: Sort by the 'authorizationRole' attribute
	 */
	AUTHORIZATION_ROLE("AUTHORIZATION_ROLE"),

	/**
	 * EMAIL: Sort by the 'email' attribute
	 */
	EMAIL("EMAIL"),

	/**
	 * PHONE: Sort by the 'phone' attribute
	 */
	PHONE("PHONE"),

	/**
	 * TEAM_ID: Sort by the 'teamId' attribute
	 */
	TEAM_ID("TEAM_ID");

	private String value;

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy