com.unblu.webapi.model.v3.EConversationInvitationOrderByField 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 EConversationInvitationOrderByField
*/
public enum EConversationInvitationOrderByField {
/**
* TYPE: Sort by the 'type' attribute
*/
TYPE("TYPE"),
/**
* TARGET_TYPE: Sort by the 'targetType' attribute
*/
TARGET_TYPE("TARGET_TYPE"),
/**
* CONVERSATION_ID: Sort by the 'conversationId' attribute
*/
CONVERSATION_ID("CONVERSATION_ID"),
/**
* TARGET_ID: Sort by the 'targetId' attribute
*/
TARGET_ID("TARGET_ID"),
/**
* EXPIRATION_TIMESTAMP: Sort by the 'expirationTimestamp' attribute
*/
EXPIRATION_TIMESTAMP("EXPIRATION_TIMESTAMP"),
/**
* CREATION_TIMESTAMP: Sort by the 'creationTimestamp' attribute
*/
CREATION_TIMESTAMP("CREATION_TIMESTAMP"),
/**
* CREATOR_TYPE: Sort by the 'creatorType' attribute
*/
CREATOR_TYPE("CREATOR_TYPE"),
/**
* CREATOR_ID: Sort by the 'creatorId' attribute
*/
CREATOR_ID("CREATOR_ID"),
/**
* REDEEMER_PERSON_ID: Sort by the 'redeemerPersonId' attribute
*/
REDEEMER_PERSON_ID("REDEEMER_PERSON_ID"),
/**
* SUBTYPE: Sort by the 'subtype' attribute
*/
SUBTYPE("SUBTYPE");
private String value;
EConversationInvitationOrderByField(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static EConversationInvitationOrderByField fromValue(String value) {
for (EConversationInvitationOrderByField b : EConversationInvitationOrderByField.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}