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

com.kaltura.client.enums.ESearchEntryFieldName 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

There is a newer version: 19.3.0
Show 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 ESearchEntryFieldName implements EnumAsString {
	ACCESS_CONTROL_ID("access_control_id"),
	ADMIN_TAGS("admin_tags"),
	CONVERSION_PROFILE_ID("conversion_profile_id"),
	CREATED_AT("created_at"),
	CREATOR_ID("creator_kuser_id"),
	CREDIT("credit"),
	DESCRIPTION("description"),
	END_DATE("end_date"),
	ENTITLED_USER_EDIT("entitled_kusers_edit"),
	ENTITLED_USER_PUBLISH("entitled_kusers_publish"),
	ENTITLED_USER_VIEW("entitled_kusers_view"),
	ENTRY_TYPE("entry_type"),
	EXTERNAL_SOURCE_TYPE("external_source_type"),
	ID("id"),
	IS_LIVE("is_live"),
	IS_QUIZ("is_quiz"),
	USER_ID("kuser_id"),
	LENGTH_IN_MSECS("length_in_msecs"),
	MEDIA_TYPE("media_type"),
	MODERATION_STATUS("moderation_status"),
	NAME("name"),
	PARENT_ENTRY_ID("parent_id"),
	PUSH_PUBLISH("push_publish"),
	RECORDED_ENTRY_ID("recorded_entry_id"),
	REDIRECT_ENTRY_ID("redirect_entry_id"),
	REFERENCE_ID("reference_id"),
	ROOT_ID("root_id"),
	SITE_URL("site_url"),
	SOURCE_TYPE("source_type"),
	START_DATE("start_date"),
	TAGS("tags"),
	TEMPLATE_ENTRY_ID("template_entry_id"),
	UPDATED_AT("updated_at"),
	USER_NAMES("user_names");

	private String value;

	ESearchEntryFieldName(String value) {
		this.value = value;
	}

	@Override
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public static ESearchEntryFieldName get(String value) {
		if(value == null)
		{
			return null;
		}
		
		// goes over ESearchEntryFieldName defined values and compare the inner value with the given one:
		for(ESearchEntryFieldName item: values()) {
			if(item.getValue().equals(value)) {
				return item;
			}
		}
		// in case the requested value was not found in the enum values, we return the first item as default.
		return ESearchEntryFieldName.values().length > 0 ? ESearchEntryFieldName.values()[0]: null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy