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

com.unblu.webapi.model.v3.EWebhookCallLogOrderByField 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 EWebhookCallLogOrderByField
 */
public enum EWebhookCallLogOrderByField {

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

	/**
	 * EVENT_NAME: Sort by the 'eventName' attribute
	 */
	EVENT_NAME("EVENT_NAME"),

	/**
	 * REGISTRATION_ID: Sort by the 'registrationId' attribute
	 */
	REGISTRATION_ID("REGISTRATION_ID"),

	/**
	 * REQUEST_ID: Sort by the 'requestId' attribute
	 */
	REQUEST_ID("REQUEST_ID"),

	/**
	 * EXECUTION_TIMESTAMP: Sort by the 'executionTimestamp' attribute
	 */
	EXECUTION_TIMESTAMP("EXECUTION_TIMESTAMP"),

	/**
	 * ENDPOINT: Sort by the 'endpoint' attribute
	 */
	ENDPOINT("ENDPOINT"),

	/**
	 * RETRY_NR: Sort by the 'retryNr' attribute
	 */
	RETRY_NR("RETRY_NR"),

	/**
	 * CALL_ID: Sort by the 'callId' attribute
	 */
	CALL_ID("CALL_ID"),

	/**
	 * 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;

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy