com.unblu.webapi.model.v3.EDeputyRelationshipOrderByField 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 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 + "'");
}
}