package com.kaltura.client.enums;
/**
* This class was generated using generate.php
* against an XML schema provided by Kaltura.
* @date Sun, 19 Jun 11 02:46:50 -0400
*
* MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
*/
public enum KalturaAnnotationOrderBy {
CREATED_AT_ASC ("+createdAt"),
CREATED_AT_DESC ("-createdAt"),
UPDATED_AT_ASC ("+updatedAt"),
UPDATED_AT_DESC ("-updatedAt");
String hashCode;
KalturaAnnotationOrderBy(String hashCode) {
this.hashCode = hashCode;
}
public String getHashCode() {
return this.hashCode;
}
public static KalturaAnnotationOrderBy get(String hashCode) {
if (hashCode.equals("+createdAt"))
{
return CREATED_AT_ASC;
}
else
if (hashCode.equals("-createdAt"))
{
return CREATED_AT_DESC;
}
else
if (hashCode.equals("+updatedAt"))
{
return UPDATED_AT_ASC;
}
else
if (hashCode.equals("-updatedAt"))
{
return UPDATED_AT_DESC;
}
else
{
return CREATED_AT_ASC;
}
}
}