com.unblu.webapi.model.v3.EWebhookCallLogOrderByField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of models-v3 Show documentation
Show all versions of models-v3 Show documentation
Java classes corresponding to the JSON bodies
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 + "'");
}
}