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

com.kaltura.client.enums.KalturaLiveEntryOrderBy Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

The newest version!
// ===================================================================================================
//                           _  __     _ _
//                          | |/ /__ _| | |_ _  _ _ _ __ _
//                          | ' .
//
// @ignore
// ===================================================================================================
package com.kaltura.client.enums;

/**
 * This class was generated using generate.php
 * against an XML schema provided by Kaltura.
 * 
 * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
 */
public enum KalturaLiveEntryOrderBy implements KalturaEnumAsString {
    CREATED_AT_ASC ("+createdAt"),
    DURATION_ASC ("+duration"),
    END_DATE_ASC ("+endDate"),
    FIRST_BROADCAST_ASC ("+firstBroadcast"),
    LAST_BROADCAST_ASC ("+lastBroadcast"),
    LAST_PLAYED_AT_ASC ("+lastPlayedAt"),
    MEDIA_TYPE_ASC ("+mediaType"),
    MODERATION_COUNT_ASC ("+moderationCount"),
    NAME_ASC ("+name"),
    PARTNER_SORT_VALUE_ASC ("+partnerSortValue"),
    PLAYS_ASC ("+plays"),
    RANK_ASC ("+rank"),
    RECENT_ASC ("+recent"),
    START_DATE_ASC ("+startDate"),
    TOTAL_RANK_ASC ("+totalRank"),
    UPDATED_AT_ASC ("+updatedAt"),
    VIEWS_ASC ("+views"),
    WEIGHT_ASC ("+weight"),
    CREATED_AT_DESC ("-createdAt"),
    DURATION_DESC ("-duration"),
    END_DATE_DESC ("-endDate"),
    FIRST_BROADCAST_DESC ("-firstBroadcast"),
    LAST_BROADCAST_DESC ("-lastBroadcast"),
    LAST_PLAYED_AT_DESC ("-lastPlayedAt"),
    MEDIA_TYPE_DESC ("-mediaType"),
    MODERATION_COUNT_DESC ("-moderationCount"),
    NAME_DESC ("-name"),
    PARTNER_SORT_VALUE_DESC ("-partnerSortValue"),
    PLAYS_DESC ("-plays"),
    RANK_DESC ("-rank"),
    RECENT_DESC ("-recent"),
    START_DATE_DESC ("-startDate"),
    TOTAL_RANK_DESC ("-totalRank"),
    UPDATED_AT_DESC ("-updatedAt"),
    VIEWS_DESC ("-views"),
    WEIGHT_DESC ("-weight");

    public String hashCode;

    KalturaLiveEntryOrderBy(String hashCode) {
        this.hashCode = hashCode;
    }

    public String getHashCode() {
        return this.hashCode;
    }

    public void setHashCode(String hashCode) {
        this.hashCode = hashCode;
    }

    public static KalturaLiveEntryOrderBy get(String hashCode) {
        if (hashCode.equals("+createdAt"))
        {
           return CREATED_AT_ASC;
        }
        else 
        if (hashCode.equals("+duration"))
        {
           return DURATION_ASC;
        }
        else 
        if (hashCode.equals("+endDate"))
        {
           return END_DATE_ASC;
        }
        else 
        if (hashCode.equals("+firstBroadcast"))
        {
           return FIRST_BROADCAST_ASC;
        }
        else 
        if (hashCode.equals("+lastBroadcast"))
        {
           return LAST_BROADCAST_ASC;
        }
        else 
        if (hashCode.equals("+lastPlayedAt"))
        {
           return LAST_PLAYED_AT_ASC;
        }
        else 
        if (hashCode.equals("+mediaType"))
        {
           return MEDIA_TYPE_ASC;
        }
        else 
        if (hashCode.equals("+moderationCount"))
        {
           return MODERATION_COUNT_ASC;
        }
        else 
        if (hashCode.equals("+name"))
        {
           return NAME_ASC;
        }
        else 
        if (hashCode.equals("+partnerSortValue"))
        {
           return PARTNER_SORT_VALUE_ASC;
        }
        else 
        if (hashCode.equals("+plays"))
        {
           return PLAYS_ASC;
        }
        else 
        if (hashCode.equals("+rank"))
        {
           return RANK_ASC;
        }
        else 
        if (hashCode.equals("+recent"))
        {
           return RECENT_ASC;
        }
        else 
        if (hashCode.equals("+startDate"))
        {
           return START_DATE_ASC;
        }
        else 
        if (hashCode.equals("+totalRank"))
        {
           return TOTAL_RANK_ASC;
        }
        else 
        if (hashCode.equals("+updatedAt"))
        {
           return UPDATED_AT_ASC;
        }
        else 
        if (hashCode.equals("+views"))
        {
           return VIEWS_ASC;
        }
        else 
        if (hashCode.equals("+weight"))
        {
           return WEIGHT_ASC;
        }
        else 
        if (hashCode.equals("-createdAt"))
        {
           return CREATED_AT_DESC;
        }
        else 
        if (hashCode.equals("-duration"))
        {
           return DURATION_DESC;
        }
        else 
        if (hashCode.equals("-endDate"))
        {
           return END_DATE_DESC;
        }
        else 
        if (hashCode.equals("-firstBroadcast"))
        {
           return FIRST_BROADCAST_DESC;
        }
        else 
        if (hashCode.equals("-lastBroadcast"))
        {
           return LAST_BROADCAST_DESC;
        }
        else 
        if (hashCode.equals("-lastPlayedAt"))
        {
           return LAST_PLAYED_AT_DESC;
        }
        else 
        if (hashCode.equals("-mediaType"))
        {
           return MEDIA_TYPE_DESC;
        }
        else 
        if (hashCode.equals("-moderationCount"))
        {
           return MODERATION_COUNT_DESC;
        }
        else 
        if (hashCode.equals("-name"))
        {
           return NAME_DESC;
        }
        else 
        if (hashCode.equals("-partnerSortValue"))
        {
           return PARTNER_SORT_VALUE_DESC;
        }
        else 
        if (hashCode.equals("-plays"))
        {
           return PLAYS_DESC;
        }
        else 
        if (hashCode.equals("-rank"))
        {
           return RANK_DESC;
        }
        else 
        if (hashCode.equals("-recent"))
        {
           return RECENT_DESC;
        }
        else 
        if (hashCode.equals("-startDate"))
        {
           return START_DATE_DESC;
        }
        else 
        if (hashCode.equals("-totalRank"))
        {
           return TOTAL_RANK_DESC;
        }
        else 
        if (hashCode.equals("-updatedAt"))
        {
           return UPDATED_AT_DESC;
        }
        else 
        if (hashCode.equals("-views"))
        {
           return VIEWS_DESC;
        }
        else 
        if (hashCode.equals("-weight"))
        {
           return WEIGHT_DESC;
        }
        else 
        {
           return CREATED_AT_ASC;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy