params) {
+ this.params = params;
+ }
+
+ public void setParam(String key, Object value){
+ params.put(key, value);
+ }
+
+ public Object getParam(String key){
+ return params.get(key);
+ }
+
+ public Object getParam(String key, Object defaultValue){
+ return params.containsKey(key) ? params.get(key) : defaultValue;
+ }
+
+ public int getConnectTimeout() {
+ return (int) params.get(ConnectTimeout);
+ }
+
+ public void setConnectTimeout(int connectTimeout) {
+ params.put(ConnectTimeout, connectTimeout);
+ }
+
+ public int getReadTimeout() {
+ return (int) params.get(ReadTimeout);
+ }
+
+ public void setReadTimeout(int readTimeout) {
+ params.put(ReadTimeout, readTimeout);
+ }
+
+ public int getWriteTimeout() {
+ return (int) params.get(WriteTimeout);
+ }
+
+ public void setWriteTimeout(int writeTimeout) {
+ params.put(WriteTimeout, writeTimeout);
+ }
+
+ /**
+ * Return whether to accept GZIP encoding, that is, whether to
+ * send the HTTP "Accept-Encoding" header with "gzip" as value.
+ */
+ public boolean getAcceptGzipEncoding(){
+ return (boolean) params.get(AcceptGzipEncoding);
+ }
+
+ /**
+ * Set whether to accept GZIP encoding, that is, whether to
+ * send the HTTP "Accept-Encoding" header with "gzip" as value.
+ * Default is "true". Turn this flag off if you do not want
+ * GZIP response compression even if enabled on the HTTP server.
+ *
+ * @param accept accept or not
+ */
+ public void setAcceptGzipEncoding(boolean accept){
+ params.put(AcceptGzipEncoding, accept);
+ }
+
+ public void setIgnoreSslDomainVerification(boolean ignore) {
+ params.put(IgnoreSslDomainVerification, ignore);
+ }
+
+ public void setMaxRetry(int retry) {
+ params.put(MaxRetry, retry);
+ }
+
+ public int getMaxRetry(int defaultVal) {
+ return params.containsKey(MaxRetry) ? (int) params.get(MaxRetry) : defaultVal;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/FileHolder.java b/KalturaClient/src/main/java/com/kaltura/client/FileHolder.java
new file mode 100644
index 000000000..cbf0dc67d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/FileHolder.java
@@ -0,0 +1,151 @@
+/**
+ * Copyright 2011 Unicon (R) Licensed under the
+ * Educational Community License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License. You may
+ * obtain a copy of the License at
+ *
+ * http://www.osedu.org/licenses/ECL-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an "AS IS"
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+package com.kaltura.client;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Serializable;
+
+/**
+ * This is an abstraction of a file which allows this construct to hold a File OR a Stream
+ *
+ * @author Aaron Zeckoski (azeckoski @ vt.edu)
+ */
+@SuppressWarnings("serial")
+public class FileHolder implements Serializable {
+
+ private String name;
+ private long size;
+ private File file;
+ private InputStream inputStream;
+ private String mimeType;
+
+ /**
+ * Create a KF from a File object
+ * @param file the file (must not be null)
+ */
+ public FileHolder(File file) {
+ if (file == null) {
+ throw new IllegalArgumentException("file must be set");
+ }
+ if (! file.canRead() || ! file.isFile()) {
+ throw new IllegalArgumentException("file ("+file.getAbsolutePath()+") is not readable or not a file");
+ }
+ this.file = file;
+ this.name = this.file.getName();
+ this.size = this.file.length();
+
+ try {
+ this.mimeType = this.file.toURI().toURL().openConnection().getContentType();
+ } catch (IOException e) {
+ this.mimeType = "application/octet-stream";
+ }
+ }
+
+ /**
+ * Create a KF from a FileInputStream object
+ * @param fileInputStream the file stream (must not be null)
+ * @param mimeType mime type
+ * @param name the file name
+ */
+ public FileHolder(FileInputStream fileInputStream, String mimeType, String name) {
+ if (fileInputStream == null) {
+ throw new IllegalArgumentException("fileInputStream must be set");
+ }
+ if (name == null || "".equals(name)) {
+ throw new IllegalArgumentException("name must be set");
+ }
+ this.inputStream = fileInputStream;
+ this.name = name;
+ this.mimeType = mimeType;
+ try {
+ this.size = fileInputStream.getChannel().size();
+ } catch (IOException e) {
+ // should not happen
+ throw new RuntimeException("Failure trying to read info from inptustream: "+e, e);
+ }
+ }
+
+ /**
+ * Create a KF from a normal input stream and some params
+ * @param inputStream the file content stream (must not be null)
+ * @param mimeType mime type
+ * @param name the file name
+ * @param size the file size
+ */
+ public FileHolder(InputStream inputStream, String mimeType, String name, long size) {
+ if (inputStream == null) {
+ throw new IllegalArgumentException("fileInputStream must be set");
+ }
+ if (name == null || "".equals(name)) {
+ throw new IllegalArgumentException("name must be set");
+ }
+ if (size <= 0) {
+ throw new IllegalArgumentException("size must be set");
+ }
+ this.inputStream = inputStream;
+ this.name = name;
+ this.mimeType = mimeType;
+ this.size = size;
+ }
+
+ /**
+ * @return the name for the file (is NEVER null)
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @return the File object if one is set (this can be null)
+ */
+ public File getFile() {
+ return file;
+ }
+
+ /**
+ * @return the size of this file
+ */
+ public long getSize() {
+ return size;
+ }
+
+ /**
+ * @return the mime-type this file
+ */
+ public String getMimeType() {
+ return mimeType;
+ }
+
+ /**
+ * @return the input stream for this File (this is NEVER null)
+ */
+ public InputStream getInputStream() {
+ InputStream fis = inputStream;
+ if (inputStream == null && file != null) {
+ try {
+ fis = new FileInputStream(file);
+ } catch (FileNotFoundException e) {
+ // should not be possible for this to happen
+ throw new IllegalArgumentException("file ("+file.getAbsolutePath()+") is not readable or not a file");
+ }
+ }
+ return fis;
+ }
+
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/Files.java b/KalturaClient/src/main/java/com/kaltura/client/Files.java
new file mode 100644
index 000000000..15f9b9800
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/Files.java
@@ -0,0 +1,60 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+import java.util.HashMap;
+
+/**
+ * Helper class that provides a collection of Files.
+ *
+ * @author jpotts
+ * @author azeckoski
+ *
+ */
+public class Files extends HashMap {
+
+ private static final long serialVersionUID = -5838275045069221834L;
+
+ private static final String PARAMS_SEPERATOR = ":";
+
+ public void add(Files files) {
+ this.putAll(files);
+ }
+
+ public void add(String objectName, Files files) {
+ for (java.util.Map.Entry itr : files.entrySet()) {
+ this.put(objectName + PARAMS_SEPERATOR + itr.getKey(), itr.getValue());
+ }
+ }
+
+ public void add(String key, FileHolder value) {
+ if (value == null)
+ return;
+ this.put(key, value);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/ILogger.java b/KalturaClient/src/main/java/com/kaltura/client/ILogger.java
new file mode 100644
index 000000000..d8438a075
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/ILogger.java
@@ -0,0 +1,20 @@
+package com.kaltura.client;
+
+public interface ILogger {
+
+ public boolean isEnabled();
+
+ public void trace(Object message);
+ public void debug(Object message);
+ public void info(Object message);
+ public void warn(Object message);
+ public void error(Object message);
+ public void fatal(Object message);
+
+ public void trace(Object message, Throwable t);
+ public void debug(Object message, Throwable t);
+ public void info(Object message, Throwable t);
+ public void warn(Object message, Throwable t);
+ public void error(Object message, Throwable t);
+ public void fatal(Object message, Throwable t);
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/Logger.java b/KalturaClient/src/main/java/com/kaltura/client/Logger.java
new file mode 100644
index 000000000..209ed375a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/Logger.java
@@ -0,0 +1,64 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+import com.kaltura.client.LoggerAndroid;
+
+abstract public class Logger implements ILogger
+{
+ // Creation & retrieval methods:
+ public static Logger getLogger(String name)
+ {
+ return LoggerAndroid.getLogger(name);
+ }
+
+ public static Logger getLogger(Class> clazz)
+ {
+ return getLogger(clazz.getName());
+ }
+
+ public boolean isEnabled()
+ {
+ return true;
+ }
+
+ // printing methods:
+ abstract public void trace(Object message);
+ abstract public void debug(Object message);
+ abstract public void info(Object message);
+ abstract public void warn(Object message);
+ abstract public void error(Object message);
+ abstract public void fatal(Object message);
+
+ abstract public void trace(Object message, Throwable t);
+ abstract public void debug(Object message, Throwable t);
+ abstract public void info(Object message, Throwable t);
+ abstract public void warn(Object message, Throwable t);
+ abstract public void error(Object message, Throwable t);
+ abstract public void fatal(Object message, Throwable t);
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/LoggerAndroid.java b/KalturaClient/src/main/java/com/kaltura/client/LoggerAndroid.java
new file mode 100644
index 000000000..af9752a13
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/LoggerAndroid.java
@@ -0,0 +1,107 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+import android.util.Log;
+
+public class LoggerAndroid extends Logger
+{
+ protected String tag;
+
+ // Creation & retrieval methods:
+ public static Logger getLogger(String name)
+ {
+ return new LoggerAndroid(name);
+ }
+
+ protected LoggerAndroid(String name)
+ {
+ this.tag = name;
+ }
+
+ // printing methods:
+ public void trace(Object message)
+ {
+ Log.v(this.tag, message.toString());
+ }
+
+ public void debug(Object message)
+ {
+ Log.d(this.tag, message.toString());
+ }
+
+ public void info(Object message)
+ {
+ Log.i(this.tag, message.toString());
+ }
+
+ public void warn(Object message)
+ {
+ Log.w(this.tag, message.toString());
+ }
+
+ public void error(Object message)
+ {
+ Log.e(this.tag, message.toString());
+ }
+
+ public void fatal(Object message)
+ {
+ Log.wtf(this.tag, message.toString());
+ }
+
+ public void trace(Object message, Throwable t)
+ {
+ Log.v(this.tag, message.toString(), t);
+ }
+
+ public void debug(Object message, Throwable t)
+ {
+ Log.d(this.tag, message.toString(), t);
+ }
+
+ public void info(Object message, Throwable t)
+ {
+ Log.i(this.tag, message.toString(), t);
+ }
+
+ public void warn(Object message, Throwable t)
+ {
+ Log.w(this.tag, message.toString(), t);
+ }
+
+ public void error(Object message, Throwable t)
+ {
+ Log.e(this.tag, message.toString(), t);
+ }
+
+ public void fatal(Object message, Throwable t)
+ {
+ Log.wtf(this.tag, message.toString(), t);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/LoggerNull.java b/KalturaClient/src/main/java/com/kaltura/client/LoggerNull.java
new file mode 100644
index 000000000..ba75081aa
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/LoggerNull.java
@@ -0,0 +1,95 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+public class LoggerNull implements ILogger
+{
+ // Creation & retrieval methods:
+ public static ILogger getLogger(String name)
+ {
+ return new LoggerNull(name);
+ }
+
+ protected LoggerNull(String name)
+ {
+ }
+
+ public boolean isEnabled()
+ {
+ return false;
+ }
+
+ // printing methods:
+ public void trace(Object message)
+ {
+ }
+
+ public void debug(Object message)
+ {
+ }
+
+ public void info(Object message)
+ {
+ }
+
+ public void warn(Object message)
+ {
+ }
+
+ public void error(Object message)
+ {
+ }
+
+ public void fatal(Object message)
+ {
+ }
+
+ public void trace(Object message, Throwable t)
+ {
+ }
+
+ public void debug(Object message, Throwable t)
+ {
+ }
+
+ public void info(Object message, Throwable t)
+ {
+ }
+
+ public void warn(Object message, Throwable t)
+ {
+ }
+
+ public void error(Object message, Throwable t)
+ {
+ }
+
+ public void fatal(Object message, Throwable t)
+ {
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/LoggerOut.java b/KalturaClient/src/main/java/com/kaltura/client/LoggerOut.java
new file mode 100644
index 000000000..9fc6394c1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/LoggerOut.java
@@ -0,0 +1,88 @@
+package com.kaltura.client;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+/**
+ * Created by tehilarozin on 24/08/2016.
+ */
+public class LoggerOut implements ILogger {
+ @Override
+ public boolean isEnabled() {
+ return true;
+ }
+
+ @Override
+ public void trace(Object message) {
+ systemOutMsg("trace: ", message);
+ }
+
+ @Override
+ public void debug(Object message) {
+ systemOutMsg("debug: ", message);
+ }
+
+ @Override
+ public void info(Object message) {
+ systemOutMsg(">> info: ", message);
+ }
+
+ @Override
+ public void warn(Object message) {
+ systemOutMsg("# warn: ", message);
+ }
+
+ @Override
+ public void error(Object message) {
+ systemOutMsg("** error: ", message);
+ }
+
+ @Override
+ public void fatal(Object message) {
+ systemOutMsg("!! fatal: ", message);
+ }
+
+ @Override
+ public void trace(Object message, Throwable t) {
+ systemOutMsg("traceThrowable: ", message + "\n "+t);
+ }
+
+ @Override
+ public void debug(Object message, Throwable t) {
+ systemOutMsg("debugThrowable: ", message + "\n "+t);
+ }
+
+ @Override
+ public void info(Object message, Throwable t) {
+ systemOutMsg(">> infoThrowable: ", message + "\n "+t);
+ }
+
+ @Override
+ public void warn(Object message, Throwable t) {
+ systemOutMsg("# warnThrowable: ", message + "\n "+t);
+ }
+
+ @Override
+ public void error(Object message, Throwable t) {
+ systemOutMsg("** errorThrowable: ", message + "\n "+t);
+ }
+
+ @Override
+ public void fatal(Object message, Throwable t) {
+ systemOutMsg("!! fatalThrowable: ", message + "\n "+t);
+ }
+
+
+ private void systemOutMsg(String prefix, Object message) {
+ System.out.println(getTime() + prefix + message+"\n");
+ }
+
+ public static ILogger getLogger(String name) {
+ return new LoggerOut();
+ }
+
+ public static String getTime(){
+ return new SimpleDateFormat("HH.mm.ss.SSS").format(new Date()) + ": ";
+ }
+
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/ObjectFactory.java b/KalturaClient/src/main/java/com/kaltura/client/ObjectFactory.java
new file mode 100644
index 000000000..131d7e7ca
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/ObjectFactory.java
@@ -0,0 +1,78 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+import com.kaltura.client.types.APIException;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+import java.lang.reflect.Constructor;
+
+/**
+ * This class was generated using generate.php
+ * against an XML schema provided by Kaltura.
+ * @date Thu, 09 Feb 12 10:24:52 +0200
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ObjectFactory {
+
+ @SuppressWarnings("unchecked")
+ public static T create(Element xmlElement, Class fallbackClazz) throws APIException {
+ NodeList objectTypeNodes = xmlElement.getElementsByTagName("objectType");
+ Node objectTypeNode = objectTypeNodes.item(0);
+
+ Class clazz = null;
+ if (objectTypeNode != null) {
+ String objectType = objectTypeNode.getTextContent();
+
+ try {
+ clazz = (Class) Class.forName("com.kaltura.client.types." + objectType);
+ } catch (ClassNotFoundException e1) {
+ clazz = null;
+ }
+ }
+
+ if(clazz == null){
+ if(fallbackClazz != null) {
+ clazz = fallbackClazz;
+ } else {
+ throw new APIException("Invalid object type" );
+ }
+ }
+
+ try {
+ Constructor> ctor = clazz.getConstructor(Element.class);
+ return (T) ctor.newInstance(xmlElement);
+ } catch (Exception e) {
+ throw new APIException("Failed to construct object");
+ }
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/Params.java b/KalturaClient/src/main/java/com/kaltura/client/Params.java
new file mode 100644
index 000000000..48e660237
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/Params.java
@@ -0,0 +1,327 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+import com.google.gson.Gson;
+import com.kaltura.client.enums.EnumAsInt;
+import com.kaltura.client.enums.EnumAsString;
+import com.kaltura.client.types.APIException;
+import com.kaltura.client.types.ObjectBase;
+
+import java.io.Serializable;
+import java.util.*;
+
+/**
+ * Helper class that provides a collection of Kaltura parameters (key-value
+ * pairs).
+ *
+ * @author jpotts
+ *
+ */
+@SuppressWarnings("serial")
+public class Params extends LinkedHashMap implements Serializable {
+
+ private static Gson gson = new Gson();
+
+ public String toQueryString() {
+ return toQueryString(null);
+ }
+
+ public String toQueryString(String prefix) {
+
+ StringBuffer str = new StringBuffer();
+ Object value;
+
+ for (String key : getKeys()) {
+ if(!containsKey(key)){
+ continue;
+ }
+
+ if (str.length() > 0) {
+ str.append("&");
+ }
+
+ value = get(key);
+
+ if (prefix != null) {
+ key = prefix + "[" + key + "]";
+ }
+ if (value instanceof Params) {
+ str.append(((Params) value).toQueryString(key));
+ } else {
+ str.append(key);
+ str.append("=");
+ str.append(value);
+ }
+ }
+
+ return str.toString();
+ }
+
+ public void add(String key, Integer value) {
+ if (value == null || value == ParamsValueDefaults.KALTURA_UNDEF_INT) {
+ return;
+ }
+
+ if (value == ParamsValueDefaults.KALTURA_NULL_INT) {
+ putNull(key);
+ return;
+ }
+
+ if(key != null) {
+ put(key, value);
+ }
+ }
+
+ public void add(String key, Long value) {
+ if (value == null || value == ParamsValueDefaults.KALTURA_UNDEF_LONG) {
+ return;
+ }
+ if (value == ParamsValueDefaults.KALTURA_NULL_LONG) {
+ putNull(key);
+ return;
+ }
+
+ if(key != null) {
+ put(key, value);
+ }
+ }
+
+ public void add(String key, Double value) {
+ if (value == null || value == ParamsValueDefaults.KALTURA_UNDEF_DOUBLE) {
+ return;
+ }
+ if (value == ParamsValueDefaults.KALTURA_NULL_DOUBLE) {
+ putNull(key);
+ return;
+ }
+
+ if(key != null) {
+ put(key, value);
+ }
+ }
+
+ public void add(String key, Boolean value) {
+ if (value == null) {
+ return;
+ }
+
+ put(key, value);
+ }
+
+
+ public void add(String key, String value) {
+ if (value == null) {
+ return;
+ }
+
+ if (value.equals(ParamsValueDefaults.KALTURA_NULL_STRING)) {
+ putNull(key);
+ return;
+ }
+
+ if(key != null) {
+ put(key, value);
+ }
+ }
+
+ public void add(String key, ObjectBase object) {
+ if (object == null || key == null)
+ return;
+
+
+ put(key, object.toParams());
+ }
+
+ public void add(String key, List array) {
+ if (array == null)
+ return;
+
+ if (array.isEmpty()) {
+ Params emptyParams = new Params();
+ emptyParams.put("-", "");
+ put(key, emptyParams);
+
+ } else if(array.get(0) instanceof ObjectBase) {
+ List list = new ArrayList();
+ for(ObjectBase item : array) {
+ list.add(item.toParams());
+ }
+ put(key, list);
+ }
+ else {
+ List list = new ArrayList();
+ for(ObjectBase item : array) {
+ list.add(item.toString());
+ }
+ put(key, list);
+ }
+ }
+
+ public void link(String destKey, String requestId, String sourceKey) {
+ String source = "{" + requestId + ":result:" + sourceKey.replace(".", ":") + "}";
+ Deque destinationKeys = new LinkedList(Arrays.asList(destKey.split("\\.")));
+ link(destinationKeys, source);
+ }
+
+ @SuppressWarnings({ "unchecked", "rawtypes" })
+ protected void link(Deque destinationKeys, String source) {
+ String destination = destinationKeys.pollFirst();
+ if(destinationKeys.size() == 0) {
+ put(destination, source);
+ }
+ else if(destinationKeys.getFirst().matches("^\\d+$")) {
+ int index = Integer.valueOf(destinationKeys.pollFirst());
+ List destinationList;
+ if(containsKey(destination) && get(destination) instanceof List) {
+ destinationList = (List) get(destination);
+ }
+ else {
+ destinationList = new ArrayList();
+ }
+
+ if(destinationKeys.size() == 0) {
+ destinationList.set(index, source);
+ }
+ else {
+ Params destinationParams;
+ if(destinationList.size() > index && destinationList.get(index) instanceof Params) {
+ destinationParams = (Params) destinationList.get(index);
+ }
+ else {
+ destinationParams = new Params();
+ destinationList.add(destinationParams);
+ }
+ destinationParams.link(destinationKeys, source);
+ }
+ }
+ else {
+ Params destinationParams = null;
+ if(containsKey(destination) && get(destination) instanceof Params) {
+ destinationParams = (Params) get(destination);
+ }
+ else {
+ destinationParams = new Params();
+ put(destination, destinationParams);
+ }
+ destinationParams.link(destinationKeys, source);
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ public void add(String key, Map map) {
+ if (map == null)
+ return;
+
+ if (map.isEmpty()) {
+ Params emptyParams = new Params();
+ emptyParams.put("-", "");
+ put(key, emptyParams);
+
+ }
+ else {
+ Map items = new HashMap();
+ for(String subKey : map.keySet()) {
+ items.put(subKey, map.get(subKey).toParams());
+ }
+
+ if (containsKey(key) && get(key) instanceof Map) {
+ Map existingKeys = (Map) get(key);
+ existingKeys.putAll(items);
+ } else {
+ put(key, items);
+ }
+ }
+ }
+
+ public Iterable getKeys() {
+ return keySet();
+ }
+
+ public void add(String key, Params params) {
+ put(key, params);
+ }
+
+ protected void putNull(String key) {
+ put(key + "__null", "");
+ }
+
+ /**
+ * Pay attention - this function does not support setting value to null.
+ *
+ * @param key param name
+ * @param value param value
+ */
+ public void add(String key, EnumAsString value) {
+ if (value == null)
+ return;
+
+ add(key, value.getValue());
+ }
+
+ /**
+ * Pay attention - this function does not support setting value to null.
+ *
+ * @param key param name
+ * @param value param value
+ */
+ public void add(String key, EnumAsInt value) {
+ if (value == null)
+ return;
+
+ add(key, value.getValue());
+ }
+
+ /*public boolean containsKey(String key) {
+ return containsKey(key);
+ }*/
+
+ public void clear() {
+ for (Object key : getKeys()) {
+ remove((String) key);
+ }
+ }
+
+ public Params getParams(String key) throws APIException {
+ if (!containsKey(key))
+ return null;
+
+ Object value = get(key);
+
+ if (value instanceof Params)
+ return (Params) value;
+
+ throw new APIException("Key value [" + key
+ + "] is not instance of Params");
+ }
+
+ @Override
+ public String toString() {
+ return gson.toJson(this);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/ParamsValueDefaults.java b/KalturaClient/src/main/java/com/kaltura/client/ParamsValueDefaults.java
new file mode 100644
index 000000000..81c83b828
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/ParamsValueDefaults.java
@@ -0,0 +1,47 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client;
+
+/**
+ * This file contains constant values that when arrives from the server requires
+ * special behavior.
+ */
+public final class ParamsValueDefaults {
+
+ public static final int KALTURA_UNDEF_INT = Integer.MIN_VALUE;
+ public static final int KALTURA_NULL_INT = Integer.MAX_VALUE;
+
+ public static final double KALTURA_UNDEF_DOUBLE = Double.MIN_VALUE;
+ public static final double KALTURA_NULL_DOUBLE = Double.MAX_VALUE;
+
+ public static final long KALTURA_UNDEF_LONG = Long.MIN_VALUE;
+ public static final long KALTURA_NULL_LONG = Long.MAX_VALUE;
+
+ public static final String KALTURA_NULL_STRING = "__null_string__";
+
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/RequestQueue.java b/KalturaClient/src/main/java/com/kaltura/client/RequestQueue.java
new file mode 100644
index 000000000..47cc0f0b4
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/RequestQueue.java
@@ -0,0 +1,26 @@
+package com.kaltura.client;
+
+import com.kaltura.client.utils.request.ConnectionConfiguration;
+import com.kaltura.client.utils.request.RequestElement;
+import com.kaltura.client.utils.response.base.Response;
+
+public interface RequestQueue {
+
+ void setDefaultConfiguration(ConnectionConfiguration config);
+
+ @SuppressWarnings("rawtypes")
+ String queue(RequestElement request);
+
+ @SuppressWarnings("rawtypes")
+ Response> execute(RequestElement request);
+
+ void cancelRequest(String reqId);
+
+ void clearRequests();
+
+ boolean isEmpty();
+
+ void enableLogs(boolean enable);
+
+ void enableLogResponseHeader(String header, boolean log);
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AdsPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AdsPolicy.java
new file mode 100644
index 000000000..8f6d3f5d9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AdsPolicy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AdsPolicy implements EnumAsString {
+ NO_ADS("NO_ADS"),
+ KEEP_ADS("KEEP_ADS");
+
+ private String value;
+
+ AdsPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AdsPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AdsPolicy defined values and compare the inner value with the given one:
+ for(AdsPolicy 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 AdsPolicy.values().length > 0 ? AdsPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationCountOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationCountOrderBy.java
new file mode 100644
index 000000000..8f20b020d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationCountOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AggregationCountOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AggregationCountOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AggregationCountOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AggregationCountOrderBy defined values and compare the inner value with the given one:
+ for(AggregationCountOrderBy 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 AggregationCountOrderBy.values().length > 0 ? AggregationCountOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationType.java
new file mode 100644
index 000000000..f0049efb4
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AggregationType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AggregationType implements EnumAsString {
+ COUNT("Count"),
+ SUM("Sum"),
+ AVG("Avg");
+
+ private String value;
+
+ AggregationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AggregationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AggregationType defined values and compare the inner value with the given one:
+ for(AggregationType 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 AggregationType.values().length > 0 ? AggregationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementOrderBy.java
new file mode 100644
index 000000000..06518334f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AnnouncementOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AnnouncementOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AnnouncementOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AnnouncementOrderBy defined values and compare the inner value with the given one:
+ for(AnnouncementOrderBy 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 AnnouncementOrderBy.values().length > 0 ? AnnouncementOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementRecipientsType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementRecipientsType.java
new file mode 100644
index 000000000..a21dd8c62
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementRecipientsType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AnnouncementRecipientsType implements EnumAsString {
+ ALL("All"),
+ LOGGEDIN("LoggedIn"),
+ GUESTS("Guests"),
+ OTHER("Other");
+
+ private String value;
+
+ AnnouncementRecipientsType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AnnouncementRecipientsType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AnnouncementRecipientsType defined values and compare the inner value with the given one:
+ for(AnnouncementRecipientsType 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 AnnouncementRecipientsType.values().length > 0 ? AnnouncementRecipientsType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementStatus.java
new file mode 100644
index 000000000..28c1936a5
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AnnouncementStatus.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AnnouncementStatus implements EnumAsString {
+ NOTSENT("NotSent"),
+ SENDING("Sending"),
+ SENT("Sent"),
+ ABORTED("Aborted");
+
+ private String value;
+
+ AnnouncementStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AnnouncementStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AnnouncementStatus defined values and compare the inner value with the given one:
+ for(AnnouncementStatus 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 AnnouncementStatus.values().length > 0 ? AnnouncementStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ApiAction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiAction.java
new file mode 100644
index 000000000..39188e078
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiAction.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ApiAction implements EnumAsString {
+ ADD("ADD");
+
+ private String value;
+
+ ApiAction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ApiAction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ApiAction defined values and compare the inner value with the given one:
+ for(ApiAction 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 ApiAction.values().length > 0 ? ApiAction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ApiParameterPermissionItemAction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiParameterPermissionItemAction.java
new file mode 100644
index 000000000..57749782e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiParameterPermissionItemAction.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ApiParameterPermissionItemAction implements EnumAsString {
+ READ("READ"),
+ INSERT("INSERT"),
+ UPDATE("UPDATE"),
+ WRITE("WRITE"),
+ ALL("ALL");
+
+ private String value;
+
+ ApiParameterPermissionItemAction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ApiParameterPermissionItemAction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ApiParameterPermissionItemAction defined values and compare the inner value with the given one:
+ for(ApiParameterPermissionItemAction 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 ApiParameterPermissionItemAction.values().length > 0 ? ApiParameterPermissionItemAction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ApiService.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiService.java
new file mode 100644
index 000000000..a2e317b1b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ApiService.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ApiService implements EnumAsString {
+ HOUSEHOLD_DEVICE("HOUSEHOLD_DEVICE");
+
+ private String value;
+
+ ApiService(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ApiService get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ApiService defined values and compare the inner value with the given one:
+ for(ApiService 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 ApiService.values().length > 0 ? ApiService.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AppTokenHashType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AppTokenHashType.java
new file mode 100644
index 000000000..e449737f3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AppTokenHashType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AppTokenHashType implements EnumAsString {
+ SHA1("SHA1"),
+ SHA256("SHA256"),
+ SHA512("SHA512"),
+ MD5("MD5");
+
+ private String value;
+
+ AppTokenHashType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AppTokenHashType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AppTokenHashType defined values and compare the inner value with the given one:
+ for(AppTokenHashType 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 AppTokenHashType.values().length > 0 ? AppTokenHashType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetCommentOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetCommentOrderBy.java
new file mode 100644
index 000000000..b575f0112
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetCommentOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetCommentOrderBy implements EnumAsString {
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ AssetCommentOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetCommentOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetCommentOrderBy defined values and compare the inner value with the given one:
+ for(AssetCommentOrderBy 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 AssetCommentOrderBy.values().length > 0 ? AssetCommentOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetFilePpvOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetFilePpvOrderBy.java
new file mode 100644
index 000000000..5e3995ed3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetFilePpvOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetFilePpvOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AssetFilePpvOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetFilePpvOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetFilePpvOrderBy defined values and compare the inner value with the given one:
+ for(AssetFilePpvOrderBy 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 AssetFilePpvOrderBy.values().length > 0 ? AssetFilePpvOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetHistoryOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetHistoryOrderBy.java
new file mode 100644
index 000000000..9f6a7b823
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetHistoryOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetHistoryOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AssetHistoryOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetHistoryOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetHistoryOrderBy defined values and compare the inner value with the given one:
+ for(AssetHistoryOrderBy 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 AssetHistoryOrderBy.values().length > 0 ? AssetHistoryOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetImagePerRatioOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetImagePerRatioOrderBy.java
new file mode 100644
index 000000000..f72b728f5
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetImagePerRatioOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetImagePerRatioOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AssetImagePerRatioOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetImagePerRatioOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetImagePerRatioOrderBy defined values and compare the inner value with the given one:
+ for(AssetImagePerRatioOrderBy 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 AssetImagePerRatioOrderBy.values().length > 0 ? AssetImagePerRatioOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetIndexStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetIndexStatus.java
new file mode 100644
index 000000000..963c5ff21
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetIndexStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetIndexStatus implements EnumAsString {
+ OK("Ok"),
+ DELETED("Deleted"),
+ NOTUPDATED("NotUpdated");
+
+ private String value;
+
+ AssetIndexStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetIndexStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetIndexStatus defined values and compare the inner value with the given one:
+ for(AssetIndexStatus 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 AssetIndexStatus.values().length > 0 ? AssetIndexStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetInheritancePolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetInheritancePolicy.java
new file mode 100644
index 000000000..66fa8ca2d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetInheritancePolicy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetInheritancePolicy implements EnumAsString {
+ ENABLE("Enable"),
+ DISABLE("Disable");
+
+ private String value;
+
+ AssetInheritancePolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetInheritancePolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetInheritancePolicy defined values and compare the inner value with the given one:
+ for(AssetInheritancePolicy 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 AssetInheritancePolicy.values().length > 0 ? AssetInheritancePolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleActionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleActionType.java
new file mode 100644
index 000000000..5d7f281ea
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleActionType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetLifeCycleRuleActionType implements EnumAsString {
+ ADD("ADD"),
+ REMOVE("REMOVE");
+
+ private String value;
+
+ AssetLifeCycleRuleActionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetLifeCycleRuleActionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetLifeCycleRuleActionType defined values and compare the inner value with the given one:
+ for(AssetLifeCycleRuleActionType 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 AssetLifeCycleRuleActionType.values().length > 0 ? AssetLifeCycleRuleActionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleTransitionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleTransitionType.java
new file mode 100644
index 000000000..b0c519906
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetLifeCycleRuleTransitionType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetLifeCycleRuleTransitionType implements EnumAsString {
+ TAG("TAG"),
+ BUSINESS_MODEL("BUSINESS_MODEL");
+
+ private String value;
+
+ AssetLifeCycleRuleTransitionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetLifeCycleRuleTransitionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetLifeCycleRuleTransitionType defined values and compare the inner value with the given one:
+ for(AssetLifeCycleRuleTransitionType 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 AssetLifeCycleRuleTransitionType.values().length > 0 ? AssetLifeCycleRuleTransitionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderBy.java
new file mode 100644
index 000000000..43e8cd286
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderBy.java
@@ -0,0 +1,79 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetOrderBy implements EnumAsString {
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ VIEWS_DESC("VIEWS_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ LIKES_DESC("LIKES_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ AssetOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetOrderBy defined values and compare the inner value with the given one:
+ for(AssetOrderBy 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 AssetOrderBy.values().length > 0 ? AssetOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByStatistics.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByStatistics.java
new file mode 100644
index 000000000..77c207767
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByStatistics.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetOrderByStatistics implements EnumAsString {
+ VIEWS_DESC("VIEWS_DESC");
+
+ private String value;
+
+ AssetOrderByStatistics(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetOrderByStatistics get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetOrderByStatistics defined values and compare the inner value with the given one:
+ for(AssetOrderByStatistics 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 AssetOrderByStatistics.values().length > 0 ? AssetOrderByStatistics.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByType.java
new file mode 100644
index 000000000..ffb3af359
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetOrderByType.java
@@ -0,0 +1,78 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetOrderByType implements EnumAsString {
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ LIKES_DESC("LIKES_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ AssetOrderByType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetOrderByType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetOrderByType defined values and compare the inner value with the given one:
+ for(AssetOrderByType 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 AssetOrderByType.values().length > 0 ? AssetOrderByType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetPersonalMarkupSearchOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetPersonalMarkupSearchOrderBy.java
new file mode 100644
index 000000000..0c37bf82b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetPersonalMarkupSearchOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetPersonalMarkupSearchOrderBy implements EnumAsString {
+ NONE("NONE"),
+ REQUEST_ORDER("REQUEST_ORDER");
+
+ private String value;
+
+ AssetPersonalMarkupSearchOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetPersonalMarkupSearchOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetPersonalMarkupSearchOrderBy defined values and compare the inner value with the given one:
+ for(AssetPersonalMarkupSearchOrderBy 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 AssetPersonalMarkupSearchOrderBy.values().length > 0 ? AssetPersonalMarkupSearchOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReferenceType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReferenceType.java
new file mode 100644
index 000000000..00329642e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReferenceType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetReferenceType implements EnumAsString {
+ MEDIA("media"),
+ EPG_INTERNAL("epg_internal"),
+ EPG_EXTERNAL("epg_external"),
+ NPVR("npvr");
+
+ private String value;
+
+ AssetReferenceType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetReferenceType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetReferenceType defined values and compare the inner value with the given one:
+ for(AssetReferenceType 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 AssetReferenceType.values().length > 0 ? AssetReferenceType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReminderOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReminderOrderBy.java
new file mode 100644
index 000000000..3aba1f8e3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetReminderOrderBy.java
@@ -0,0 +1,77 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetReminderOrderBy implements EnumAsString {
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ VIEWS_DESC("VIEWS_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ LIKES_DESC("LIKES_DESC");
+
+ private String value;
+
+ AssetReminderOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetReminderOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetReminderOrderBy defined values and compare the inner value with the given one:
+ for(AssetReminderOrderBy 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 AssetReminderOrderBy.values().length > 0 ? AssetReminderOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleOrderBy.java
new file mode 100644
index 000000000..5ca4b0624
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleOrderBy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetRuleOrderBy implements EnumAsString {
+ NONE("NONE"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ AssetRuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetRuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetRuleOrderBy defined values and compare the inner value with the given one:
+ for(AssetRuleOrderBy 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 AssetRuleOrderBy.values().length > 0 ? AssetRuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleStatus.java
new file mode 100644
index 000000000..276f2e370
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetRuleStatus.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetRuleStatus implements EnumAsString {
+ READY("READY"),
+ IN_PROGRESS("IN_PROGRESS");
+
+ private String value;
+
+ AssetRuleStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetRuleStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetRuleStatus defined values and compare the inner value with the given one:
+ for(AssetRuleStatus 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 AssetRuleStatus.values().length > 0 ? AssetRuleStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructMetaOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructMetaOrderBy.java
new file mode 100644
index 000000000..736c0f57c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructMetaOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetStructMetaOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AssetStructMetaOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetStructMetaOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetStructMetaOrderBy defined values and compare the inner value with the given one:
+ for(AssetStructMetaOrderBy 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 AssetStructMetaOrderBy.values().length > 0 ? AssetStructMetaOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructOrderBy.java
new file mode 100644
index 000000000..27f1de6c8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetStructOrderBy.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetStructOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ SYSTEM_NAME_ASC("SYSTEM_NAME_ASC"),
+ SYSTEM_NAME_DESC("SYSTEM_NAME_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ AssetStructOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetStructOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetStructOrderBy defined values and compare the inner value with the given one:
+ for(AssetStructOrderBy 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 AssetStructOrderBy.values().length > 0 ? AssetStructOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetType.java
new file mode 100644
index 000000000..a3c68e0d1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetType implements EnumAsString {
+ MEDIA("media"),
+ RECORDING("recording"),
+ EPG("epg");
+
+ private String value;
+
+ AssetType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetType defined values and compare the inner value with the given one:
+ for(AssetType 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 AssetType.values().length > 0 ? AssetType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/AssetUserRuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetUserRuleOrderBy.java
new file mode 100644
index 000000000..e935f7593
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/AssetUserRuleOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum AssetUserRuleOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ AssetUserRuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static AssetUserRuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over AssetUserRuleOrderBy defined values and compare the inner value with the given one:
+ for(AssetUserRuleOrderBy 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 AssetUserRuleOrderBy.values().length > 0 ? AssetUserRuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BillingAction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingAction.java
new file mode 100644
index 000000000..0a14ee9d5
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingAction.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BillingAction implements EnumAsString {
+ UNKNOWN("unknown"),
+ PURCHASE("purchase"),
+ RENEW_PAYMENT("renew_payment"),
+ RENEW_CANCELED_SUBSCRIPTION("renew_canceled_subscription"),
+ CANCEL_SUBSCRIPTION_ORDER("cancel_subscription_order"),
+ SUBSCRIPTION_DATE_CHANGED("subscription_date_changed"),
+ PENDING("pending");
+
+ private String value;
+
+ BillingAction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BillingAction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BillingAction defined values and compare the inner value with the given one:
+ for(BillingAction 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 BillingAction.values().length > 0 ? BillingAction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BillingItemsType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingItemsType.java
new file mode 100644
index 000000000..102ef39f9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingItemsType.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BillingItemsType implements EnumAsString {
+ UNKNOWN("unknown"),
+ PPV("ppv"),
+ SUBSCRIPTION("subscription"),
+ PRE_PAID("pre_paid"),
+ PRE_PAID_EXPIRED("pre_paid_expired"),
+ COLLECTION("collection"),
+ PROGRAM_ASSET_GROUP_OFFER("program_asset_group_offer");
+
+ private String value;
+
+ BillingItemsType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BillingItemsType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BillingItemsType defined values and compare the inner value with the given one:
+ for(BillingItemsType 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 BillingItemsType.values().length > 0 ? BillingItemsType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BillingPriceType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingPriceType.java
new file mode 100644
index 000000000..8a59198cb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BillingPriceType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BillingPriceType implements EnumAsString {
+ FULLPERIOD("FullPeriod"),
+ PARTIALPERIOD("PartialPeriod");
+
+ private String value;
+
+ BillingPriceType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BillingPriceType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BillingPriceType defined values and compare the inner value with the given one:
+ for(BillingPriceType 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 BillingPriceType.values().length > 0 ? BillingPriceType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkActionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkActionType.java
new file mode 100644
index 000000000..ac228199d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkActionType.java
@@ -0,0 +1,82 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BookmarkActionType implements EnumAsString {
+ HIT("HIT"),
+ PLAY("PLAY"),
+ STOP("STOP"),
+ PAUSE("PAUSE"),
+ FIRST_PLAY("FIRST_PLAY"),
+ SWOOSH("SWOOSH"),
+ FULL_SCREEN("FULL_SCREEN"),
+ SEND_TO_FRIEND("SEND_TO_FRIEND"),
+ LOAD("LOAD"),
+ FULL_SCREEN_EXIT("FULL_SCREEN_EXIT"),
+ FINISH("FINISH"),
+ ERROR("ERROR"),
+ BITRATE_CHANGE("BITRATE_CHANGE"),
+ NONE("NONE");
+
+ private String value;
+
+ BookmarkActionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BookmarkActionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BookmarkActionType defined values and compare the inner value with the given one:
+ for(BookmarkActionType 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 BookmarkActionType.values().length > 0 ? BookmarkActionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkOrderBy.java
new file mode 100644
index 000000000..b9d738e9f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BookmarkOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BookmarkOrderBy implements EnumAsString {
+ POSITION_ASC("POSITION_ASC"),
+ POSITION_DESC("POSITION_DESC");
+
+ private String value;
+
+ BookmarkOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BookmarkOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BookmarkOrderBy defined values and compare the inner value with the given one:
+ for(BookmarkOrderBy 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 BookmarkOrderBy.values().length > 0 ? BookmarkOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BooleanOperator.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BooleanOperator.java
new file mode 100644
index 000000000..3988a5585
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BooleanOperator.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BooleanOperator implements EnumAsString {
+ AND("And"),
+ OR("Or");
+
+ private String value;
+
+ BooleanOperator(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BooleanOperator get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BooleanOperator defined values and compare the inner value with the given one:
+ for(BooleanOperator 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 BooleanOperator.values().length > 0 ? BooleanOperator.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobAction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobAction.java
new file mode 100644
index 000000000..0a0d80883
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobAction.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BulkUploadJobAction implements EnumAsString {
+ UPSERT("Upsert"),
+ DELETE("Delete");
+
+ private String value;
+
+ BulkUploadJobAction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BulkUploadJobAction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BulkUploadJobAction defined values and compare the inner value with the given one:
+ for(BulkUploadJobAction 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 BulkUploadJobAction.values().length > 0 ? BulkUploadJobAction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobStatus.java
new file mode 100644
index 000000000..3ce03c4fd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadJobStatus.java
@@ -0,0 +1,78 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BulkUploadJobStatus implements EnumAsString {
+ PENDING("Pending"),
+ UPLOADED("Uploaded"),
+ QUEUED("Queued"),
+ PARSING("Parsing"),
+ PROCESSING("Processing"),
+ PROCESSED("Processed"),
+ SUCCESS("Success"),
+ PARTIAL("Partial"),
+ FAILED("Failed"),
+ FATAL("Fatal");
+
+ private String value;
+
+ BulkUploadJobStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BulkUploadJobStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BulkUploadJobStatus defined values and compare the inner value with the given one:
+ for(BulkUploadJobStatus 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 BulkUploadJobStatus.values().length > 0 ? BulkUploadJobStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadOrderBy.java
new file mode 100644
index 000000000..4fc6b19ed
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadOrderBy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BulkUploadOrderBy implements EnumAsString {
+ NONE("NONE"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ BulkUploadOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BulkUploadOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BulkUploadOrderBy defined values and compare the inner value with the given one:
+ for(BulkUploadOrderBy 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 BulkUploadOrderBy.values().length > 0 ? BulkUploadOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadResultStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadResultStatus.java
new file mode 100644
index 000000000..35bb97e8c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BulkUploadResultStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BulkUploadResultStatus implements EnumAsString {
+ ERROR("Error"),
+ OK("Ok"),
+ INPROGRESS("InProgress");
+
+ private String value;
+
+ BulkUploadResultStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BulkUploadResultStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BulkUploadResultStatus defined values and compare the inner value with the given one:
+ for(BulkUploadResultStatus 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 BulkUploadResultStatus.values().length > 0 ? BulkUploadResultStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/BundleType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/BundleType.java
new file mode 100644
index 000000000..39343c3db
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/BundleType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum BundleType implements EnumAsString {
+ SUBSCRIPTION("subscription"),
+ COLLECTION("collection"),
+ PAGO("pago");
+
+ private String value;
+
+ BundleType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static BundleType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over BundleType defined values and compare the inner value with the given one:
+ for(BundleType 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 BundleType.values().length > 0 ? BundleType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CampaignOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CampaignOrderBy.java
new file mode 100644
index 000000000..bd26ad1df
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CampaignOrderBy.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CampaignOrderBy implements EnumAsString {
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ END_DATE_DESC("END_DATE_DESC"),
+ END_DATE_ASC("END_DATE_ASC");
+
+ private String value;
+
+ CampaignOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CampaignOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CampaignOrderBy defined values and compare the inner value with the given one:
+ for(CampaignOrderBy 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 CampaignOrderBy.values().length > 0 ? CampaignOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryItemOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryItemOrderBy.java
new file mode 100644
index 000000000..218af63ca
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryItemOrderBy.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CategoryItemOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ NONE("NONE"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ CategoryItemOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CategoryItemOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CategoryItemOrderBy defined values and compare the inner value with the given one:
+ for(CategoryItemOrderBy 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 CategoryItemOrderBy.values().length > 0 ? CategoryItemOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionOrderBy.java
new file mode 100644
index 000000000..6ee667b4e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CategoryVersionOrderBy implements EnumAsString {
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC"),
+ NONE("NONE");
+
+ private String value;
+
+ CategoryVersionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CategoryVersionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CategoryVersionOrderBy defined values and compare the inner value with the given one:
+ for(CategoryVersionOrderBy 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 CategoryVersionOrderBy.values().length > 0 ? CategoryVersionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionState.java
new file mode 100644
index 000000000..8cd7ac2fc
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CategoryVersionState.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CategoryVersionState implements EnumAsString {
+ DRAFT("DRAFT"),
+ DEFAULT("DEFAULT"),
+ RELEASED("RELEASED");
+
+ private String value;
+
+ CategoryVersionState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CategoryVersionState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CategoryVersionState defined values and compare the inner value with the given one:
+ for(CategoryVersionState 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 CategoryVersionState.values().length > 0 ? CategoryVersionState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelEnrichment.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelEnrichment.java
new file mode 100644
index 000000000..abf33ebd3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelEnrichment.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelEnrichment implements EnumAsString {
+ CLIENTLOCATION("ClientLocation"),
+ USERID("UserId"),
+ HOUSEHOLDID("HouseholdId"),
+ DEVICEID("DeviceId"),
+ DEVICETYPE("DeviceType"),
+ UTCOFFSET("UTCOffset"),
+ LANGUAGE("Language"),
+ DTTREGION("DTTRegion");
+
+ private String value;
+
+ ChannelEnrichment(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelEnrichment get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelEnrichment defined values and compare the inner value with the given one:
+ for(ChannelEnrichment 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 ChannelEnrichment.values().length > 0 ? ChannelEnrichment.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelFieldOrderByType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelFieldOrderByType.java
new file mode 100644
index 000000000..27642cf0c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelFieldOrderByType.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelFieldOrderByType implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ ORDER_NUM("ORDER_NUM");
+
+ private String value;
+
+ ChannelFieldOrderByType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelFieldOrderByType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelFieldOrderByType defined values and compare the inner value with the given one:
+ for(ChannelFieldOrderByType 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 ChannelFieldOrderByType.values().length > 0 ? ChannelFieldOrderByType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelOrderBy.java
new file mode 100644
index 000000000..b6a7d73b8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelOrderBy.java
@@ -0,0 +1,80 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelOrderBy implements EnumAsString {
+ ORDER_NUM("ORDER_NUM"),
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ VIEWS_DESC("VIEWS_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ LIKES_DESC("LIKES_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ ChannelOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelOrderBy defined values and compare the inner value with the given one:
+ for(ChannelOrderBy 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 ChannelOrderBy.values().length > 0 ? ChannelOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelSlidingWindowOrderByType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelSlidingWindowOrderByType.java
new file mode 100644
index 000000000..b85cf4e52
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelSlidingWindowOrderByType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelSlidingWindowOrderByType implements EnumAsString {
+ LIKES_DESC("LIKES_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ VIEWS_DESC("VIEWS_DESC");
+
+ private String value;
+
+ ChannelSlidingWindowOrderByType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelSlidingWindowOrderByType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelSlidingWindowOrderByType defined values and compare the inner value with the given one:
+ for(ChannelSlidingWindowOrderByType 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 ChannelSlidingWindowOrderByType.values().length > 0 ? ChannelSlidingWindowOrderByType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelStruct.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelStruct.java
new file mode 100644
index 000000000..7c421a448
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelStruct.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelStruct implements EnumAsString {
+ MANUAL("Manual"),
+ DYNAMIC("Dynamic");
+
+ private String value;
+
+ ChannelStruct(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelStruct get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelStruct defined values and compare the inner value with the given one:
+ for(ChannelStruct 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 ChannelStruct.values().length > 0 ? ChannelStruct.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelType.java
new file mode 100644
index 000000000..fc73685e2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelType implements EnumAsString {
+ INTERNAL("Internal"),
+ EXTERNAL("External");
+
+ private String value;
+
+ ChannelType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelType defined values and compare the inner value with the given one:
+ for(ChannelType 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 ChannelType.values().length > 0 ? ChannelType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelsOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelsOrderBy.java
new file mode 100644
index 000000000..076320dd9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChannelsOrderBy.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChannelsOrderBy implements EnumAsString {
+ NONE("NONE"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ ChannelsOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChannelsOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChannelsOrderBy defined values and compare the inner value with the given one:
+ for(ChannelsOrderBy 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 ChannelsOrderBy.values().length > 0 ? ChannelsOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ChronologicalRecordStartTime.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ChronologicalRecordStartTime.java
new file mode 100644
index 000000000..bc6c6f0bf
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ChronologicalRecordStartTime.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ChronologicalRecordStartTime implements EnumAsString {
+ NONE("NONE"),
+ NOW("NOW"),
+ EPG_START_TIME("EPG_START_TIME");
+
+ private String value;
+
+ ChronologicalRecordStartTime(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ChronologicalRecordStartTime get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ChronologicalRecordStartTime defined values and compare the inner value with the given one:
+ for(ChronologicalRecordStartTime 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 ChronologicalRecordStartTime.values().length > 0 ? ChronologicalRecordStartTime.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CollectionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CollectionOrderBy.java
new file mode 100644
index 000000000..8d046e0e2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CollectionOrderBy.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CollectionOrderBy implements EnumAsString {
+ NONE("NONE"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ CollectionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CollectionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CollectionOrderBy defined values and compare the inner value with the given one:
+ for(CollectionOrderBy 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 CollectionOrderBy.values().length > 0 ? CollectionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CompensationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CompensationType.java
new file mode 100644
index 000000000..81a18853f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CompensationType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CompensationType implements EnumAsString {
+ PERCENTAGE("PERCENTAGE"),
+ FIXED_AMOUNT("FIXED_AMOUNT");
+
+ private String value;
+
+ CompensationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CompensationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CompensationType defined values and compare the inner value with the given one:
+ for(CompensationType 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 CompensationType.values().length > 0 ? CompensationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ConcurrencyLimitationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ConcurrencyLimitationType.java
new file mode 100644
index 000000000..e052e6663
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ConcurrencyLimitationType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ConcurrencyLimitationType implements EnumAsString {
+ SINGLE("Single"),
+ GROUP("Group");
+
+ private String value;
+
+ ConcurrencyLimitationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ConcurrencyLimitationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ConcurrencyLimitationType defined values and compare the inner value with the given one:
+ for(ConcurrencyLimitationType 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 ConcurrencyLimitationType.values().length > 0 ? ConcurrencyLimitationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupDeviceOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupDeviceOrderBy.java
new file mode 100644
index 000000000..1342a25b6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupDeviceOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ConfigurationGroupDeviceOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ConfigurationGroupDeviceOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ConfigurationGroupDeviceOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ConfigurationGroupDeviceOrderBy defined values and compare the inner value with the given one:
+ for(ConfigurationGroupDeviceOrderBy 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 ConfigurationGroupDeviceOrderBy.values().length > 0 ? ConfigurationGroupDeviceOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupTagOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupTagOrderBy.java
new file mode 100644
index 000000000..93948d558
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationGroupTagOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ConfigurationGroupTagOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ConfigurationGroupTagOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ConfigurationGroupTagOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ConfigurationGroupTagOrderBy defined values and compare the inner value with the given one:
+ for(ConfigurationGroupTagOrderBy 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 ConfigurationGroupTagOrderBy.values().length > 0 ? ConfigurationGroupTagOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationsOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationsOrderBy.java
new file mode 100644
index 000000000..a34386fe8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ConfigurationsOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ConfigurationsOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ConfigurationsOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ConfigurationsOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ConfigurationsOrderBy defined values and compare the inner value with the given one:
+ for(ConfigurationsOrderBy 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 ConfigurationsOrderBy.values().length > 0 ? ConfigurationsOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ContentAction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ContentAction.java
new file mode 100644
index 000000000..943fc1383
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ContentAction.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ContentAction implements EnumAsString {
+ WATCH_LINEAR("watch_linear"),
+ WATCH_VOD("watch_vod"),
+ CATCHUP("catchup"),
+ NPVR("npvr"),
+ FAVORITE("favorite"),
+ RECORDING("recording"),
+ SOCIAL_ACTION("social_action");
+
+ private String value;
+
+ ContentAction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ContentAction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ContentAction defined values and compare the inner value with the given one:
+ for(ContentAction 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 ContentAction.values().length > 0 ? ContentAction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ContentActionConditionLengthType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ContentActionConditionLengthType.java
new file mode 100644
index 000000000..830ea33bb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ContentActionConditionLengthType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ContentActionConditionLengthType implements EnumAsString {
+ MINUTES("minutes"),
+ PERCENTAGE("percentage");
+
+ private String value;
+
+ ContentActionConditionLengthType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ContentActionConditionLengthType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ContentActionConditionLengthType defined values and compare the inner value with the given one:
+ for(ContentActionConditionLengthType 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 ContentActionConditionLengthType.values().length > 0 ? ContentActionConditionLengthType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ContextType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ContextType.java
new file mode 100644
index 000000000..32e13118a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ContextType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ContextType implements EnumAsString {
+ NONE("none"),
+ RECORDING("recording");
+
+ private String value;
+
+ ContextType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ContextType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ContextType defined values and compare the inner value with the given one:
+ for(ContextType 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 ContextType.values().length > 0 ? ContextType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CountryOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CountryOrderBy.java
new file mode 100644
index 000000000..530aa22ad
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CountryOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CountryOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC");
+
+ private String value;
+
+ CountryOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CountryOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CountryOrderBy defined values and compare the inner value with the given one:
+ for(CountryOrderBy 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 CountryOrderBy.values().length > 0 ? CountryOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CouponGroupType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CouponGroupType.java
new file mode 100644
index 000000000..f942ddb35
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CouponGroupType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CouponGroupType implements EnumAsString {
+ COUPON("COUPON"),
+ GIFT_CARD("GIFT_CARD");
+
+ private String value;
+
+ CouponGroupType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CouponGroupType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CouponGroupType defined values and compare the inner value with the given one:
+ for(CouponGroupType 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 CouponGroupType.values().length > 0 ? CouponGroupType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CouponStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CouponStatus.java
new file mode 100644
index 000000000..845a398f9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CouponStatus.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CouponStatus implements EnumAsString {
+ VALID("VALID"),
+ NOT_EXISTS("NOT_EXISTS"),
+ ALREADY_USED("ALREADY_USED"),
+ EXPIRED("EXPIRED"),
+ INACTIVE("INACTIVE");
+
+ private String value;
+
+ CouponStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CouponStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CouponStatus defined values and compare the inner value with the given one:
+ for(CouponStatus 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 CouponStatus.values().length > 0 ? CouponStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/CurrencyOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/CurrencyOrderBy.java
new file mode 100644
index 000000000..2498a8432
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/CurrencyOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum CurrencyOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ CODE_ASC("CODE_ASC"),
+ CODE_DESC("CODE_DESC");
+
+ private String value;
+
+ CurrencyOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static CurrencyOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over CurrencyOrderBy defined values and compare the inner value with the given one:
+ for(CurrencyOrderBy 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 CurrencyOrderBy.values().length > 0 ? CurrencyOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeleteMediaPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeleteMediaPolicy.java
new file mode 100644
index 000000000..aa7e0c951
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeleteMediaPolicy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeleteMediaPolicy implements EnumAsString {
+ DISABLE("Disable"),
+ DELETE("Delete");
+
+ private String value;
+
+ DeleteMediaPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeleteMediaPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeleteMediaPolicy defined values and compare the inner value with the given one:
+ for(DeleteMediaPolicy 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 DeleteMediaPolicy.values().length > 0 ? DeleteMediaPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandOrderBy.java
new file mode 100644
index 000000000..486ad4866
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceBrandOrderBy implements EnumAsString {
+ ID_ASC("ID_ASC"),
+ ID_DESC("ID_DESC");
+
+ private String value;
+
+ DeviceBrandOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceBrandOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceBrandOrderBy defined values and compare the inner value with the given one:
+ for(DeviceBrandOrderBy 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 DeviceBrandOrderBy.values().length > 0 ? DeviceBrandOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandType.java
new file mode 100644
index 000000000..6aa6c1612
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceBrandType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceBrandType implements EnumAsString {
+ SYSTEM("System"),
+ CUSTOM("Custom");
+
+ private String value;
+
+ DeviceBrandType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceBrandType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceBrandType defined values and compare the inner value with the given one:
+ for(DeviceBrandType 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 DeviceBrandType.values().length > 0 ? DeviceBrandType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyOrderBy.java
new file mode 100644
index 000000000..0f61b2065
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceFamilyOrderBy implements EnumAsString {
+ ID_ASC("ID_ASC"),
+ ID_DESC("ID_DESC");
+
+ private String value;
+
+ DeviceFamilyOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceFamilyOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceFamilyOrderBy defined values and compare the inner value with the given one:
+ for(DeviceFamilyOrderBy 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 DeviceFamilyOrderBy.values().length > 0 ? DeviceFamilyOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyType.java
new file mode 100644
index 000000000..718f45158
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceFamilyType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceFamilyType implements EnumAsString {
+ SYSTEM("System"),
+ CUSTOM("Custom");
+
+ private String value;
+
+ DeviceFamilyType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceFamilyType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceFamilyType defined values and compare the inner value with the given one:
+ for(DeviceFamilyType 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 DeviceFamilyType.values().length > 0 ? DeviceFamilyType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceReferenceDataOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceReferenceDataOrderBy.java
new file mode 100644
index 000000000..8fa5e9c2f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceReferenceDataOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceReferenceDataOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ DeviceReferenceDataOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceReferenceDataOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceReferenceDataOrderBy defined values and compare the inner value with the given one:
+ for(DeviceReferenceDataOrderBy 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 DeviceReferenceDataOrderBy.values().length > 0 ? DeviceReferenceDataOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceStatus.java
new file mode 100644
index 000000000..86396193e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DeviceStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DeviceStatus implements EnumAsString {
+ PENDING("PENDING"),
+ ACTIVATED("ACTIVATED"),
+ NOT_ACTIVATED("NOT_ACTIVATED");
+
+ private String value;
+
+ DeviceStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DeviceStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DeviceStatus defined values and compare the inner value with the given one:
+ for(DeviceStatus 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 DeviceStatus.values().length > 0 ? DeviceStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DowngradePolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DowngradePolicy.java
new file mode 100644
index 000000000..d1b0258c7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DowngradePolicy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DowngradePolicy implements EnumAsString {
+ LIFO("LIFO"),
+ FIFO("FIFO"),
+ ACTIVE_DATE("ACTIVE_DATE");
+
+ private String value;
+
+ DowngradePolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DowngradePolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DowngradePolicy defined values and compare the inner value with the given one:
+ for(DowngradePolicy 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 DowngradePolicy.values().length > 0 ? DowngradePolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DrmSchemeName.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DrmSchemeName.java
new file mode 100644
index 000000000..de601fb1b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DrmSchemeName.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DrmSchemeName implements EnumAsString {
+ PLAYREADY_CENC("PLAYREADY_CENC"),
+ WIDEVINE_CENC("WIDEVINE_CENC"),
+ FAIRPLAY("FAIRPLAY"),
+ WIDEVINE("WIDEVINE"),
+ PLAYREADY("PLAYREADY"),
+ CUSTOM_DRM("CUSTOM_DRM");
+
+ private String value;
+
+ DrmSchemeName(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DrmSchemeName get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DrmSchemeName defined values and compare the inner value with the given one:
+ for(DrmSchemeName 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 DrmSchemeName.values().length > 0 ? DrmSchemeName.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DurationUnit.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DurationUnit.java
new file mode 100644
index 000000000..3281ddfbd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DurationUnit.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DurationUnit implements EnumAsString {
+ MINUTES("Minutes"),
+ HOURS("Hours"),
+ DAYS("Days"),
+ MONTHS("Months"),
+ YEARS("Years");
+
+ private String value;
+
+ DurationUnit(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DurationUnit get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DurationUnit defined values and compare the inner value with the given one:
+ for(DurationUnit 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 DurationUnit.values().length > 0 ? DurationUnit.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/DynamicListOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/DynamicListOrderBy.java
new file mode 100644
index 000000000..d1937660d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/DynamicListOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum DynamicListOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ DynamicListOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static DynamicListOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over DynamicListOrderBy defined values and compare the inner value with the given one:
+ for(DynamicListOrderBy 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 DynamicListOrderBy.values().length > 0 ? DynamicListOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EncryptionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EncryptionType.java
new file mode 100644
index 000000000..81327b296
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EncryptionType.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EncryptionType implements EnumAsString {
+ AES256("AES256");
+
+ private String value;
+
+ EncryptionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EncryptionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EncryptionType defined values and compare the inner value with the given one:
+ for(EncryptionType 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 EncryptionType.values().length > 0 ? EncryptionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementOrderBy.java
new file mode 100644
index 000000000..70f92d86f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EngagementOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ EngagementOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EngagementOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EngagementOrderBy defined values and compare the inner value with the given one:
+ for(EngagementOrderBy 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 EngagementOrderBy.values().length > 0 ? EngagementOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementType.java
new file mode 100644
index 000000000..1387abaf0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EngagementType.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EngagementType implements EnumAsString {
+ CHURN("Churn");
+
+ private String value;
+
+ EngagementType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EngagementType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EngagementType defined values and compare the inner value with the given one:
+ for(EngagementType 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 EngagementType.values().length > 0 ? EngagementType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EntitlementOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EntitlementOrderBy.java
new file mode 100644
index 000000000..77da2d2d9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EntitlementOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EntitlementOrderBy implements EnumAsString {
+ PURCHASE_DATE_ASC("PURCHASE_DATE_ASC"),
+ PURCHASE_DATE_DESC("PURCHASE_DATE_DESC");
+
+ private String value;
+
+ EntitlementOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EntitlementOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EntitlementOrderBy defined values and compare the inner value with the given one:
+ for(EntitlementOrderBy 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 EntitlementOrderBy.values().length > 0 ? EntitlementOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EntityAttribute.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EntityAttribute.java
new file mode 100644
index 000000000..570c0a310
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EntityAttribute.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EntityAttribute implements EnumAsString {
+ MEDIA_FILE_LABELS("MEDIA_FILE_LABELS");
+
+ private String value;
+
+ EntityAttribute(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EntityAttribute get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EntityAttribute defined values and compare the inner value with the given one:
+ for(EntityAttribute 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 EntityAttribute.values().length > 0 ? EntityAttribute.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EntityReferenceBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EntityReferenceBy.java
new file mode 100644
index 000000000..0aa24d5cf
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EntityReferenceBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EntityReferenceBy implements EnumAsString {
+ USER("user"),
+ HOUSEHOLD("household");
+
+ private String value;
+
+ EntityReferenceBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EntityReferenceBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EntityReferenceBy defined values and compare the inner value with the given one:
+ for(EntityReferenceBy 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 EntityReferenceBy.values().length > 0 ? EntityReferenceBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsInt.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsInt.java
new file mode 100644
index 000000000..f7bb7c1b9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsInt.java
@@ -0,0 +1,38 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+import java.io.Serializable;
+
+/**
+ * This class is an interface for all kaltura enums that their value is represented as Int
+ */
+public interface EnumAsInt extends Serializable {
+
+ public int getValue();
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsString.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsString.java
new file mode 100644
index 000000000..85f424a20
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EnumAsString.java
@@ -0,0 +1,38 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2011 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+import java.io.Serializable;
+
+/**
+ * This class is an interface for all kaltura enums that their value is represented as String
+ */
+public interface EnumAsString extends Serializable {
+
+ public String getValue();
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EpgOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EpgOrderBy.java
new file mode 100644
index 000000000..f768a93b6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EpgOrderBy.java
@@ -0,0 +1,57 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EpgOrderBy implements EnumAsString {
+ /** Place holder for future values */;
+
+ private String value;
+
+ EpgOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EpgOrderBy get(String value) {
+ return null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationOrderBy.java
new file mode 100644
index 000000000..8f36c42ca
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EventNotificationOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ EventNotificationOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EventNotificationOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EventNotificationOrderBy defined values and compare the inner value with the given one:
+ for(EventNotificationOrderBy 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 EventNotificationOrderBy.values().length > 0 ? EventNotificationOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationStatus.java
new file mode 100644
index 000000000..57547818b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EventNotificationStatus.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EventNotificationStatus implements EnumAsString {
+ SENT("SENT"),
+ FAILED("FAILED"),
+ SUCCESS("SUCCESS"),
+ FAILED_TO_SEND("FAILED_TO_SEND");
+
+ private String value;
+
+ EventNotificationStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EventNotificationStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EventNotificationStatus defined values and compare the inner value with the given one:
+ for(EventNotificationStatus 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 EventNotificationStatus.values().length > 0 ? EventNotificationStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/EvictionPolicyType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/EvictionPolicyType.java
new file mode 100644
index 000000000..03eccb633
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/EvictionPolicyType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum EvictionPolicyType implements EnumAsString {
+ FIFO("FIFO"),
+ LIFO("LIFO");
+
+ private String value;
+
+ EvictionPolicyType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static EvictionPolicyType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over EvictionPolicyType defined values and compare the inner value with the given one:
+ for(EvictionPolicyType 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 EvictionPolicyType.values().length > 0 ? EvictionPolicyType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ExportDataType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportDataType.java
new file mode 100644
index 000000000..b55069491
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportDataType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ExportDataType implements EnumAsString {
+ VOD("vod"),
+ EPG("epg"),
+ USERS("users");
+
+ private String value;
+
+ ExportDataType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ExportDataType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ExportDataType defined values and compare the inner value with the given one:
+ for(ExportDataType 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 ExportDataType.values().length > 0 ? ExportDataType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ExportTaskOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportTaskOrderBy.java
new file mode 100644
index 000000000..8197c921a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportTaskOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ExportTaskOrderBy implements EnumAsString {
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ ExportTaskOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ExportTaskOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ExportTaskOrderBy defined values and compare the inner value with the given one:
+ for(ExportTaskOrderBy 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 ExportTaskOrderBy.values().length > 0 ? ExportTaskOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ExportType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportType.java
new file mode 100644
index 000000000..3436531cb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ExportType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ExportType implements EnumAsString {
+ FULL("full"),
+ INCREMENTAL("incremental");
+
+ private String value;
+
+ ExportType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ExportType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ExportType defined values and compare the inner value with the given one:
+ for(ExportType 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 ExportType.values().length > 0 ? ExportType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalChannelProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalChannelProfileOrderBy.java
new file mode 100644
index 000000000..ce7598ba0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalChannelProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ExternalChannelProfileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ExternalChannelProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ExternalChannelProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ExternalChannelProfileOrderBy defined values and compare the inner value with the given one:
+ for(ExternalChannelProfileOrderBy 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 ExternalChannelProfileOrderBy.values().length > 0 ? ExternalChannelProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalRecordingResponseProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalRecordingResponseProfileOrderBy.java
new file mode 100644
index 000000000..3c6c08a99
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ExternalRecordingResponseProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ExternalRecordingResponseProfileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ExternalRecordingResponseProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ExternalRecordingResponseProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ExternalRecordingResponseProfileOrderBy defined values and compare the inner value with the given one:
+ for(ExternalRecordingResponseProfileOrderBy 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 ExternalRecordingResponseProfileOrderBy.values().length > 0 ? ExternalRecordingResponseProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/FavoriteOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/FavoriteOrderBy.java
new file mode 100644
index 000000000..7b42ac2ba
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/FavoriteOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum FavoriteOrderBy implements EnumAsString {
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ FavoriteOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static FavoriteOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over FavoriteOrderBy defined values and compare the inner value with the given one:
+ for(FavoriteOrderBy 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 FavoriteOrderBy.values().length > 0 ? FavoriteOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/FollowTvSeriesOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/FollowTvSeriesOrderBy.java
new file mode 100644
index 000000000..c92a7141a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/FollowTvSeriesOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum FollowTvSeriesOrderBy implements EnumAsString {
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC");
+
+ private String value;
+
+ FollowTvSeriesOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static FollowTvSeriesOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over FollowTvSeriesOrderBy defined values and compare the inner value with the given one:
+ for(FollowTvSeriesOrderBy 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 FollowTvSeriesOrderBy.values().length > 0 ? FollowTvSeriesOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByField.java b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByField.java
new file mode 100644
index 000000000..ab128475b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByField.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum GroupByField implements EnumAsString {
+ MEDIA_TYPE_ID("media_type_id"),
+ SUPPRESSED("suppressed"),
+ CRID("crid"),
+ LINEAR_MEDIA_ID("linear_media_id"),
+ NAME("name");
+
+ private String value;
+
+ GroupByField(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static GroupByField get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over GroupByField defined values and compare the inner value with the given one:
+ for(GroupByField 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 GroupByField.values().length > 0 ? GroupByField.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByOrder.java b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByOrder.java
new file mode 100644
index 000000000..7e6cba3e4
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupByOrder.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum GroupByOrder implements EnumAsString {
+ DEFAULTORDER("defaultOrder"),
+ COUNT_ASC("count_asc"),
+ COUNT_DESC("count_desc"),
+ VALUE_ASC("value_asc"),
+ VALUE_DESC("value_desc");
+
+ private String value;
+
+ GroupByOrder(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static GroupByOrder get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over GroupByOrder defined values and compare the inner value with the given one:
+ for(GroupByOrder 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 GroupByOrder.values().length > 0 ? GroupByOrder.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/GroupingOption.java b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupingOption.java
new file mode 100644
index 000000000..cf50c0629
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/GroupingOption.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum GroupingOption implements EnumAsString {
+ OMIT("Omit"),
+ INCLUDE("Include");
+
+ private String value;
+
+ GroupingOption(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static GroupingOption get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over GroupingOption defined values and compare the inner value with the given one:
+ for(GroupingOption 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 GroupingOption.values().length > 0 ? GroupingOption.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdCouponOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdCouponOrderBy.java
new file mode 100644
index 000000000..f8d788d7f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdCouponOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdCouponOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ HouseholdCouponOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdCouponOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdCouponOrderBy defined values and compare the inner value with the given one:
+ for(HouseholdCouponOrderBy 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 HouseholdCouponOrderBy.values().length > 0 ? HouseholdCouponOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdDeviceOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdDeviceOrderBy.java
new file mode 100644
index 000000000..e1e2cdecf
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdDeviceOrderBy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdDeviceOrderBy implements EnumAsString {
+ NONE("NONE"),
+ CREATED_DATE_ASC("CREATED_DATE_ASC"),
+ CREATED_DATE_DESC("CREATED_DATE_DESC");
+
+ private String value;
+
+ HouseholdDeviceOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdDeviceOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdDeviceOrderBy defined values and compare the inner value with the given one:
+ for(HouseholdDeviceOrderBy 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 HouseholdDeviceOrderBy.values().length > 0 ? HouseholdDeviceOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdFrequencyType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdFrequencyType.java
new file mode 100644
index 000000000..917ce090e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdFrequencyType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdFrequencyType implements EnumAsString {
+ DEVICES("devices"),
+ USERS("users");
+
+ private String value;
+
+ HouseholdFrequencyType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdFrequencyType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdFrequencyType defined values and compare the inner value with the given one:
+ for(HouseholdFrequencyType 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 HouseholdFrequencyType.values().length > 0 ? HouseholdFrequencyType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdOrderBy.java
new file mode 100644
index 000000000..f21859f5b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdOrderBy implements EnumAsString {
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ HouseholdOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdOrderBy defined values and compare the inner value with the given one:
+ for(HouseholdOrderBy 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 HouseholdOrderBy.values().length > 0 ? HouseholdOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdPaymentGatewaySelectedBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdPaymentGatewaySelectedBy.java
new file mode 100644
index 000000000..01dc3747e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdPaymentGatewaySelectedBy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdPaymentGatewaySelectedBy implements EnumAsString {
+ NONE("none"),
+ ACCOUNT("account"),
+ HOUSEHOLD("household");
+
+ private String value;
+
+ HouseholdPaymentGatewaySelectedBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdPaymentGatewaySelectedBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdPaymentGatewaySelectedBy defined values and compare the inner value with the given one:
+ for(HouseholdPaymentGatewaySelectedBy 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 HouseholdPaymentGatewaySelectedBy.values().length > 0 ? HouseholdPaymentGatewaySelectedBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdRestriction.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdRestriction.java
new file mode 100644
index 000000000..c3127e606
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdRestriction.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdRestriction implements EnumAsString {
+ NOT_RESTRICTED("not_restricted"),
+ USER_MASTER_RESTRICTED("user_master_restricted"),
+ DEVICE_MASTER_RESTRICTED("device_master_restricted"),
+ DEVICE_USER_MASTER_RESTRICTED("device_user_master_restricted");
+
+ private String value;
+
+ HouseholdRestriction(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdRestriction get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdRestriction defined values and compare the inner value with the given one:
+ for(HouseholdRestriction 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 HouseholdRestriction.values().length > 0 ? HouseholdRestriction.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSegmentOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSegmentOrderBy.java
new file mode 100644
index 000000000..662a55e09
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSegmentOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdSegmentOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ HouseholdSegmentOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdSegmentOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdSegmentOrderBy defined values and compare the inner value with the given one:
+ for(HouseholdSegmentOrderBy 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 HouseholdSegmentOrderBy.values().length > 0 ? HouseholdSegmentOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdState.java
new file mode 100644
index 000000000..b1cc2e4f3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdState.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdState implements EnumAsString {
+ OK("ok"),
+ CREATED_WITHOUT_NPVR_ACCOUNT("created_without_npvr_account"),
+ SUSPENDED("suspended"),
+ NO_USERS_IN_HOUSEHOLD("no_users_in_household"),
+ PENDING("pending");
+
+ private String value;
+
+ HouseholdState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdState defined values and compare the inner value with the given one:
+ for(HouseholdState 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 HouseholdState.values().length > 0 ? HouseholdState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSuspensionState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSuspensionState.java
new file mode 100644
index 000000000..1619ccff8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdSuspensionState.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdSuspensionState implements EnumAsString {
+ NOT_SUSPENDED("NOT_SUSPENDED"),
+ SUSPENDED("SUSPENDED");
+
+ private String value;
+
+ HouseholdSuspensionState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdSuspensionState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdSuspensionState defined values and compare the inner value with the given one:
+ for(HouseholdSuspensionState 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 HouseholdSuspensionState.values().length > 0 ? HouseholdSuspensionState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserOrderBy.java
new file mode 100644
index 000000000..c669b0e2a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdUserOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ HouseholdUserOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdUserOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdUserOrderBy defined values and compare the inner value with the given one:
+ for(HouseholdUserOrderBy 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 HouseholdUserOrderBy.values().length > 0 ? HouseholdUserOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserStatus.java
new file mode 100644
index 000000000..3edad239e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/HouseholdUserStatus.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum HouseholdUserStatus implements EnumAsString {
+ OK("OK"),
+ PENDING("PENDING");
+
+ private String value;
+
+ HouseholdUserStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static HouseholdUserStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over HouseholdUserStatus defined values and compare the inner value with the given one:
+ for(HouseholdUserStatus 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 HouseholdUserStatus.values().length > 0 ? HouseholdUserStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ImageObjectType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageObjectType.java
new file mode 100644
index 000000000..0dfa92cf3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageObjectType.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ImageObjectType implements EnumAsString {
+ MEDIA_ASSET("MEDIA_ASSET"),
+ PROGRAM_ASSET("PROGRAM_ASSET"),
+ CHANNEL("CHANNEL"),
+ CATEGORY("CATEGORY"),
+ PARTNER("PARTNER"),
+ IMAGE_TYPE("IMAGE_TYPE"),
+ PROGRAM_GROUP("PROGRAM_GROUP");
+
+ private String value;
+
+ ImageObjectType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ImageObjectType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ImageObjectType defined values and compare the inner value with the given one:
+ for(ImageObjectType 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 ImageObjectType.values().length > 0 ? ImageObjectType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ImageOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageOrderBy.java
new file mode 100644
index 000000000..b0814ff1e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ImageOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ImageOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ImageOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ImageOrderBy defined values and compare the inner value with the given one:
+ for(ImageOrderBy 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 ImageOrderBy.values().length > 0 ? ImageOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ImageStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageStatus.java
new file mode 100644
index 000000000..634342785
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ImageStatus implements EnumAsString {
+ PENDING("PENDING"),
+ READY("READY"),
+ FAILED("FAILED");
+
+ private String value;
+
+ ImageStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ImageStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ImageStatus defined values and compare the inner value with the given one:
+ for(ImageStatus 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 ImageStatus.values().length > 0 ? ImageStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ImageTypeOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageTypeOrderBy.java
new file mode 100644
index 000000000..7781123bc
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ImageTypeOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ImageTypeOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ImageTypeOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ImageTypeOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ImageTypeOrderBy defined values and compare the inner value with the given one:
+ for(ImageTypeOrderBy 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 ImageTypeOrderBy.values().length > 0 ? ImageTypeOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageOrderBy.java
new file mode 100644
index 000000000..0e1a2da5c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum InboxMessageOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ InboxMessageOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static InboxMessageOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over InboxMessageOrderBy defined values and compare the inner value with the given one:
+ for(InboxMessageOrderBy 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 InboxMessageOrderBy.values().length > 0 ? InboxMessageOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageStatus.java
new file mode 100644
index 000000000..e6ee32643
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum InboxMessageStatus implements EnumAsString {
+ UNREAD("Unread"),
+ READ("Read"),
+ DELETED("Deleted");
+
+ private String value;
+
+ InboxMessageStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static InboxMessageStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over InboxMessageStatus defined values and compare the inner value with the given one:
+ for(InboxMessageStatus 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 InboxMessageStatus.values().length > 0 ? InboxMessageStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageType.java
new file mode 100644
index 000000000..d82517169
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/InboxMessageType.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum InboxMessageType implements EnumAsString {
+ SYSTEMANNOUNCEMENT("SystemAnnouncement"),
+ FOLLOWED("Followed"),
+ ENGAGEMENT("Engagement"),
+ INTEREST("Interest"),
+ CAMPAIGN("Campaign");
+
+ private String value;
+
+ InboxMessageType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static InboxMessageType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over InboxMessageType defined values and compare the inner value with the given one:
+ for(InboxMessageType 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 InboxMessageType.values().length > 0 ? InboxMessageType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramResultOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramResultOrderBy.java
new file mode 100644
index 000000000..8e06b5b94
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramResultOrderBy.java
@@ -0,0 +1,79 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IngestEpgProgramResultOrderBy implements EnumAsString {
+ NONE("NONE"),
+ EXTERNAL_PROGRAM_ID_DESC("EXTERNAL_PROGRAM_ID_DESC"),
+ EXTERNAL_PROGRAM_ID_ASC("EXTERNAL_PROGRAM_ID_ASC"),
+ LINEAR_CHANNEL_ID_DESC("LINEAR_CHANNEL_ID_DESC"),
+ LINEAR_CHANNEL_ID_ASC("LINEAR_CHANNEL_ID_ASC"),
+ INDEX_IN_FILE_DESC("INDEX_IN_FILE_DESC"),
+ INDEX_IN_FILE_ASC("INDEX_IN_FILE_ASC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ SEVERITY_DESC("SEVERITY_DESC"),
+ SEVERITY_ASC("SEVERITY_ASC");
+
+ private String value;
+
+ IngestEpgProgramResultOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IngestEpgProgramResultOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IngestEpgProgramResultOrderBy defined values and compare the inner value with the given one:
+ for(IngestEpgProgramResultOrderBy 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 IngestEpgProgramResultOrderBy.values().length > 0 ? IngestEpgProgramResultOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramStatus.java
new file mode 100644
index 000000000..f4de62864
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestEpgProgramStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IngestEpgProgramStatus implements EnumAsString {
+ FAILURE("FAILURE"),
+ WARNING("WARNING"),
+ SUCCESS("SUCCESS");
+
+ private String value;
+
+ IngestEpgProgramStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IngestEpgProgramStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IngestEpgProgramStatus defined values and compare the inner value with the given one:
+ for(IngestEpgProgramStatus 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 IngestEpgProgramStatus.values().length > 0 ? IngestEpgProgramStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileAutofillPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileAutofillPolicy.java
new file mode 100644
index 000000000..a3408bdd7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileAutofillPolicy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IngestProfileAutofillPolicy implements EnumAsString {
+ REJECT("REJECT"),
+ AUTOFILL("AUTOFILL"),
+ KEEP_HOLES("KEEP_HOLES");
+
+ private String value;
+
+ IngestProfileAutofillPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IngestProfileAutofillPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IngestProfileAutofillPolicy defined values and compare the inner value with the given one:
+ for(IngestProfileAutofillPolicy 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 IngestProfileAutofillPolicy.values().length > 0 ? IngestProfileAutofillPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileOverlapPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileOverlapPolicy.java
new file mode 100644
index 000000000..574314719
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestProfileOverlapPolicy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IngestProfileOverlapPolicy implements EnumAsString {
+ REJECT("REJECT"),
+ CUT_SOURCE("CUT_SOURCE"),
+ CUT_TARGET("CUT_TARGET");
+
+ private String value;
+
+ IngestProfileOverlapPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IngestProfileOverlapPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IngestProfileOverlapPolicy defined values and compare the inner value with the given one:
+ for(IngestProfileOverlapPolicy 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 IngestProfileOverlapPolicy.values().length > 0 ? IngestProfileOverlapPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IngestStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestStatus.java
new file mode 100644
index 000000000..0b1a4084a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IngestStatus.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IngestStatus implements EnumAsString {
+ TOTAL_FAILURE("TOTAL_FAILURE"),
+ PARTIAL_FAILURE("PARTIAL_FAILURE"),
+ WARNING("WARNING"),
+ IN_PROGRESS("IN_PROGRESS"),
+ SUCCESS("SUCCESS");
+
+ private String value;
+
+ IngestStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IngestStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IngestStatus defined values and compare the inner value with the given one:
+ for(IngestStatus 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 IngestStatus.values().length > 0 ? IngestStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IotOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IotOrderBy.java
new file mode 100644
index 000000000..a8df4fdd5
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IotOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IotOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ IotOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IotOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IotOrderBy defined values and compare the inner value with the given one:
+ for(IotOrderBy 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 IotOrderBy.values().length > 0 ? IotOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/IotProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/IotProfileOrderBy.java
new file mode 100644
index 000000000..a0985d4cd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/IotProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum IotProfileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ IotProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static IotProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over IotProfileOrderBy defined values and compare the inner value with the given one:
+ for(IotProfileOrderBy 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 IotProfileOrderBy.values().length > 0 ? IotProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/LabelOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/LabelOrderBy.java
new file mode 100644
index 000000000..6a4aeeeeb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/LabelOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum LabelOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ LabelOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static LabelOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over LabelOrderBy defined values and compare the inner value with the given one:
+ for(LabelOrderBy 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 LabelOrderBy.values().length > 0 ? LabelOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/LanguageOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/LanguageOrderBy.java
new file mode 100644
index 000000000..6c431d1b8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/LanguageOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum LanguageOrderBy implements EnumAsString {
+ SYSTEM_NAME_ASC("SYSTEM_NAME_ASC"),
+ SYSTEM_NAME_DESC("SYSTEM_NAME_DESC"),
+ CODE_ASC("CODE_ASC"),
+ CODE_DESC("CODE_DESC");
+
+ private String value;
+
+ LanguageOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static LanguageOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over LanguageOrderBy defined values and compare the inner value with the given one:
+ for(LanguageOrderBy 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 LanguageOrderBy.values().length > 0 ? LanguageOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/LinearChannelType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/LinearChannelType.java
new file mode 100644
index 000000000..de233faa0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/LinearChannelType.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum LinearChannelType implements EnumAsString {
+ UNKNOWN("UNKNOWN"),
+ DTT("DTT"),
+ OTT("OTT"),
+ DTT_AND_OTT("DTT_AND_OTT"),
+ VRM_EXPORT("VRM_EXPORT");
+
+ private String value;
+
+ LinearChannelType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static LinearChannelType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over LinearChannelType defined values and compare the inner value with the given one:
+ for(LinearChannelType 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 LinearChannelType.values().length > 0 ? LinearChannelType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/LineupRegionalChannelOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/LineupRegionalChannelOrderBy.java
new file mode 100644
index 000000000..f24eaa358
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/LineupRegionalChannelOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum LineupRegionalChannelOrderBy implements EnumAsString {
+ LCN_ASC("LCN_ASC"),
+ LCN_DESC("LCN_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ LineupRegionalChannelOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static LineupRegionalChannelOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over LineupRegionalChannelOrderBy defined values and compare the inner value with the given one:
+ for(LineupRegionalChannelOrderBy 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 LineupRegionalChannelOrderBy.values().length > 0 ? LineupRegionalChannelOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ListGroupsRepresentativesOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ListGroupsRepresentativesOrderBy.java
new file mode 100644
index 000000000..2778a2b79
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ListGroupsRepresentativesOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ListGroupsRepresentativesOrderBy implements EnumAsString {
+ NONE("None");
+
+ private String value;
+
+ ListGroupsRepresentativesOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ListGroupsRepresentativesOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ListGroupsRepresentativesOrderBy defined values and compare the inner value with the given one:
+ for(ListGroupsRepresentativesOrderBy 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 ListGroupsRepresentativesOrderBy.values().length > 0 ? ListGroupsRepresentativesOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ManualCollectionAssetType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ManualCollectionAssetType.java
new file mode 100644
index 000000000..48e95e77d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ManualCollectionAssetType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ManualCollectionAssetType implements EnumAsString {
+ MEDIA("media"),
+ EPG("epg");
+
+ private String value;
+
+ ManualCollectionAssetType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ManualCollectionAssetType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ManualCollectionAssetType defined values and compare the inner value with the given one:
+ for(ManualCollectionAssetType 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 ManualCollectionAssetType.values().length > 0 ? ManualCollectionAssetType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MathemticalOperatorType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MathemticalOperatorType.java
new file mode 100644
index 000000000..8ee236037
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MathemticalOperatorType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MathemticalOperatorType implements EnumAsString {
+ COUNT("count"),
+ SUM("sum"),
+ AVG("avg");
+
+ private String value;
+
+ MathemticalOperatorType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MathemticalOperatorType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MathemticalOperatorType defined values and compare the inner value with the given one:
+ for(MathemticalOperatorType 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 MathemticalOperatorType.values().length > 0 ? MathemticalOperatorType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileDynamicDataOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileDynamicDataOrderBy.java
new file mode 100644
index 000000000..15b2fb793
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileDynamicDataOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MediaFileDynamicDataOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ MediaFileDynamicDataOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MediaFileDynamicDataOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MediaFileDynamicDataOrderBy defined values and compare the inner value with the given one:
+ for(MediaFileDynamicDataOrderBy 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 MediaFileDynamicDataOrderBy.values().length > 0 ? MediaFileDynamicDataOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileOrderBy.java
new file mode 100644
index 000000000..d25e65466
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MediaFileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ MediaFileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MediaFileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MediaFileOrderBy defined values and compare the inner value with the given one:
+ for(MediaFileOrderBy 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 MediaFileOrderBy.values().length > 0 ? MediaFileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileStreamerType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileStreamerType.java
new file mode 100644
index 000000000..6f279d39f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileStreamerType.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MediaFileStreamerType implements EnumAsString {
+ APPLE_HTTP("APPLE_HTTP"),
+ MPEG_DASH("MPEG_DASH"),
+ URL("URL"),
+ SMOOTH_STREAMING("SMOOTH_STREAMING"),
+ MULTICAST("MULTICAST"),
+ NONE("NONE");
+
+ private String value;
+
+ MediaFileStreamerType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MediaFileStreamerType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MediaFileStreamerType defined values and compare the inner value with the given one:
+ for(MediaFileStreamerType 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 MediaFileStreamerType.values().length > 0 ? MediaFileStreamerType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileTypeQuality.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileTypeQuality.java
new file mode 100644
index 000000000..054a9942e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MediaFileTypeQuality.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MediaFileTypeQuality implements EnumAsString {
+ ADAPTIVE("ADAPTIVE"),
+ SD("SD"),
+ HD_720("HD_720"),
+ HD_1080("HD_1080"),
+ UHD_4K("UHD_4K");
+
+ private String value;
+
+ MediaFileTypeQuality(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MediaFileTypeQuality get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MediaFileTypeQuality defined values and compare the inner value with the given one:
+ for(MediaFileTypeQuality 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 MediaFileTypeQuality.values().length > 0 ? MediaFileTypeQuality.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MessageTemplateType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MessageTemplateType.java
new file mode 100644
index 000000000..99c1c49c1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MessageTemplateType.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MessageTemplateType implements EnumAsString {
+ SERIES("Series"),
+ REMINDER("Reminder"),
+ CHURN("Churn"),
+ SERIESREMINDER("SeriesReminder"),
+ INTERESTVOD("InterestVod"),
+ INTERESTEPG("InterestEPG");
+
+ private String value;
+
+ MessageTemplateType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MessageTemplateType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MessageTemplateType defined values and compare the inner value with the given one:
+ for(MessageTemplateType 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 MessageTemplateType.values().length > 0 ? MessageTemplateType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MetaDataType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaDataType.java
new file mode 100644
index 000000000..012a49dcb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaDataType.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MetaDataType implements EnumAsString {
+ STRING("STRING"),
+ MULTILINGUAL_STRING("MULTILINGUAL_STRING"),
+ NUMBER("NUMBER"),
+ BOOLEAN("BOOLEAN"),
+ DATE("DATE"),
+ RELEATED_ENTITY("RELEATED_ENTITY");
+
+ private String value;
+
+ MetaDataType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MetaDataType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MetaDataType defined values and compare the inner value with the given one:
+ for(MetaDataType 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 MetaDataType.values().length > 0 ? MetaDataType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MetaOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaOrderBy.java
new file mode 100644
index 000000000..7bb68726f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaOrderBy.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MetaOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ SYSTEM_NAME_ASC("SYSTEM_NAME_ASC"),
+ SYSTEM_NAME_DESC("SYSTEM_NAME_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ MetaOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MetaOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MetaOrderBy defined values and compare the inner value with the given one:
+ for(MetaOrderBy 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 MetaOrderBy.values().length > 0 ? MetaOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MetaTagOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaTagOrderBy.java
new file mode 100644
index 000000000..78ca978d4
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MetaTagOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MetaTagOrderBy implements EnumAsString {
+ META_ASC("META_ASC"),
+ META_DESC("META_DESC");
+
+ private String value;
+
+ MetaTagOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MetaTagOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MetaTagOrderBy defined values and compare the inner value with the given one:
+ for(MetaTagOrderBy 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 MetaTagOrderBy.values().length > 0 ? MetaTagOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/MonetizationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/MonetizationType.java
new file mode 100644
index 000000000..6d951c12b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/MonetizationType.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum MonetizationType implements EnumAsString {
+ PPV("ppv"),
+ SUBSCRIPTION("subscription"),
+ BOXSET("boxset"),
+ ANY("any"),
+ PPV_LIVE("ppv_live");
+
+ private String value;
+
+ MonetizationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static MonetizationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over MonetizationType defined values and compare the inner value with the given one:
+ for(MonetizationType 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 MonetizationType.values().length > 0 ? MonetizationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/NotWatchedReturnStrategy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/NotWatchedReturnStrategy.java
new file mode 100644
index 000000000..e455e4582
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/NotWatchedReturnStrategy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum NotWatchedReturnStrategy implements EnumAsString {
+ RETURN_NO_NEXT_EPISODE("RETURN_NO_NEXT_EPISODE"),
+ RETURN_FIRST_EPISODE("RETURN_FIRST_EPISODE");
+
+ private String value;
+
+ NotWatchedReturnStrategy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static NotWatchedReturnStrategy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over NotWatchedReturnStrategy defined values and compare the inner value with the given one:
+ for(NotWatchedReturnStrategy 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 NotWatchedReturnStrategy.values().length > 0 ? NotWatchedReturnStrategy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/NotificationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/NotificationType.java
new file mode 100644
index 000000000..f8ed28ab8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/NotificationType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum NotificationType implements EnumAsString {
+ ANNOUNCEMENT("announcement"),
+ SYSTEM("system"),
+ REMINDER("Reminder"),
+ SERIES_REMINDER("series_reminder");
+
+ private String value;
+
+ NotificationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static NotificationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over NotificationType defined values and compare the inner value with the given one:
+ for(NotificationType 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 NotificationType.values().length > 0 ? NotificationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/OTTUserOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/OTTUserOrderBy.java
new file mode 100644
index 000000000..1c4cb20f2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/OTTUserOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum OTTUserOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ OTTUserOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static OTTUserOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over OTTUserOrderBy defined values and compare the inner value with the given one:
+ for(OTTUserOrderBy 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 OTTUserOrderBy.values().length > 0 ? OTTUserOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectState.java
new file mode 100644
index 000000000..81019856b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectState.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ObjectState implements EnumAsString {
+ INACTIVE("INACTIVE"),
+ ACTIVE("ACTIVE"),
+ ARCHIVE("ARCHIVE");
+
+ private String value;
+
+ ObjectState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ObjectState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ObjectState defined values and compare the inner value with the given one:
+ for(ObjectState 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 ObjectState.values().length > 0 ? ObjectState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectVirtualAssetInfoType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectVirtualAssetInfoType.java
new file mode 100644
index 000000000..f0bcfb5c0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ObjectVirtualAssetInfoType.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ObjectVirtualAssetInfoType implements EnumAsString {
+ SUBSCRIPTION("Subscription"),
+ SEGMENT("Segment"),
+ CATEGORY("Category"),
+ TVOD("Tvod"),
+ BOXSET("Boxset"),
+ PAGO("PAGO");
+
+ private String value;
+
+ ObjectVirtualAssetInfoType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ObjectVirtualAssetInfoType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ObjectVirtualAssetInfoType defined values and compare the inner value with the given one:
+ for(ObjectVirtualAssetInfoType 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 ObjectVirtualAssetInfoType.values().length > 0 ? ObjectVirtualAssetInfoType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleOrderBy.java
new file mode 100644
index 000000000..179040735
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ParentalRuleOrderBy implements EnumAsString {
+ PARTNER_SORT_VALUE("PARTNER_SORT_VALUE");
+
+ private String value;
+
+ ParentalRuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ParentalRuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ParentalRuleOrderBy defined values and compare the inner value with the given one:
+ for(ParentalRuleOrderBy 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 ParentalRuleOrderBy.values().length > 0 ? ParentalRuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleType.java
new file mode 100644
index 000000000..e8bb6f40d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ParentalRuleType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ParentalRuleType implements EnumAsString {
+ ALL("ALL"),
+ MOVIES("MOVIES"),
+ TV_SERIES("TV_SERIES");
+
+ private String value;
+
+ ParentalRuleType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ParentalRuleType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ParentalRuleType defined values and compare the inner value with the given one:
+ for(ParentalRuleType 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 ParentalRuleType.values().length > 0 ? ParentalRuleType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationOrderBy.java
new file mode 100644
index 000000000..e21071d30
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PartnerConfigurationOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PartnerConfigurationOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PartnerConfigurationOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PartnerConfigurationOrderBy defined values and compare the inner value with the given one:
+ for(PartnerConfigurationOrderBy 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 PartnerConfigurationOrderBy.values().length > 0 ? PartnerConfigurationOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationType.java
new file mode 100644
index 000000000..f9fe132f7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PartnerConfigurationType.java
@@ -0,0 +1,83 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PartnerConfigurationType implements EnumAsString {
+ DEFAULTPAYMENTGATEWAY("DefaultPaymentGateway"),
+ ENABLEPAYMENTGATEWAYSELECTION("EnablePaymentGatewaySelection"),
+ OSSADAPTER("OSSAdapter"),
+ CONCURRENCY("Concurrency"),
+ GENERAL("General"),
+ OBJECTVIRTUALASSET("ObjectVirtualAsset"),
+ COMMERCE("Commerce"),
+ PLAYBACK("Playback"),
+ PAYMENT("Payment"),
+ CATALOG("Catalog"),
+ SECURITY("Security"),
+ OPC("Opc"),
+ BASE("Base"),
+ CUSTOMFIELDS("CustomFields"),
+ DEFAULTPARENTALSETTINGS("DefaultParentalSettings");
+
+ private String value;
+
+ PartnerConfigurationType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PartnerConfigurationType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PartnerConfigurationType defined values and compare the inner value with the given one:
+ for(PartnerConfigurationType 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 PartnerConfigurationType.values().length > 0 ? PartnerConfigurationType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PasswordPolicyOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PasswordPolicyOrderBy.java
new file mode 100644
index 000000000..f540cb0f2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PasswordPolicyOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PasswordPolicyOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PasswordPolicyOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PasswordPolicyOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PasswordPolicyOrderBy defined values and compare the inner value with the given one:
+ for(PasswordPolicyOrderBy 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 PasswordPolicyOrderBy.values().length > 0 ? PasswordPolicyOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodProfileOrderBy.java
new file mode 100644
index 000000000..65b050afa
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PaymentMethodProfileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PaymentMethodProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PaymentMethodProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PaymentMethodProfileOrderBy defined values and compare the inner value with the given one:
+ for(PaymentMethodProfileOrderBy 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 PaymentMethodProfileOrderBy.values().length > 0 ? PaymentMethodProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodType.java
new file mode 100644
index 000000000..728809299
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PaymentMethodType.java
@@ -0,0 +1,82 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PaymentMethodType implements EnumAsString {
+ UNKNOWN("unknown"),
+ CREDIT_CARD("credit_card"),
+ SMS("sms"),
+ PAY_PAL("pay_pal"),
+ DEBIT_CARD("debit_card"),
+ IDEAL("ideal"),
+ INCASO("incaso"),
+ GIFT("gift"),
+ VISA("visa"),
+ MASTER_CARD("master_card"),
+ IN_APP("in_app"),
+ M1("m1"),
+ CHANGE_SUBSCRIPTION("change_subscription"),
+ OFFLINE("offline");
+
+ private String value;
+
+ PaymentMethodType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PaymentMethodType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PaymentMethodType defined values and compare the inner value with the given one:
+ for(PaymentMethodType 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 PaymentMethodType.values().length > 0 ? PaymentMethodType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionItemOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionItemOrderBy.java
new file mode 100644
index 000000000..9018d9bbc
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionItemOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PermissionItemOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PermissionItemOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PermissionItemOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PermissionItemOrderBy defined values and compare the inner value with the given one:
+ for(PermissionItemOrderBy 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 PermissionItemOrderBy.values().length > 0 ? PermissionItemOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionOrderBy.java
new file mode 100644
index 000000000..d171a26e6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PermissionOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PermissionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PermissionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PermissionOrderBy defined values and compare the inner value with the given one:
+ for(PermissionOrderBy 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 PermissionOrderBy.values().length > 0 ? PermissionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionType.java
new file mode 100644
index 000000000..a9ffd54a8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PermissionType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PermissionType implements EnumAsString {
+ NORMAL("NORMAL"),
+ GROUP("GROUP"),
+ SPECIAL_FEATURE("SPECIAL_FEATURE");
+
+ private String value;
+
+ PermissionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PermissionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PermissionType defined values and compare the inner value with the given one:
+ for(PermissionType 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 PermissionType.values().length > 0 ? PermissionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalAssetSelectionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalAssetSelectionOrderBy.java
new file mode 100644
index 000000000..a13c42358
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalAssetSelectionOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PersonalAssetSelectionOrderBy implements EnumAsString {
+ ASSET_SELECTION_DATE_DESC("ASSET_SELECTION_DATE_DESC");
+
+ private String value;
+
+ PersonalAssetSelectionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PersonalAssetSelectionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PersonalAssetSelectionOrderBy defined values and compare the inner value with the given one:
+ for(PersonalAssetSelectionOrderBy 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 PersonalAssetSelectionOrderBy.values().length > 0 ? PersonalAssetSelectionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalFeedOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalFeedOrderBy.java
new file mode 100644
index 000000000..7175a6fe7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalFeedOrderBy.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PersonalFeedOrderBy implements EnumAsString {
+ RELEVANCY_DESC("RELEVANCY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ VIEWS_DESC("VIEWS_DESC"),
+ RATINGS_DESC("RATINGS_DESC"),
+ VOTES_DESC("VOTES_DESC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ START_DATE_ASC("START_DATE_ASC");
+
+ private String value;
+
+ PersonalFeedOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PersonalFeedOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PersonalFeedOrderBy defined values and compare the inner value with the given one:
+ for(PersonalFeedOrderBy 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 PersonalFeedOrderBy.values().length > 0 ? PersonalFeedOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalListOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalListOrderBy.java
new file mode 100644
index 000000000..a78bd25b8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PersonalListOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PersonalListOrderBy implements EnumAsString {
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC");
+
+ private String value;
+
+ PersonalListOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PersonalListOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PersonalListOrderBy defined values and compare the inner value with the given one:
+ for(PersonalListOrderBy 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 PersonalListOrderBy.values().length > 0 ? PersonalListOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PinType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PinType.java
new file mode 100644
index 000000000..bc48bda82
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PinType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PinType implements EnumAsString {
+ PURCHASE("purchase"),
+ PARENTAL("parental");
+
+ private String value;
+
+ PinType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PinType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PinType defined values and compare the inner value with the given one:
+ for(PinType 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 PinType.values().length > 0 ? PinType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/Platform.java b/KalturaClient/src/main/java/com/kaltura/client/enums/Platform.java
new file mode 100644
index 000000000..880da27b1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/Platform.java
@@ -0,0 +1,75 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum Platform implements EnumAsString {
+ ANDROID("Android"),
+ IOS("iOS"),
+ WINDOWSPHONE("WindowsPhone"),
+ BLACKBERRY("Blackberry"),
+ STB("STB"),
+ CTV("CTV"),
+ OTHER("Other");
+
+ private String value;
+
+ Platform(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static Platform get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over Platform defined values and compare the inner value with the given one:
+ for(Platform 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 Platform.values().length > 0 ? Platform.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackContextType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackContextType.java
new file mode 100644
index 000000000..e78040663
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackContextType.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PlaybackContextType implements EnumAsString {
+ TRAILER("TRAILER"),
+ CATCHUP("CATCHUP"),
+ START_OVER("START_OVER"),
+ PLAYBACK("PLAYBACK"),
+ DOWNLOAD("DOWNLOAD");
+
+ private String value;
+
+ PlaybackContextType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PlaybackContextType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PlaybackContextType defined values and compare the inner value with the given one:
+ for(PlaybackContextType 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 PlaybackContextType.values().length > 0 ? PlaybackContextType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackProfileOrderBy.java
new file mode 100644
index 000000000..64037c7dd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PlaybackProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PlaybackProfileOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC");
+
+ private String value;
+
+ PlaybackProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PlaybackProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PlaybackProfileOrderBy defined values and compare the inner value with the given one:
+ for(PlaybackProfileOrderBy 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 PlaybackProfileOrderBy.values().length > 0 ? PlaybackProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PositionOwner.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PositionOwner.java
new file mode 100644
index 000000000..6bb8da95b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PositionOwner.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PositionOwner implements EnumAsString {
+ HOUSEHOLD("household"),
+ USER("user");
+
+ private String value;
+
+ PositionOwner(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PositionOwner get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PositionOwner defined values and compare the inner value with the given one:
+ for(PositionOwner 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 PositionOwner.values().length > 0 ? PositionOwner.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PpvOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PpvOrderBy.java
new file mode 100644
index 000000000..28b0b4369
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PpvOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PpvOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ PpvOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PpvOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PpvOrderBy defined values and compare the inner value with the given one:
+ for(PpvOrderBy 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 PpvOrderBy.values().length > 0 ? PpvOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PreviewModuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PreviewModuleOrderBy.java
new file mode 100644
index 000000000..9f97e2a5f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PreviewModuleOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PreviewModuleOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ PreviewModuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PreviewModuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PreviewModuleOrderBy defined values and compare the inner value with the given one:
+ for(PreviewModuleOrderBy 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 PreviewModuleOrderBy.values().length > 0 ? PreviewModuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PriceDetailsOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PriceDetailsOrderBy.java
new file mode 100644
index 000000000..ea2dc87b7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PriceDetailsOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PriceDetailsOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC");
+
+ private String value;
+
+ PriceDetailsOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PriceDetailsOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PriceDetailsOrderBy defined values and compare the inner value with the given one:
+ for(PriceDetailsOrderBy 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 PriceDetailsOrderBy.values().length > 0 ? PriceDetailsOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PricePlanOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PricePlanOrderBy.java
new file mode 100644
index 000000000..328293655
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PricePlanOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PricePlanOrderBy implements EnumAsString {
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ PricePlanOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PricePlanOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PricePlanOrderBy defined values and compare the inner value with the given one:
+ for(PricePlanOrderBy 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 PricePlanOrderBy.values().length > 0 ? PricePlanOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ProductPriceOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ProductPriceOrderBy.java
new file mode 100644
index 000000000..01233921e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ProductPriceOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ProductPriceOrderBy implements EnumAsString {
+ PRODUCT_ID_ASC("PRODUCT_ID_ASC"),
+ PRODUCT_ID_DESC("PRODUCT_ID_DESC");
+
+ private String value;
+
+ ProductPriceOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ProductPriceOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ProductPriceOrderBy defined values and compare the inner value with the given one:
+ for(ProductPriceOrderBy 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 ProductPriceOrderBy.values().length > 0 ? ProductPriceOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ProgramAssetGroupOfferOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ProgramAssetGroupOfferOrderBy.java
new file mode 100644
index 000000000..bb356f797
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ProgramAssetGroupOfferOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ProgramAssetGroupOfferOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ ProgramAssetGroupOfferOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ProgramAssetGroupOfferOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ProgramAssetGroupOfferOrderBy defined values and compare the inner value with the given one:
+ for(ProgramAssetGroupOfferOrderBy 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 ProgramAssetGroupOfferOrderBy.values().length > 0 ? ProgramAssetGroupOfferOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ProtectionPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ProtectionPolicy.java
new file mode 100644
index 000000000..6696ab215
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ProtectionPolicy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ProtectionPolicy implements EnumAsString {
+ EXTENDINGRECORDINGLIFETIME("ExtendingRecordingLifetime"),
+ LIMITEDBYRECORDINGLIFETIME("LimitedByRecordingLifetime");
+
+ private String value;
+
+ ProtectionPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ProtectionPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ProtectionPolicy defined values and compare the inner value with the given one:
+ for(ProtectionPolicy 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 ProtectionPolicy.values().length > 0 ? ProtectionPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseSettingsType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseSettingsType.java
new file mode 100644
index 000000000..a22e618c2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseSettingsType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PurchaseSettingsType implements EnumAsString {
+ BLOCK("block"),
+ ASK("ask"),
+ ALLOW("allow");
+
+ private String value;
+
+ PurchaseSettingsType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PurchaseSettingsType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PurchaseSettingsType defined values and compare the inner value with the given one:
+ for(PurchaseSettingsType 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 PurchaseSettingsType.values().length > 0 ? PurchaseSettingsType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseStatus.java
new file mode 100644
index 000000000..49967bb8d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/PurchaseStatus.java
@@ -0,0 +1,85 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum PurchaseStatus implements EnumAsString {
+ PPV_PURCHASED("ppv_purchased"),
+ FREE("free"),
+ FOR_PURCHASE_SUBSCRIPTION_ONLY("for_purchase_subscription_only"),
+ SUBSCRIPTION_PURCHASED("subscription_purchased"),
+ FOR_PURCHASE("for_purchase"),
+ SUBSCRIPTION_PURCHASED_WRONG_CURRENCY("subscription_purchased_wrong_currency"),
+ PRE_PAID_PURCHASED("pre_paid_purchased"),
+ GEO_COMMERCE_BLOCKED("geo_commerce_blocked"),
+ ENTITLED_TO_PREVIEW_MODULE("entitled_to_preview_module"),
+ FIRST_DEVICE_LIMITATION("first_device_limitation"),
+ COLLECTION_PURCHASED("collection_purchased"),
+ USER_SUSPENDED("user_suspended"),
+ NOT_FOR_PURCHASE("not_for_purchase"),
+ INVALID_CURRENCY("invalid_currency"),
+ CURRENCY_NOT_DEFINED_ON_PRICE_CODE("currency_not_defined_on_price_code"),
+ PENDING_ENTITLEMENT("pending_entitlement"),
+ PROGRAM_ASSET_GROUP_OFFER_PURCHASED("program_asset_group_offer_purchased");
+
+ private String value;
+
+ PurchaseStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static PurchaseStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over PurchaseStatus defined values and compare the inner value with the given one:
+ for(PurchaseStatus 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 PurchaseStatus.values().length > 0 ? PurchaseStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/QuotaOveragePolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/QuotaOveragePolicy.java
new file mode 100644
index 000000000..7639f5d2a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/QuotaOveragePolicy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum QuotaOveragePolicy implements EnumAsString {
+ STOPATQUOTA("StopAtQuota"),
+ FIFOAUTODELETE("FIFOAutoDelete");
+
+ private String value;
+
+ QuotaOveragePolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static QuotaOveragePolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over QuotaOveragePolicy defined values and compare the inner value with the given one:
+ for(QuotaOveragePolicy 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 QuotaOveragePolicy.values().length > 0 ? QuotaOveragePolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingContextOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingContextOrderBy.java
new file mode 100644
index 000000000..249ccdc02
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingContextOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RecordingContextOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ RecordingContextOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RecordingContextOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RecordingContextOrderBy defined values and compare the inner value with the given one:
+ for(RecordingContextOrderBy 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 RecordingContextOrderBy.values().length > 0 ? RecordingContextOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingOrderBy.java
new file mode 100644
index 000000000..39c84f57d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingOrderBy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RecordingOrderBy implements EnumAsString {
+ TITLE_ASC("TITLE_ASC"),
+ TITLE_DESC("TITLE_DESC"),
+ START_DATE_ASC("START_DATE_ASC"),
+ START_DATE_DESC("START_DATE_DESC");
+
+ private String value;
+
+ RecordingOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RecordingOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RecordingOrderBy defined values and compare the inner value with the given one:
+ for(RecordingOrderBy 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 RecordingOrderBy.values().length > 0 ? RecordingOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingStatus.java
new file mode 100644
index 000000000..074e3b2c3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingStatus.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RecordingStatus implements EnumAsString {
+ SCHEDULED("SCHEDULED"),
+ RECORDING("RECORDING"),
+ RECORDED("RECORDED"),
+ CANCELED("CANCELED"),
+ FAILED("FAILED"),
+ DELETED("DELETED");
+
+ private String value;
+
+ RecordingStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RecordingStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RecordingStatus defined values and compare the inner value with the given one:
+ for(RecordingStatus 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 RecordingStatus.values().length > 0 ? RecordingStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingType.java
new file mode 100644
index 000000000..aed576954
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RecordingType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RecordingType implements EnumAsString {
+ SINGLE("SINGLE"),
+ SEASON("SEASON"),
+ SERIES("SERIES"),
+ ORIGINALBROADCAST("OriginalBroadcast");
+
+ private String value;
+
+ RecordingType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RecordingType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RecordingType defined values and compare the inner value with the given one:
+ for(RecordingType 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 RecordingType.values().length > 0 ? RecordingType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RegionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RegionOrderBy.java
new file mode 100644
index 000000000..d5ad15a63
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RegionOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RegionOrderBy implements EnumAsString {
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ RegionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RegionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RegionOrderBy defined values and compare the inner value with the given one:
+ for(RegionOrderBy 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 RegionOrderBy.values().length > 0 ? RegionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RelatedEntityType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RelatedEntityType.java
new file mode 100644
index 000000000..3b4ab2c32
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RelatedEntityType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RelatedEntityType implements EnumAsString {
+ CHANNEL("CHANNEL"),
+ EXTERNAL_CHANNEL("EXTERNAL_CHANNEL"),
+ MEDIA("MEDIA"),
+ PROGRAM("PROGRAM");
+
+ private String value;
+
+ RelatedEntityType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RelatedEntityType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RelatedEntityType defined values and compare the inner value with the given one:
+ for(RelatedEntityType 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 RelatedEntityType.values().length > 0 ? RelatedEntityType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ReminderType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ReminderType.java
new file mode 100644
index 000000000..c008f5efd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ReminderType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ReminderType implements EnumAsString {
+ ASSET("ASSET"),
+ SERIES("SERIES");
+
+ private String value;
+
+ ReminderType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ReminderType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ReminderType defined values and compare the inner value with the given one:
+ for(ReminderType 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 ReminderType.values().length > 0 ? ReminderType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ReportOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ReportOrderBy.java
new file mode 100644
index 000000000..e8db413b1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ReportOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ReportOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ ReportOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ReportOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ReportOrderBy defined values and compare the inner value with the given one:
+ for(ReportOrderBy 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 ReportOrderBy.values().length > 0 ? ReportOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ResponseType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ResponseType.java
new file mode 100644
index 000000000..b5f15396c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ResponseType.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ResponseType implements EnumAsInt {
+ JSON(1),
+ XML(2),
+ JSONP(9),
+ ASSET_XML(30),
+ EXCEL(31);
+
+ private int value;
+
+ ResponseType(int value) {
+ this.value = value;
+ }
+
+ @Override
+ public int getValue() {
+ return this.value;
+ }
+
+ public void setValue(int value) {
+ this.value = value;
+ }
+
+ public static ResponseType get(Integer value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ResponseType defined values and compare the inner value with the given one:
+ for(ResponseType item: values()) {
+ if(item.getValue() == value) {
+ return item;
+ }
+ }
+ // in case the requested value was not found in the enum values, we return the first item as default.
+ return ResponseType.values().length > 0 ? ResponseType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RollingDevicePolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RollingDevicePolicy.java
new file mode 100644
index 000000000..431810461
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RollingDevicePolicy.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RollingDevicePolicy implements EnumAsString {
+ NONE("NONE"),
+ LIFO("LIFO"),
+ FIFO("FIFO"),
+ ACTIVE_DEVICE_ASCENDING("ACTIVE_DEVICE_ASCENDING");
+
+ private String value;
+
+ RollingDevicePolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RollingDevicePolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RollingDevicePolicy defined values and compare the inner value with the given one:
+ for(RollingDevicePolicy 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 RollingDevicePolicy.values().length > 0 ? RollingDevicePolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RuleActionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleActionType.java
new file mode 100644
index 000000000..755612f21
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleActionType.java
@@ -0,0 +1,96 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RuleActionType implements EnumAsString {
+ BLOCK("BLOCK"),
+ START_DATE_OFFSET("START_DATE_OFFSET"),
+ END_DATE_OFFSET("END_DATE_OFFSET"),
+ USER_BLOCK("USER_BLOCK"),
+ ALLOW_PLAYBACK("ALLOW_PLAYBACK"),
+ BLOCK_PLAYBACK("BLOCK_PLAYBACK"),
+ APPLY_DISCOUNT_MODULE("APPLY_DISCOUNT_MODULE"),
+ APPLY_PLAYBACK_ADAPTER("APPLY_PLAYBACK_ADAPTER"),
+ FILTER("FILTER"),
+ ASSET_LIFE_CYCLE_TRANSITION("ASSET_LIFE_CYCLE_TRANSITION"),
+ APPLY_FREE_PLAYBACK("APPLY_FREE_PLAYBACK"),
+ FILTERASSETBYKSQL("FilterAssetByKsql"),
+ FILTERFILEBYQUALITYINDISCOVERY("FilterFileByQualityInDiscovery"),
+ FILTERFILEBYQUALITYINPLAYBACK("FilterFileByQualityInPlayback"),
+ FILTERFILEBYFILETYPEIDFORASSETTYPEINDISCOVERY("FilterFileByFileTypeIdForAssetTypeInDiscovery"),
+ FILTERFILEBYFILETYPEIDFORASSETTYPEINPLAYBACK("FilterFileByFileTypeIdForAssetTypeInPlayback"),
+ FILTERFILEBYFILETYPEIDINDISCOVERY("FilterFileByFileTypeIdInDiscovery"),
+ FILTERFILEBYFILETYPEIDINPLAYBACK("FilterFileByFileTypeIdInPlayback"),
+ FILTERFILEBYAUDIOCODECINDISCOVERY("FilterFileByAudioCodecInDiscovery"),
+ FILTERFILEBYAUDIOCODECINPLAYBACK("FilterFileByAudioCodecInPlayback"),
+ FILTERFILEBYVIDEOCODECINDISCOVERY("FilterFileByVideoCodecInDiscovery"),
+ FILTERFILEBYVIDEOCODECINPLAYBACK("FilterFileByVideoCodecInPlayback"),
+ FILTERFILEBYSTREAMERTYPEINDISCOVERY("FilterFileByStreamerTypeInDiscovery"),
+ FILTERFILEBYSTREAMERTYPEINPLAYBACK("FilterFileByStreamerTypeInPlayback"),
+ FILTERFILEBYLABELINDISCOVERY("FilterFileByLabelInDiscovery"),
+ FILTERFILEBYLABELINPLAYBACK("FilterFileByLabelInPlayback"),
+ FILTERFILEBYDYNAMICDATAINDISCOVERY("FilterFileByDynamicDataInDiscovery"),
+ FILTERFILEBYDYNAMICDATAINPLAYBACK("FilterFileByDynamicDataInPlayback");
+
+ private String value;
+
+ RuleActionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RuleActionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RuleActionType defined values and compare the inner value with the given one:
+ for(RuleActionType 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 RuleActionType.values().length > 0 ? RuleActionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RuleConditionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleConditionType.java
new file mode 100644
index 000000000..2dafa9855
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleConditionType.java
@@ -0,0 +1,92 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RuleConditionType implements EnumAsString {
+ ASSET("ASSET"),
+ COUNTRY("COUNTRY"),
+ CONCURRENCY("CONCURRENCY"),
+ IP_RANGE("IP_RANGE"),
+ BUSINESS_MODULE("BUSINESS_MODULE"),
+ SEGMENTS("SEGMENTS"),
+ DATE("DATE"),
+ OR("OR"),
+ HEADER("HEADER"),
+ USER_SUBSCRIPTION("USER_SUBSCRIPTION"),
+ ASSET_SUBSCRIPTION("ASSET_SUBSCRIPTION"),
+ USER_ROLE("USER_ROLE"),
+ DEVICE_BRAND("DEVICE_BRAND"),
+ DEVICE_FAMILY("DEVICE_FAMILY"),
+ DEVICE_MANUFACTURER("DEVICE_MANUFACTURER"),
+ DEVICE_MODEL("DEVICE_MODEL"),
+ DEVICE_UDID_DYNAMIC_LIST("DEVICE_UDID_DYNAMIC_LIST"),
+ DYNAMIC_KEYS("DYNAMIC_KEYS"),
+ USER_SESSION_PROFILE("USER_SESSION_PROFILE"),
+ DEVICE_DYNAMIC_DATA("DEVICE_DYNAMIC_DATA"),
+ IP_V6_RANGE("IP_V6_RANGE"),
+ ASSET_SHOP("ASSET_SHOP"),
+ CHANNEL("CHANNEL"),
+ FILE_TYPE("FILE_TYPE");
+
+ private String value;
+
+ RuleConditionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RuleConditionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RuleConditionType defined values and compare the inner value with the given one:
+ for(RuleConditionType 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 RuleConditionType.values().length > 0 ? RuleConditionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RuleLevel.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleLevel.java
new file mode 100644
index 000000000..bb147bbda
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleLevel.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RuleLevel implements EnumAsString {
+ INVALID("invalid"),
+ USER("user"),
+ HOUSEHOLD("household"),
+ ACCOUNT("account");
+
+ private String value;
+
+ RuleLevel(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RuleLevel get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RuleLevel defined values and compare the inner value with the given one:
+ for(RuleLevel 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 RuleLevel.values().length > 0 ? RuleLevel.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/RuleType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleType.java
new file mode 100644
index 000000000..5ded75e1c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/RuleType.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum RuleType implements EnumAsString {
+ PARENTAL("parental"),
+ GEO("geo"),
+ USER_TYPE("user_type"),
+ DEVICE("device"),
+ ASSETUSER("assetUser"),
+ NETWORK("network");
+
+ private String value;
+
+ RuleType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static RuleType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over RuleType defined values and compare the inner value with the given one:
+ for(RuleType 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 RuleType.values().length > 0 ? RuleType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/ScheduledRecordingAssetType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/ScheduledRecordingAssetType.java
new file mode 100644
index 000000000..69bd2ac1d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/ScheduledRecordingAssetType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum ScheduledRecordingAssetType implements EnumAsString {
+ SINGLE("single"),
+ SERIES("series"),
+ ALL("all");
+
+ private String value;
+
+ ScheduledRecordingAssetType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static ScheduledRecordingAssetType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over ScheduledRecordingAssetType defined values and compare the inner value with the given one:
+ for(ScheduledRecordingAssetType 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 ScheduledRecordingAssetType.values().length > 0 ? ScheduledRecordingAssetType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SearchHistoryOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchHistoryOrderBy.java
new file mode 100644
index 000000000..70e433eb7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchHistoryOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SearchHistoryOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ SearchHistoryOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SearchHistoryOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SearchHistoryOrderBy defined values and compare the inner value with the given one:
+ for(SearchHistoryOrderBy 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 SearchHistoryOrderBy.values().length > 0 ? SearchHistoryOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityCriteriaType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityCriteriaType.java
new file mode 100644
index 000000000..68062d42d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityCriteriaType.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SearchPriorityCriteriaType implements EnumAsString {
+ KSQL("KSql");
+
+ private String value;
+
+ SearchPriorityCriteriaType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SearchPriorityCriteriaType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SearchPriorityCriteriaType defined values and compare the inner value with the given one:
+ for(SearchPriorityCriteriaType 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 SearchPriorityCriteriaType.values().length > 0 ? SearchPriorityCriteriaType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityGroupOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityGroupOrderBy.java
new file mode 100644
index 000000000..48585b088
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SearchPriorityGroupOrderBy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SearchPriorityGroupOrderBy implements EnumAsString {
+ PRIORITY_DESC("PRIORITY_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ SearchPriorityGroupOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SearchPriorityGroupOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SearchPriorityGroupOrderBy defined values and compare the inner value with the given one:
+ for(SearchPriorityGroupOrderBy 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 SearchPriorityGroupOrderBy.values().length > 0 ? SearchPriorityGroupOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SegmentationTypeOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SegmentationTypeOrderBy.java
new file mode 100644
index 000000000..f1a3f717c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SegmentationTypeOrderBy.java
@@ -0,0 +1,78 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SegmentationTypeOrderBy implements EnumAsString {
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ EXECUTE_DATE_DESC("EXECUTE_DATE_DESC"),
+ EXECUTE_DATE_ASC("EXECUTE_DATE_ASC"),
+ AFFECTED_USERS_DESC("AFFECTED_USERS_DESC"),
+ AFFECTED_USERS_ASC("AFFECTED_USERS_ASC"),
+ AFFECTED_HOUSEHOLDS_DESC("AFFECTED_HOUSEHOLDS_DESC"),
+ AFFECTED_HOUSEHOLDS_ASC("AFFECTED_HOUSEHOLDS_ASC");
+
+ private String value;
+
+ SegmentationTypeOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SegmentationTypeOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SegmentationTypeOrderBy defined values and compare the inner value with the given one:
+ for(SegmentationTypeOrderBy 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 SegmentationTypeOrderBy.values().length > 0 ? SegmentationTypeOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesRecordingOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesRecordingOrderBy.java
new file mode 100644
index 000000000..0c93aeada
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesRecordingOrderBy.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SeriesRecordingOrderBy implements EnumAsString {
+ START_DATE_ASC("START_DATE_ASC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ ID_ASC("ID_ASC"),
+ ID_DESC("ID_DESC"),
+ SERIES_ID_ASC("SERIES_ID_ASC"),
+ SERIES_ID_DESC("SERIES_ID_DESC");
+
+ private String value;
+
+ SeriesRecordingOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SeriesRecordingOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SeriesRecordingOrderBy defined values and compare the inner value with the given one:
+ for(SeriesRecordingOrderBy 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 SeriesRecordingOrderBy.values().length > 0 ? SeriesRecordingOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesReminderOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesReminderOrderBy.java
new file mode 100644
index 000000000..1aa735fd8
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SeriesReminderOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SeriesReminderOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ SeriesReminderOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SeriesReminderOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SeriesReminderOrderBy defined values and compare the inner value with the given one:
+ for(SeriesReminderOrderBy 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 SeriesReminderOrderBy.values().length > 0 ? SeriesReminderOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOperators.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOperators.java
new file mode 100644
index 000000000..3e4a548e6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOperators.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SkipOperators implements EnumAsString {
+ EQUAL("Equal"),
+ UNEQUAL("UnEqual"),
+ LESSTHAN("LessThan"),
+ GREATERTHAN("GreaterThan");
+
+ private String value;
+
+ SkipOperators(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SkipOperators get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SkipOperators defined values and compare the inner value with the given one:
+ for(SkipOperators 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 SkipOperators.values().length > 0 ? SkipOperators.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOptions.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOptions.java
new file mode 100644
index 000000000..dbb251ba6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SkipOptions.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SkipOptions implements EnumAsString {
+ NO("No"),
+ PREVIOUS("Previous"),
+ ANY("Any");
+
+ private String value;
+
+ SkipOptions(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SkipOptions get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SkipOptions defined values and compare the inner value with the given one:
+ for(SkipOptions 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 SkipOptions.values().length > 0 ? SkipOptions.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SmsAdapterProfileOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SmsAdapterProfileOrderBy.java
new file mode 100644
index 000000000..71cfe276d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SmsAdapterProfileOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SmsAdapterProfileOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ SmsAdapterProfileOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SmsAdapterProfileOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SmsAdapterProfileOrderBy defined values and compare the inner value with the given one:
+ for(SmsAdapterProfileOrderBy 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 SmsAdapterProfileOrderBy.values().length > 0 ? SmsAdapterProfileOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionOrderBy.java
new file mode 100644
index 000000000..0ed04908a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialActionOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ SocialActionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialActionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialActionOrderBy defined values and compare the inner value with the given one:
+ for(SocialActionOrderBy 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 SocialActionOrderBy.values().length > 0 ? SocialActionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionPrivacy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionPrivacy.java
new file mode 100644
index 000000000..34d9fd958
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionPrivacy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialActionPrivacy implements EnumAsString {
+ ALLOW("ALLOW"),
+ DONT_ALLOW("DONT_ALLOW");
+
+ private String value;
+
+ SocialActionPrivacy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialActionPrivacy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialActionPrivacy defined values and compare the inner value with the given one:
+ for(SocialActionPrivacy 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 SocialActionPrivacy.values().length > 0 ? SocialActionPrivacy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionType.java
new file mode 100644
index 000000000..2d8b9f479
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialActionType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialActionType implements EnumAsString {
+ LIKE("LIKE"),
+ WATCH("WATCH"),
+ RATE("RATE"),
+ SHARE("SHARE");
+
+ private String value;
+
+ SocialActionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialActionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialActionType defined values and compare the inner value with the given one:
+ for(SocialActionType 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 SocialActionType.values().length > 0 ? SocialActionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialCommentOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialCommentOrderBy.java
new file mode 100644
index 000000000..625eb8bf0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialCommentOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialCommentOrderBy implements EnumAsString {
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ SocialCommentOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialCommentOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialCommentOrderBy defined values and compare the inner value with the given one:
+ for(SocialCommentOrderBy 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 SocialCommentOrderBy.values().length > 0 ? SocialCommentOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialFriendActivityOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialFriendActivityOrderBy.java
new file mode 100644
index 000000000..cc74072bd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialFriendActivityOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialFriendActivityOrderBy implements EnumAsString {
+ NONE("NONE"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC");
+
+ private String value;
+
+ SocialFriendActivityOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialFriendActivityOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialFriendActivityOrderBy defined values and compare the inner value with the given one:
+ for(SocialFriendActivityOrderBy 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 SocialFriendActivityOrderBy.values().length > 0 ? SocialFriendActivityOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialNetwork.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialNetwork.java
new file mode 100644
index 000000000..e347b17be
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialNetwork.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialNetwork implements EnumAsString {
+ FACEBOOK("facebook");
+
+ private String value;
+
+ SocialNetwork(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialNetwork get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialNetwork defined values and compare the inner value with the given one:
+ for(SocialNetwork 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 SocialNetwork.values().length > 0 ? SocialNetwork.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPlatform.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPlatform.java
new file mode 100644
index 000000000..3e0b0084b
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPlatform.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialPlatform implements EnumAsString {
+ IN_APP("IN_APP"),
+ FACEBOOK("FACEBOOK"),
+ TWITTER("TWITTER");
+
+ private String value;
+
+ SocialPlatform(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialPlatform get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialPlatform defined values and compare the inner value with the given one:
+ for(SocialPlatform 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 SocialPlatform.values().length > 0 ? SocialPlatform.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPrivacy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPrivacy.java
new file mode 100644
index 000000000..265804d2e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialPrivacy.java
@@ -0,0 +1,74 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialPrivacy implements EnumAsString {
+ UNKNOWN("UNKNOWN"),
+ EVERYONE("EVERYONE"),
+ ALL_FRIENDS("ALL_FRIENDS"),
+ FRIENDS_OF_FRIENDS("FRIENDS_OF_FRIENDS"),
+ SELF("SELF"),
+ CUSTOM("CUSTOM");
+
+ private String value;
+
+ SocialPrivacy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialPrivacy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialPrivacy defined values and compare the inner value with the given one:
+ for(SocialPrivacy 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 SocialPrivacy.values().length > 0 ? SocialPrivacy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SocialStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialStatus.java
new file mode 100644
index 000000000..277032383
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SocialStatus.java
@@ -0,0 +1,80 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SocialStatus implements EnumAsString {
+ ERROR("error"),
+ OK("ok"),
+ USER_DOES_NOT_EXIST("user_does_not_exist"),
+ NO_USER_SOCIAL_SETTINGS_FOUND("no_user_social_settings_found"),
+ ASSET_ALREADY_LIKED("asset_already_liked"),
+ NOT_ALLOWED("not_allowed"),
+ INVALID_PARAMETERS("invalid_parameters"),
+ NO_FACEBOOK_ACTION("no_facebook_action"),
+ ASSET_ALREADY_RATED("asset_already_rated"),
+ ASSET_DOSE_NOT_EXISTS("asset_dose_not_exists"),
+ INVALID_PLATFORM_REQUEST("invalid_platform_request"),
+ INVALID_ACCESS_TOKEN("invalid_access_token");
+
+ private String value;
+
+ SocialStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SocialStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SocialStatus defined values and compare the inner value with the given one:
+ for(SocialStatus 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 SocialStatus.values().length > 0 ? SocialStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/StreamType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/StreamType.java
new file mode 100644
index 000000000..645209e97
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/StreamType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum StreamType implements EnumAsString {
+ CATCHUP("catchup"),
+ START_OVER("start_over"),
+ TRICK_PLAY("trick_play");
+
+ private String value;
+
+ StreamType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static StreamType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over StreamType defined values and compare the inner value with the given one:
+ for(StreamType 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 StreamType.values().length > 0 ? StreamType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/StreamingDeviceOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/StreamingDeviceOrderBy.java
new file mode 100644
index 000000000..c71d63015
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/StreamingDeviceOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum StreamingDeviceOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ StreamingDeviceOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static StreamingDeviceOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over StreamingDeviceOrderBy defined values and compare the inner value with the given one:
+ for(StreamingDeviceOrderBy 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 StreamingDeviceOrderBy.values().length > 0 ? StreamingDeviceOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionDependencyType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionDependencyType.java
new file mode 100644
index 000000000..82dfb7572
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionDependencyType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SubscriptionDependencyType implements EnumAsString {
+ NOTAPPLICABLE("NOTAPPLICABLE"),
+ BASE("BASE"),
+ ADDON("ADDON");
+
+ private String value;
+
+ SubscriptionDependencyType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SubscriptionDependencyType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SubscriptionDependencyType defined values and compare the inner value with the given one:
+ for(SubscriptionDependencyType 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 SubscriptionDependencyType.values().length > 0 ? SubscriptionDependencyType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionOrderBy.java
new file mode 100644
index 000000000..ddd5c9a80
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionOrderBy.java
@@ -0,0 +1,76 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SubscriptionOrderBy implements EnumAsString {
+ START_DATE_ASC("START_DATE_ASC"),
+ START_DATE_DESC("START_DATE_DESC"),
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC"),
+ UPDATE_DATE_ASC("UPDATE_DATE_ASC"),
+ UPDATE_DATE_DESC("UPDATE_DATE_DESC"),
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ SubscriptionOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SubscriptionOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SubscriptionOrderBy defined values and compare the inner value with the given one:
+ for(SubscriptionOrderBy 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 SubscriptionOrderBy.values().length > 0 ? SubscriptionOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetOrderBy.java
new file mode 100644
index 000000000..23f416097
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SubscriptionSetOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ SubscriptionSetOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SubscriptionSetOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SubscriptionSetOrderBy defined values and compare the inner value with the given one:
+ for(SubscriptionSetOrderBy 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 SubscriptionSetOrderBy.values().length > 0 ? SubscriptionSetOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetType.java
new file mode 100644
index 000000000..4f11e8430
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionSetType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SubscriptionSetType implements EnumAsString {
+ SWITCH("SWITCH"),
+ DEPENDENCY("DEPENDENCY");
+
+ private String value;
+
+ SubscriptionSetType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SubscriptionSetType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SubscriptionSetType defined values and compare the inner value with the given one:
+ for(SubscriptionSetType 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 SubscriptionSetType.values().length > 0 ? SubscriptionSetType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionTriggerType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionTriggerType.java
new file mode 100644
index 000000000..7cbcf0667
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SubscriptionTriggerType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SubscriptionTriggerType implements EnumAsString {
+ START_DATE("START_DATE"),
+ END_DATE("END_DATE");
+
+ private String value;
+
+ SubscriptionTriggerType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SubscriptionTriggerType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SubscriptionTriggerType defined values and compare the inner value with the given one:
+ for(SubscriptionTriggerType 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 SubscriptionTriggerType.values().length > 0 ? SubscriptionTriggerType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/SuspensionProfileInheritanceType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/SuspensionProfileInheritanceType.java
new file mode 100644
index 000000000..e68ea7c3d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/SuspensionProfileInheritanceType.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum SuspensionProfileInheritanceType implements EnumAsString {
+ ALWAYS("ALWAYS"),
+ NEVER("NEVER"),
+ DEFAULT("DEFAULT");
+
+ private String value;
+
+ SuspensionProfileInheritanceType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static SuspensionProfileInheritanceType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over SuspensionProfileInheritanceType defined values and compare the inner value with the given one:
+ for(SuspensionProfileInheritanceType 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 SuspensionProfileInheritanceType.values().length > 0 ? SuspensionProfileInheritanceType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TagOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TagOrderBy.java
new file mode 100644
index 000000000..87e4dbe43
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TagOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TagOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ TagOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TagOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TagOrderBy defined values and compare the inner value with the given one:
+ for(TagOrderBy 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 TagOrderBy.values().length > 0 ? TagOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TimeShiftedTvState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TimeShiftedTvState.java
new file mode 100644
index 000000000..d458b8d58
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TimeShiftedTvState.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TimeShiftedTvState implements EnumAsString {
+ INHERITED("INHERITED"),
+ ENABLED("ENABLED"),
+ DISABLED("DISABLED");
+
+ private String value;
+
+ TimeShiftedTvState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TimeShiftedTvState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TimeShiftedTvState defined values and compare the inner value with the given one:
+ for(TimeShiftedTvState 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 TimeShiftedTvState.values().length > 0 ? TimeShiftedTvState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TopicAutomaticIssueNotification.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicAutomaticIssueNotification.java
new file mode 100644
index 000000000..2a587ffcb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicAutomaticIssueNotification.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TopicAutomaticIssueNotification implements EnumAsString {
+ INHERIT("Inherit"),
+ YES("Yes"),
+ NO("No");
+
+ private String value;
+
+ TopicAutomaticIssueNotification(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TopicAutomaticIssueNotification get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TopicAutomaticIssueNotification defined values and compare the inner value with the given one:
+ for(TopicAutomaticIssueNotification 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 TopicAutomaticIssueNotification.values().length > 0 ? TopicAutomaticIssueNotification.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationMessageOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationMessageOrderBy.java
new file mode 100644
index 000000000..1ea66a7b7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationMessageOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TopicNotificationMessageOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ TopicNotificationMessageOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TopicNotificationMessageOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TopicNotificationMessageOrderBy defined values and compare the inner value with the given one:
+ for(TopicNotificationMessageOrderBy 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 TopicNotificationMessageOrderBy.values().length > 0 ? TopicNotificationMessageOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationOrderBy.java
new file mode 100644
index 000000000..0fcb16d25
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicNotificationOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TopicNotificationOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ TopicNotificationOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TopicNotificationOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TopicNotificationOrderBy defined values and compare the inner value with the given one:
+ for(TopicNotificationOrderBy 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 TopicNotificationOrderBy.values().length > 0 ? TopicNotificationOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TopicOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicOrderBy.java
new file mode 100644
index 000000000..35d886504
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TopicOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TopicOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ TopicOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TopicOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TopicOrderBy defined values and compare the inner value with the given one:
+ for(TopicOrderBy 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 TopicOrderBy.values().length > 0 ? TopicOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionAdapterStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionAdapterStatus.java
new file mode 100644
index 000000000..f482ce118
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionAdapterStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TransactionAdapterStatus implements EnumAsString {
+ OK("OK"),
+ PENDING("PENDING"),
+ FAILED("FAILED");
+
+ private String value;
+
+ TransactionAdapterStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TransactionAdapterStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TransactionAdapterStatus defined values and compare the inner value with the given one:
+ for(TransactionAdapterStatus 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 TransactionAdapterStatus.values().length > 0 ? TransactionAdapterStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionHistoryOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionHistoryOrderBy.java
new file mode 100644
index 000000000..5952fcf53
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionHistoryOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TransactionHistoryOrderBy implements EnumAsString {
+ CREATE_DATE_ASC("CREATE_DATE_ASC"),
+ CREATE_DATE_DESC("CREATE_DATE_DESC");
+
+ private String value;
+
+ TransactionHistoryOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TransactionHistoryOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TransactionHistoryOrderBy defined values and compare the inner value with the given one:
+ for(TransactionHistoryOrderBy 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 TransactionHistoryOrderBy.values().length > 0 ? TransactionHistoryOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionType.java
new file mode 100644
index 000000000..70e48524f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TransactionType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TransactionType implements EnumAsString {
+ PPV("ppv"),
+ SUBSCRIPTION("subscription"),
+ COLLECTION("collection"),
+ PROGRAMASSETGROUPOFFER("programAssetGroupOffer");
+
+ private String value;
+
+ TransactionType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TransactionType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TransactionType defined values and compare the inner value with the given one:
+ for(TransactionType 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 TransactionType.values().length > 0 ? TransactionType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleOrderBy.java
new file mode 100644
index 000000000..77a5d7712
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TvmRuleOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ TvmRuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TvmRuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TvmRuleOrderBy defined values and compare the inner value with the given one:
+ for(TvmRuleOrderBy 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 TvmRuleOrderBy.values().length > 0 ? TvmRuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleType.java
new file mode 100644
index 000000000..352e8334f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/TvmRuleType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum TvmRuleType implements EnumAsString {
+ GEO("Geo"),
+ DEVICE("Device");
+
+ private String value;
+
+ TvmRuleType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static TvmRuleType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over TvmRuleType defined values and compare the inner value with the given one:
+ for(TvmRuleType 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 TvmRuleType.values().length > 0 ? TvmRuleType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UnmatchedItemsPolicy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UnmatchedItemsPolicy.java
new file mode 100644
index 000000000..57b2f4d7c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UnmatchedItemsPolicy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UnmatchedItemsPolicy implements EnumAsString {
+ OMIT("OMIT"),
+ GROUP("GROUP"),
+ INCLUDE_AND_MERGE("INCLUDE_AND_MERGE");
+
+ private String value;
+
+ UnmatchedItemsPolicy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UnmatchedItemsPolicy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UnmatchedItemsPolicy defined values and compare the inner value with the given one:
+ for(UnmatchedItemsPolicy 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 UnmatchedItemsPolicy.values().length > 0 ? UnmatchedItemsPolicy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UploadTokenStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UploadTokenStatus.java
new file mode 100644
index 000000000..cd8c35784
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UploadTokenStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UploadTokenStatus implements EnumAsString {
+ PENDING("PENDING"),
+ FULL_UPLOAD("FULL_UPLOAD"),
+ CLOSED("CLOSED");
+
+ private String value;
+
+ UploadTokenStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UploadTokenStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UploadTokenStatus defined values and compare the inner value with the given one:
+ for(UploadTokenStatus 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 UploadTokenStatus.values().length > 0 ? UploadTokenStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UrlType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UrlType.java
new file mode 100644
index 000000000..dd5fa9126
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UrlType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UrlType implements EnumAsString {
+ PLAYMANIFEST("PLAYMANIFEST"),
+ DIRECT("DIRECT");
+
+ private String value;
+
+ UrlType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UrlType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UrlType defined values and compare the inner value with the given one:
+ for(UrlType 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 UrlType.values().length > 0 ? UrlType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetRuleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetRuleOrderBy.java
new file mode 100644
index 000000000..e1d94c800
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetRuleOrderBy.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserAssetRuleOrderBy implements EnumAsString {
+ NAME_ASC("NAME_ASC"),
+ NAME_DESC("NAME_DESC");
+
+ private String value;
+
+ UserAssetRuleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserAssetRuleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserAssetRuleOrderBy defined values and compare the inner value with the given one:
+ for(UserAssetRuleOrderBy 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 UserAssetRuleOrderBy.values().length > 0 ? UserAssetRuleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListItemType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListItemType.java
new file mode 100644
index 000000000..2aca0a349
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListItemType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserAssetsListItemType implements EnumAsString {
+ ALL("all"),
+ MEDIA("media");
+
+ private String value;
+
+ UserAssetsListItemType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserAssetsListItemType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserAssetsListItemType defined values and compare the inner value with the given one:
+ for(UserAssetsListItemType 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 UserAssetsListItemType.values().length > 0 ? UserAssetsListItemType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListType.java
new file mode 100644
index 000000000..5798246c6
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserAssetsListType.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserAssetsListType implements EnumAsString {
+ ALL("all"),
+ WATCH("watch"),
+ PURCHASE("purchase"),
+ LIBRARY("library");
+
+ private String value;
+
+ UserAssetsListType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserAssetsListType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserAssetsListType defined values and compare the inner value with the given one:
+ for(UserAssetsListType 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 UserAssetsListType.values().length > 0 ? UserAssetsListType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleOrderBy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleOrderBy.java
new file mode 100644
index 000000000..9887bd163
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleOrderBy.java
@@ -0,0 +1,69 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserRoleOrderBy implements EnumAsString {
+ NONE("NONE");
+
+ private String value;
+
+ UserRoleOrderBy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserRoleOrderBy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserRoleOrderBy defined values and compare the inner value with the given one:
+ for(UserRoleOrderBy 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 UserRoleOrderBy.values().length > 0 ? UserRoleOrderBy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleProfile.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleProfile.java
new file mode 100644
index 000000000..6bbb536d0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleProfile.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserRoleProfile implements EnumAsString {
+ USER("USER"),
+ PARTNER("PARTNER"),
+ PROFILE("PROFILE"),
+ SYSTEM("SYSTEM"),
+ PERMISSION_EMBEDDED("PERMISSION_EMBEDDED");
+
+ private String value;
+
+ UserRoleProfile(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserRoleProfile get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserRoleProfile defined values and compare the inner value with the given one:
+ for(UserRoleProfile 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 UserRoleProfile.values().length > 0 ? UserRoleProfile.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleType.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleType.java
new file mode 100644
index 000000000..d254ed1f1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserRoleType.java
@@ -0,0 +1,70 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserRoleType implements EnumAsString {
+ SYSTEM("SYSTEM"),
+ CUSTOM("CUSTOM");
+
+ private String value;
+
+ UserRoleType(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserRoleType get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserRoleType defined values and compare the inner value with the given one:
+ for(UserRoleType 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 UserRoleType.values().length > 0 ? UserRoleType.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/UserState.java b/KalturaClient/src/main/java/com/kaltura/client/enums/UserState.java
new file mode 100644
index 000000000..46d8f3562
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/UserState.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum UserState implements EnumAsString {
+ OK("ok"),
+ USER_WITH_NO_HOUSEHOLD("user_with_no_household"),
+ USER_CREATED_WITH_NO_ROLE("user_created_with_no_role"),
+ USER_NOT_ACTIVATED("user_not_activated");
+
+ private String value;
+
+ UserState(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static UserState get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over UserState defined values and compare the inner value with the given one:
+ for(UserState 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 UserState.values().length > 0 ? UserState.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/WatchStatus.java b/KalturaClient/src/main/java/com/kaltura/client/enums/WatchStatus.java
new file mode 100644
index 000000000..e671b7e14
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/WatchStatus.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum WatchStatus implements EnumAsString {
+ PROGRESS("progress"),
+ DONE("done"),
+ ALL("all");
+
+ private String value;
+
+ WatchStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static WatchStatus get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over WatchStatus defined values and compare the inner value with the given one:
+ for(WatchStatus 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 WatchStatus.values().length > 0 ? WatchStatus.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/enums/WatchedAllReturnStrategy.java b/KalturaClient/src/main/java/com/kaltura/client/enums/WatchedAllReturnStrategy.java
new file mode 100644
index 000000000..4a0a5f9c7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/enums/WatchedAllReturnStrategy.java
@@ -0,0 +1,71 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.enums;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+public enum WatchedAllReturnStrategy implements EnumAsString {
+ RETURN_NO_NEXT_EPISODE("RETURN_NO_NEXT_EPISODE"),
+ RETURN_FIRST_EPISODE("RETURN_FIRST_EPISODE"),
+ RETURN_LAST_EPISODE("RETURN_LAST_EPISODE");
+
+ private String value;
+
+ WatchedAllReturnStrategy(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public static WatchedAllReturnStrategy get(String value) {
+ if(value == null)
+ {
+ return null;
+ }
+
+ // goes over WatchedAllReturnStrategy defined values and compare the inner value with the given one:
+ for(WatchedAllReturnStrategy 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 WatchedAllReturnStrategy.values().length > 0 ? WatchedAllReturnStrategy.values()[0]: null;
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AnnouncementService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AnnouncementService.java
new file mode 100644
index 000000000..42f99e82e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AnnouncementService.java
@@ -0,0 +1,176 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Announcement;
+import com.kaltura.client.types.AnnouncementFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AnnouncementService {
+
+ public static class AddAnnouncementBuilder extends RequestBuilder {
+
+ public AddAnnouncementBuilder(Announcement announcement) {
+ super(Announcement.class, "announcement", "add");
+ params.add("announcement", announcement);
+ }
+ }
+
+ /**
+ * Add a new future scheduled system announcement push notification
+ *
+ * @param announcement The announcement to be added.
+ * timezone parameter should be taken from the 'name of timezone' from:
+ * https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx
+ * Recipients values: All, LoggedIn, Guests
+ */
+ public static AddAnnouncementBuilder add(Announcement announcement) {
+ return new AddAnnouncementBuilder(announcement);
+ }
+
+ public static class DeleteAnnouncementBuilder extends RequestBuilder {
+
+ public DeleteAnnouncementBuilder(long id) {
+ super(Boolean.class, "announcement", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete an existing announcing. Announcement cannot be delete while being sent.
+ *
+ * @param id Id of the announcement.
+ */
+ public static DeleteAnnouncementBuilder delete(long id) {
+ return new DeleteAnnouncementBuilder(id);
+ }
+
+ public static class EnableSystemAnnouncementsAnnouncementBuilder extends RequestBuilder {
+
+ public EnableSystemAnnouncementsAnnouncementBuilder() {
+ super(Boolean.class, "announcement", "enableSystemAnnouncements");
+ }
+ }
+
+ /**
+ * Enable system announcements
+ */
+ public static EnableSystemAnnouncementsAnnouncementBuilder enableSystemAnnouncements() {
+ return new EnableSystemAnnouncementsAnnouncementBuilder();
+ }
+
+ public static class ListAnnouncementBuilder extends ListResponseRequestBuilder {
+
+ public ListAnnouncementBuilder(AnnouncementFilter filter, FilterPager pager) {
+ super(Announcement.class, "announcement", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListAnnouncementBuilder list(AnnouncementFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Lists all announcements in the system.
+ *
+ * @param filter Filter object
+ * @param pager Paging the request
+ */
+ public static ListAnnouncementBuilder list(AnnouncementFilter filter, FilterPager pager) {
+ return new ListAnnouncementBuilder(filter, pager);
+ }
+
+ public static class UpdateAnnouncementBuilder extends RequestBuilder {
+
+ public UpdateAnnouncementBuilder(int announcementId, Announcement announcement) {
+ super(Announcement.class, "announcement", "update");
+ params.add("announcementId", announcementId);
+ params.add("announcement", announcement);
+ }
+
+ public void announcementId(String multirequestToken) {
+ params.add("announcementId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update an existing future system announcement push notification. Announcement
+ can only be updated only before sending
+ *
+ * @param announcementId The announcement identifier
+ * @param announcement The announcement to update.
+ * timezone parameter should be taken from the 'name of timezone' from:
+ * https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx
+ * Recipients values: All, LoggedIn, Guests
+ */
+ public static UpdateAnnouncementBuilder update(int announcementId, Announcement announcement) {
+ return new UpdateAnnouncementBuilder(announcementId, announcement);
+ }
+
+ public static class UpdateStatusAnnouncementBuilder extends RequestBuilder {
+
+ public UpdateStatusAnnouncementBuilder(long id, boolean status) {
+ super(Boolean.class, "announcement", "updateStatus");
+ params.add("id", id);
+ params.add("status", status);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void status(String multirequestToken) {
+ params.add("status", multirequestToken);
+ }
+ }
+
+ /**
+ * Update a system announcement status
+ *
+ * @param id Id of the announcement.
+ * @param status Status to update to.
+ */
+ public static UpdateStatusAnnouncementBuilder updateStatus(long id, boolean status) {
+ return new UpdateStatusAnnouncementBuilder(id, status);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AppTokenService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AppTokenService.java
new file mode 100644
index 000000000..96f571555
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AppTokenService.java
@@ -0,0 +1,161 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AppToken;
+import com.kaltura.client.types.SessionInfo;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AppTokenService {
+
+ public static class AddAppTokenBuilder extends RequestBuilder {
+
+ public AddAppTokenBuilder(AppToken appToken) {
+ super(AppToken.class, "apptoken", "add");
+ params.add("appToken", appToken);
+ }
+ }
+
+ /**
+ * Add new application authentication token
+ *
+ * @param appToken Application token
+ */
+ public static AddAppTokenBuilder add(AppToken appToken) {
+ return new AddAppTokenBuilder(appToken);
+ }
+
+ public static class DeleteAppTokenBuilder extends RequestBuilder {
+
+ public DeleteAppTokenBuilder(String id) {
+ super(Boolean.class, "apptoken", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete application authentication token by id
+ *
+ * @param id Application token identifier
+ */
+ public static DeleteAppTokenBuilder delete(String id) {
+ return new DeleteAppTokenBuilder(id);
+ }
+
+ public static class GetAppTokenBuilder extends RequestBuilder {
+
+ public GetAppTokenBuilder(String id) {
+ super(AppToken.class, "apptoken", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get application authentication token by id
+ *
+ * @param id Application token identifier
+ */
+ public static GetAppTokenBuilder get(String id) {
+ return new GetAppTokenBuilder(id);
+ }
+
+ public static class StartSessionAppTokenBuilder extends RequestBuilder {
+
+ public StartSessionAppTokenBuilder(String id, String tokenHash, String userId, int expiry, String udid) {
+ super(SessionInfo.class, "apptoken", "startSession");
+ params.add("id", id);
+ params.add("tokenHash", tokenHash);
+ params.add("userId", userId);
+ params.add("expiry", expiry);
+ params.add("udid", udid);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void tokenHash(String multirequestToken) {
+ params.add("tokenHash", multirequestToken);
+ }
+
+ public void userId(String multirequestToken) {
+ params.add("userId", multirequestToken);
+ }
+
+ public void expiry(String multirequestToken) {
+ params.add("expiry", multirequestToken);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ public static StartSessionAppTokenBuilder startSession(String id, String tokenHash) {
+ return startSession(id, tokenHash, null);
+ }
+
+ public static StartSessionAppTokenBuilder startSession(String id, String tokenHash, String userId) {
+ return startSession(id, tokenHash, userId, Integer.MIN_VALUE);
+ }
+
+ public static StartSessionAppTokenBuilder startSession(String id, String tokenHash, String userId, int expiry) {
+ return startSession(id, tokenHash, userId, expiry, null);
+ }
+
+ /**
+ * Starts a new KS (Kaltura Session) based on application authentication token id
+ *
+ * @param id application token id
+ * @param tokenHash hashed token - current KS concatenated with the application token hashed using
+ * the application token ‘hashType’
+ * @param userId session user id, will be ignored if a different user id already defined on the
+ * application token
+ * @param expiry session expiry (in seconds), could be overwritten by shorter expiry of the
+ * application token and the session-expiry that defined on the application token
+ * @param udid Device UDID
+ */
+ public static StartSessionAppTokenBuilder startSession(String id, String tokenHash, String userId, int expiry, String udid) {
+ return new StartSessionAppTokenBuilder(id, tokenHash, userId, expiry, udid);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetCommentService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetCommentService.java
new file mode 100644
index 000000000..715e36f43
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetCommentService.java
@@ -0,0 +1,84 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetComment;
+import com.kaltura.client.types.AssetCommentFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetCommentService {
+
+ public static class AddAssetCommentBuilder extends RequestBuilder {
+
+ public AddAssetCommentBuilder(AssetComment comment) {
+ super(AssetComment.class, "assetcomment", "add");
+ params.add("comment", comment);
+ }
+ }
+
+ /**
+ * Add asset comments by asset id
+ *
+ * @param comment comment
+ */
+ public static AddAssetCommentBuilder add(AssetComment comment) {
+ return new AddAssetCommentBuilder(comment);
+ }
+
+ public static class ListAssetCommentBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetCommentBuilder(AssetCommentFilter filter, FilterPager pager) {
+ super(AssetComment.class, "assetcomment", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListAssetCommentBuilder list(AssetCommentFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns asset comments by asset id
+ *
+ * @param filter Filtering the assets comments request
+ * @param pager Page size and index
+ */
+ public static ListAssetCommentBuilder list(AssetCommentFilter filter, FilterPager pager) {
+ return new ListAssetCommentBuilder(filter, pager);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetFilePpvService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetFilePpvService.java
new file mode 100644
index 000000000..509391699
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetFilePpvService.java
@@ -0,0 +1,133 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetFilePpv;
+import com.kaltura.client.types.AssetFilePpvFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetFilePpvService {
+
+ public static class AddAssetFilePpvBuilder extends RequestBuilder {
+
+ public AddAssetFilePpvBuilder(AssetFilePpv assetFilePpv) {
+ super(AssetFilePpv.class, "assetfileppv", "add");
+ params.add("assetFilePpv", assetFilePpv);
+ }
+ }
+
+ /**
+ * Add asset file ppv
+ *
+ * @param assetFilePpv asset file ppv
+ */
+ public static AddAssetFilePpvBuilder add(AssetFilePpv assetFilePpv) {
+ return new AddAssetFilePpvBuilder(assetFilePpv);
+ }
+
+ public static class DeleteAssetFilePpvBuilder extends RequestBuilder {
+
+ public DeleteAssetFilePpvBuilder(long assetFileId, long ppvModuleId) {
+ super(Boolean.class, "assetfileppv", "delete");
+ params.add("assetFileId", assetFileId);
+ params.add("ppvModuleId", ppvModuleId);
+ }
+
+ public void assetFileId(String multirequestToken) {
+ params.add("assetFileId", multirequestToken);
+ }
+
+ public void ppvModuleId(String multirequestToken) {
+ params.add("ppvModuleId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete asset file ppv
+ *
+ * @param assetFileId Asset file id
+ * @param ppvModuleId Ppv module id
+ */
+ public static DeleteAssetFilePpvBuilder delete(long assetFileId, long ppvModuleId) {
+ return new DeleteAssetFilePpvBuilder(assetFileId, ppvModuleId);
+ }
+
+ public static class ListAssetFilePpvBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetFilePpvBuilder(AssetFilePpvFilter filter) {
+ super(AssetFilePpv.class, "assetfileppv", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Return a list of asset files ppvs for the account with optional filter
+ *
+ * @param filter Filter parameters for filtering out the result
+ */
+ public static ListAssetFilePpvBuilder list(AssetFilePpvFilter filter) {
+ return new ListAssetFilePpvBuilder(filter);
+ }
+
+ public static class UpdateAssetFilePpvBuilder extends RequestBuilder {
+
+ public UpdateAssetFilePpvBuilder(long assetFileId, long ppvModuleId, AssetFilePpv assetFilePpv) {
+ super(AssetFilePpv.class, "assetfileppv", "update");
+ params.add("assetFileId", assetFileId);
+ params.add("ppvModuleId", ppvModuleId);
+ params.add("assetFilePpv", assetFilePpv);
+ }
+
+ public void assetFileId(String multirequestToken) {
+ params.add("assetFileId", multirequestToken);
+ }
+
+ public void ppvModuleId(String multirequestToken) {
+ params.add("ppvModuleId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update assetFilePpv
+ *
+ * @param assetFileId Asset file id
+ * @param ppvModuleId Ppv module id
+ * @param assetFilePpv assetFilePpv
+ */
+ public static UpdateAssetFilePpvBuilder update(long assetFileId, long ppvModuleId, AssetFilePpv assetFilePpv) {
+ return new UpdateAssetFilePpvBuilder(assetFileId, ppvModuleId, assetFilePpv);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetFileService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetFileService.java
new file mode 100644
index 000000000..b86b36323
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetFileService.java
@@ -0,0 +1,147 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.AssetType;
+import com.kaltura.client.enums.ContextType;
+import com.kaltura.client.enums.PlaybackContextType;
+import com.kaltura.client.types.AssetFile;
+import com.kaltura.client.types.AssetFileContext;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetFileService {
+
+ public static class GetContextAssetFileBuilder extends RequestBuilder {
+
+ public GetContextAssetFileBuilder(String id, ContextType contextType) {
+ super(AssetFileContext.class, "assetfile", "getContext");
+ params.add("id", id);
+ params.add("contextType", contextType);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void contextType(String multirequestToken) {
+ params.add("contextType", multirequestToken);
+ }
+ }
+
+ /**
+ * get KalturaAssetFileContext
+ *
+ * @param id Asset file identifier
+ * @param contextType Kaltura Context Type (none = 0, recording = 1)
+ */
+ public static GetContextAssetFileBuilder getContext(String id, ContextType contextType) {
+ return new GetContextAssetFileBuilder(id, contextType);
+ }
+
+ public static class PlayManifestAssetFileBuilder extends RequestBuilder {
+
+ public PlayManifestAssetFileBuilder(int partnerId, String assetId, AssetType assetType, long assetFileId, PlaybackContextType contextType, String ks, String tokenizedUrl, boolean isAltUrl) {
+ super(AssetFile.class, "assetfile", "playManifest");
+ params.add("partnerId", partnerId);
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("assetFileId", assetFileId);
+ params.add("contextType", contextType);
+ params.add("ks", ks);
+ params.add("tokenizedUrl", tokenizedUrl);
+ params.add("isAltUrl", isAltUrl);
+ }
+
+ public void partnerId(String multirequestToken) {
+ params.add("partnerId", multirequestToken);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+
+ public void assetFileId(String multirequestToken) {
+ params.add("assetFileId", multirequestToken);
+ }
+
+ public void contextType(String multirequestToken) {
+ params.add("contextType", multirequestToken);
+ }
+
+ public void ks(String multirequestToken) {
+ params.add("ks", multirequestToken);
+ }
+
+ public void tokenizedUrl(String multirequestToken) {
+ params.add("tokenizedUrl", multirequestToken);
+ }
+
+ public void isAltUrl(String multirequestToken) {
+ params.add("isAltUrl", multirequestToken);
+ }
+ }
+
+ public static PlayManifestAssetFileBuilder playManifest(int partnerId, String assetId, AssetType assetType, long assetFileId, PlaybackContextType contextType) {
+ return playManifest(partnerId, assetId, assetType, assetFileId, contextType, null);
+ }
+
+ public static PlayManifestAssetFileBuilder playManifest(int partnerId, String assetId, AssetType assetType, long assetFileId, PlaybackContextType contextType, String ks) {
+ return playManifest(partnerId, assetId, assetType, assetFileId, contextType, ks, null);
+ }
+
+ public static PlayManifestAssetFileBuilder playManifest(int partnerId, String assetId, AssetType assetType, long assetFileId, PlaybackContextType contextType, String ks, String tokenizedUrl) {
+ return playManifest(partnerId, assetId, assetType, assetFileId, contextType, ks, tokenizedUrl, false);
+ }
+
+ /**
+ * Redirects to play manifest
+ *
+ * @param partnerId Partner identifier
+ * @param assetId Asset identifier
+ * @param assetType Asset type
+ * @param assetFileId Asset file identifier
+ * @param contextType Playback context type
+ * @param ks Kaltura session for the user, not mandatory for anonymous user
+ * @param tokenizedUrl Tokenized Url, not mandatory
+ * @param isAltUrl Is alternative url
+ */
+ public static PlayManifestAssetFileBuilder playManifest(int partnerId, String assetId, AssetType assetType, long assetFileId, PlaybackContextType contextType, String ks, String tokenizedUrl, boolean isAltUrl) {
+ return new PlayManifestAssetFileBuilder(partnerId, assetId, assetType, assetFileId, contextType, ks, tokenizedUrl, isAltUrl);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetHistoryService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetHistoryService.java
new file mode 100644
index 000000000..3f123bf8f
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetHistoryService.java
@@ -0,0 +1,149 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.NotWatchedReturnStrategy;
+import com.kaltura.client.enums.WatchedAllReturnStrategy;
+import com.kaltura.client.types.AssetHistory;
+import com.kaltura.client.types.AssetHistoryFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.types.SeriesIdArguments;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetHistoryService {
+
+ public static class CleanAssetHistoryBuilder extends NullRequestBuilder {
+
+ public CleanAssetHistoryBuilder(AssetHistoryFilter filter) {
+ super("assethistory", "clean");
+ params.add("filter", filter);
+ }
+ }
+
+ public static CleanAssetHistoryBuilder clean() {
+ return clean(null);
+ }
+
+ /**
+ * Clean the user’s viewing history
+ *
+ * @param filter List of assets identifier
+ */
+ public static CleanAssetHistoryBuilder clean(AssetHistoryFilter filter) {
+ return new CleanAssetHistoryBuilder(filter);
+ }
+
+ public static class GetNextEpisodeAssetHistoryBuilder extends RequestBuilder {
+
+ public GetNextEpisodeAssetHistoryBuilder(long assetId, SeriesIdArguments seriesIdArguments, NotWatchedReturnStrategy notWatchedReturnStrategy, WatchedAllReturnStrategy watchedAllReturnStrategy) {
+ super(AssetHistory.class, "assethistory", "getNextEpisode");
+ params.add("assetId", assetId);
+ params.add("seriesIdArguments", seriesIdArguments);
+ params.add("notWatchedReturnStrategy", notWatchedReturnStrategy);
+ params.add("watchedAllReturnStrategy", watchedAllReturnStrategy);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void notWatchedReturnStrategy(String multirequestToken) {
+ params.add("notWatchedReturnStrategy", multirequestToken);
+ }
+
+ public void watchedAllReturnStrategy(String multirequestToken) {
+ params.add("watchedAllReturnStrategy", multirequestToken);
+ }
+ }
+
+ public static GetNextEpisodeAssetHistoryBuilder getNextEpisode() {
+ return getNextEpisode(Long.MIN_VALUE);
+ }
+
+ public static GetNextEpisodeAssetHistoryBuilder getNextEpisode(long assetId) {
+ return getNextEpisode(assetId, null);
+ }
+
+ public static GetNextEpisodeAssetHistoryBuilder getNextEpisode(long assetId, SeriesIdArguments seriesIdArguments) {
+ return getNextEpisode(assetId, seriesIdArguments, null);
+ }
+
+ public static GetNextEpisodeAssetHistoryBuilder getNextEpisode(long assetId, SeriesIdArguments seriesIdArguments, NotWatchedReturnStrategy notWatchedReturnStrategy) {
+ return getNextEpisode(assetId, seriesIdArguments, notWatchedReturnStrategy, null);
+ }
+
+ /**
+ * Get next episode by last watch asset in given assetId
+ *
+ * @param assetId asset Id of series to search for next episode
+ * @param seriesIdArguments series Id arguments
+ * @param notWatchedReturnStrategy not watched any episode strategy
+ * @param watchedAllReturnStrategy watched all series episodes strategy
+ */
+ public static GetNextEpisodeAssetHistoryBuilder getNextEpisode(long assetId, SeriesIdArguments seriesIdArguments, NotWatchedReturnStrategy notWatchedReturnStrategy, WatchedAllReturnStrategy watchedAllReturnStrategy) {
+ return new GetNextEpisodeAssetHistoryBuilder(assetId, seriesIdArguments, notWatchedReturnStrategy, watchedAllReturnStrategy);
+ }
+
+ public static class ListAssetHistoryBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetHistoryBuilder(AssetHistoryFilter filter, FilterPager pager) {
+ super(AssetHistory.class, "assethistory", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListAssetHistoryBuilder list() {
+ return list(null);
+ }
+
+ public static ListAssetHistoryBuilder list(AssetHistoryFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Get recently watched media for user, ordered by recently watched first.
+ *
+ * @param filter Filter parameters for filtering out the result
+ * @param pager Page size and index. Number of assets to return per page. Possible range 5 ≤
+ * size ≥ 50. If omitted - will be set to 25. If a value > 50 provided –
+ * will set to 50
+ */
+ public static ListAssetHistoryBuilder list(AssetHistoryFilter filter, FilterPager pager) {
+ return new ListAssetHistoryBuilder(filter, pager);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalMarkupService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalMarkupService.java
new file mode 100644
index 000000000..1c0458148
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalMarkupService.java
@@ -0,0 +1,59 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetPersonalMarkup;
+import com.kaltura.client.types.AssetPersonalMarkupSearchFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetPersonalMarkupService {
+
+ public static class ListAssetPersonalMarkupBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetPersonalMarkupBuilder(AssetPersonalMarkupSearchFilter filter) {
+ super(AssetPersonalMarkup.class, "assetpersonalmarkup", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Response with list of assetPersonalMarkup.
+ *
+ * @param filter Filter pager
+ */
+ public static ListAssetPersonalMarkupBuilder list(AssetPersonalMarkupSearchFilter filter) {
+ return new ListAssetPersonalMarkupBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalSelectionService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalSelectionService.java
new file mode 100644
index 000000000..c0bd18439
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetPersonalSelectionService.java
@@ -0,0 +1,130 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.AssetType;
+import com.kaltura.client.types.AssetPersonalSelection;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetPersonalSelectionService {
+
+ public static class DeleteAssetPersonalSelectionBuilder extends NullRequestBuilder {
+
+ public DeleteAssetPersonalSelectionBuilder(long assetId, AssetType assetType, int slotNumber) {
+ super("assetpersonalselection", "delete");
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("slotNumber", slotNumber);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+
+ public void slotNumber(String multirequestToken) {
+ params.add("slotNumber", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove asset selection in slot
+ *
+ * @param assetId asset id
+ * @param assetType asset type: media/epg
+ * @param slotNumber slot number
+ */
+ public static DeleteAssetPersonalSelectionBuilder delete(long assetId, AssetType assetType, int slotNumber) {
+ return new DeleteAssetPersonalSelectionBuilder(assetId, assetType, slotNumber);
+ }
+
+ public static class DeleteAllAssetPersonalSelectionBuilder extends NullRequestBuilder {
+
+ public DeleteAllAssetPersonalSelectionBuilder(int slotNumber) {
+ super("assetpersonalselection", "deleteAll");
+ params.add("slotNumber", slotNumber);
+ }
+
+ public void slotNumber(String multirequestToken) {
+ params.add("slotNumber", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove asset selection in slot
+ *
+ * @param slotNumber slot number
+ */
+ public static DeleteAllAssetPersonalSelectionBuilder deleteAll(int slotNumber) {
+ return new DeleteAllAssetPersonalSelectionBuilder(slotNumber);
+ }
+
+ public static class UpsertAssetPersonalSelectionBuilder extends RequestBuilder {
+
+ public UpsertAssetPersonalSelectionBuilder(long assetId, AssetType assetType, int slotNumber) {
+ super(AssetPersonalSelection.class, "assetpersonalselection", "upsert");
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("slotNumber", slotNumber);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+
+ public void slotNumber(String multirequestToken) {
+ params.add("slotNumber", multirequestToken);
+ }
+ }
+
+ /**
+ * Add or update asset selection in slot
+ *
+ * @param assetId asset id
+ * @param assetType asset type: media/epg
+ * @param slotNumber slot number
+ */
+ public static UpsertAssetPersonalSelectionBuilder upsert(long assetId, AssetType assetType, int slotNumber) {
+ return new UpsertAssetPersonalSelectionBuilder(assetId, assetType, slotNumber);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetRuleService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetRuleService.java
new file mode 100644
index 000000000..787a4ed9e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetRuleService.java
@@ -0,0 +1,125 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetRule;
+import com.kaltura.client.types.AssetRuleFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetRuleService {
+
+ public static class AddAssetRuleBuilder extends RequestBuilder {
+
+ public AddAssetRuleBuilder(AssetRule assetRule) {
+ super(AssetRule.class, "assetrule", "add");
+ params.add("assetRule", assetRule);
+ }
+ }
+
+ /**
+ * Add asset rule
+ *
+ * @param assetRule Asset rule
+ */
+ public static AddAssetRuleBuilder add(AssetRule assetRule) {
+ return new AddAssetRuleBuilder(assetRule);
+ }
+
+ public static class DeleteAssetRuleBuilder extends RequestBuilder {
+
+ public DeleteAssetRuleBuilder(long id) {
+ super(Boolean.class, "assetrule", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete asset rule
+ *
+ * @param id Asset rule ID
+ */
+ public static DeleteAssetRuleBuilder delete(long id) {
+ return new DeleteAssetRuleBuilder(id);
+ }
+
+ public static class ListAssetRuleBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetRuleBuilder(AssetRuleFilter filter) {
+ super(AssetRule.class, "assetrule", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListAssetRuleBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Get the list of asset rules for the partner
+ *
+ * @param filter filter by condition name
+ */
+ public static ListAssetRuleBuilder list(AssetRuleFilter filter) {
+ return new ListAssetRuleBuilder(filter);
+ }
+
+ public static class UpdateAssetRuleBuilder extends RequestBuilder {
+
+ public UpdateAssetRuleBuilder(long id, AssetRule assetRule) {
+ super(AssetRule.class, "assetrule", "update");
+ params.add("id", id);
+ params.add("assetRule", assetRule);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update asset rule
+ *
+ * @param id Asset rule ID to update
+ * @param assetRule Asset rule
+ */
+ public static UpdateAssetRuleBuilder update(long id, AssetRule assetRule) {
+ return new UpdateAssetRuleBuilder(id, assetRule);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetService.java
new file mode 100644
index 000000000..885333c46
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetService.java
@@ -0,0 +1,455 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.FileHolder;
+import com.kaltura.client.Files;
+import com.kaltura.client.enums.AssetReferenceType;
+import com.kaltura.client.enums.AssetType;
+import com.kaltura.client.enums.UnmatchedItemsPolicy;
+import com.kaltura.client.types.AdsContext;
+import com.kaltura.client.types.Asset;
+import com.kaltura.client.types.AssetCount;
+import com.kaltura.client.types.AssetFilter;
+import com.kaltura.client.types.AssetGroupBy;
+import com.kaltura.client.types.BaseAssetOrder;
+import com.kaltura.client.types.BulkUpload;
+import com.kaltura.client.types.BulkUploadAssetData;
+import com.kaltura.client.types.BulkUploadJobData;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.types.ListGroupsRepresentativesFilter;
+import com.kaltura.client.types.PersonalAssetSelectionFilter;
+import com.kaltura.client.types.PlaybackContext;
+import com.kaltura.client.types.PlaybackContextOptions;
+import com.kaltura.client.types.RepresentativeSelectionPolicy;
+import com.kaltura.client.types.SearchAssetFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStream;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetService {
+
+ public static class AddAssetBuilder extends RequestBuilder {
+
+ public AddAssetBuilder(Asset asset) {
+ super(Asset.class, "asset", "add");
+ params.add("asset", asset);
+ }
+ }
+
+ /**
+ * Add a new asset. For metas of type bool-> use
+ kalturaBoolValue, type number-> KalturaDoubleValue, type date ->
+ KalturaLongValue, type string -> KalturaStringValue
+ *
+ * @param asset Asset object
+ */
+ public static AddAssetBuilder add(Asset asset) {
+ return new AddAssetBuilder(asset);
+ }
+
+ public static class AddFromBulkUploadAssetBuilder extends RequestBuilder {
+
+ public AddFromBulkUploadAssetBuilder(FileHolder fileData, BulkUploadJobData bulkUploadJobData, BulkUploadAssetData bulkUploadAssetData) {
+ super(BulkUpload.class, "asset", "addFromBulkUpload");
+ files = new Files();
+ files.add("fileData", fileData);
+ params.add("bulkUploadJobData", bulkUploadJobData);
+ params.add("bulkUploadAssetData", bulkUploadAssetData);
+ }
+ }
+
+ public static AddFromBulkUploadAssetBuilder addFromBulkUpload(File fileData, BulkUploadJobData bulkUploadJobData, BulkUploadAssetData bulkUploadAssetData) {
+ return addFromBulkUpload(new FileHolder(fileData), bulkUploadJobData, bulkUploadAssetData);
+ }
+
+ public static AddFromBulkUploadAssetBuilder addFromBulkUpload(InputStream fileData, String fileDataMimeType, String fileDataName, long fileDataSize, BulkUploadJobData bulkUploadJobData, BulkUploadAssetData bulkUploadAssetData) {
+ return addFromBulkUpload(new FileHolder(fileData, fileDataMimeType, fileDataName, fileDataSize), bulkUploadJobData, bulkUploadAssetData);
+ }
+
+ public static AddFromBulkUploadAssetBuilder addFromBulkUpload(FileInputStream fileData, String fileDataMimeType, String fileDataName, BulkUploadJobData bulkUploadJobData, BulkUploadAssetData bulkUploadAssetData) {
+ return addFromBulkUpload(new FileHolder(fileData, fileDataMimeType, fileDataName), bulkUploadJobData, bulkUploadAssetData);
+ }
+
+ /**
+ * Add new bulk upload batch job Conversion profile id can be specified in the API.
+ *
+ * @param fileData fileData
+ * @param bulkUploadJobData bulkUploadJobData
+ * @param bulkUploadAssetData bulkUploadAssetData
+ */
+ public static AddFromBulkUploadAssetBuilder addFromBulkUpload(FileHolder fileData, BulkUploadJobData bulkUploadJobData, BulkUploadAssetData bulkUploadAssetData) {
+ return new AddFromBulkUploadAssetBuilder(fileData, bulkUploadJobData, bulkUploadAssetData);
+ }
+
+ public static class CountAssetBuilder extends RequestBuilder {
+
+ public CountAssetBuilder(SearchAssetFilter filter) {
+ super(AssetCount.class, "asset", "count");
+ params.add("filter", filter);
+ }
+ }
+
+ public static CountAssetBuilder count() {
+ return count(null);
+ }
+
+ /**
+ * Returns a group-by result for media or EPG according to given filter. Lists
+ values of each field and their respective count.
+ *
+ * @param filter Filtering the assets request
+ */
+ public static CountAssetBuilder count(SearchAssetFilter filter) {
+ return new CountAssetBuilder(filter);
+ }
+
+ public static class DeleteAssetBuilder extends RequestBuilder {
+
+ public DeleteAssetBuilder(long id, AssetReferenceType assetReferenceType) {
+ super(Boolean.class, "asset", "delete");
+ params.add("id", id);
+ params.add("assetReferenceType", assetReferenceType);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void assetReferenceType(String multirequestToken) {
+ params.add("assetReferenceType", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete an existing asset
+ *
+ * @param id Asset Identifier
+ * @param assetReferenceType Type of asset
+ */
+ public static DeleteAssetBuilder delete(long id, AssetReferenceType assetReferenceType) {
+ return new DeleteAssetBuilder(id, assetReferenceType);
+ }
+
+ public static class GetAssetBuilder extends RequestBuilder {
+
+ public GetAssetBuilder(String id, AssetReferenceType assetReferenceType) {
+ super(Asset.class, "asset", "get");
+ params.add("id", id);
+ params.add("assetReferenceType", assetReferenceType);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void assetReferenceType(String multirequestToken) {
+ params.add("assetReferenceType", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns media or EPG asset by media / EPG internal or external identifier.
+ Note: OPC accounts asset.get for internal identifier doesn't take
+ under consideration personalized aspects neither shop limitations.
+ *
+ * @param id Asset identifier
+ * @param assetReferenceType Asset type
+ */
+ public static GetAssetBuilder get(String id, AssetReferenceType assetReferenceType) {
+ return new GetAssetBuilder(id, assetReferenceType);
+ }
+
+ public static class GetAdsContextAssetBuilder extends RequestBuilder {
+
+ public GetAdsContextAssetBuilder(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams) {
+ super(AdsContext.class, "asset", "getAdsContext");
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("contextDataParams", contextDataParams);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns the data for ads control
+ *
+ * @param assetId Asset identifier
+ * @param assetType Asset type
+ * @param contextDataParams Parameters for the request
+ */
+ public static GetAdsContextAssetBuilder getAdsContext(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams) {
+ return new GetAdsContextAssetBuilder(assetId, assetType, contextDataParams);
+ }
+
+ public static class GetPlaybackContextAssetBuilder extends RequestBuilder {
+
+ public GetPlaybackContextAssetBuilder(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams, String sourceType) {
+ super(PlaybackContext.class, "asset", "getPlaybackContext");
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("contextDataParams", contextDataParams);
+ params.add("sourceType", sourceType);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+
+ public void sourceType(String multirequestToken) {
+ params.add("sourceType", multirequestToken);
+ }
+ }
+
+ public static GetPlaybackContextAssetBuilder getPlaybackContext(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams) {
+ return getPlaybackContext(assetId, assetType, contextDataParams, null);
+ }
+
+ /**
+ * This action delivers all data relevant for player
+ *
+ * @param assetId Asset identifier
+ * @param assetType Asset type
+ * @param contextDataParams Parameters for the request
+ * @param sourceType Filter sources by type
+ */
+ public static GetPlaybackContextAssetBuilder getPlaybackContext(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams, String sourceType) {
+ return new GetPlaybackContextAssetBuilder(assetId, assetType, contextDataParams, sourceType);
+ }
+
+ public static class GetPlaybackManifestAssetBuilder extends RequestBuilder {
+
+ public GetPlaybackManifestAssetBuilder(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams, String sourceType) {
+ super(PlaybackContext.class, "asset", "getPlaybackManifest");
+ params.add("assetId", assetId);
+ params.add("assetType", assetType);
+ params.add("contextDataParams", contextDataParams);
+ params.add("sourceType", sourceType);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void assetType(String multirequestToken) {
+ params.add("assetType", multirequestToken);
+ }
+
+ public void sourceType(String multirequestToken) {
+ params.add("sourceType", multirequestToken);
+ }
+ }
+
+ public static GetPlaybackManifestAssetBuilder getPlaybackManifest(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams) {
+ return getPlaybackManifest(assetId, assetType, contextDataParams, null);
+ }
+
+ /**
+ * This action delivers all data relevant for player
+ *
+ * @param assetId Asset identifier
+ * @param assetType Asset type
+ * @param contextDataParams Parameters for the request
+ * @param sourceType Filter sources by type
+ */
+ public static GetPlaybackManifestAssetBuilder getPlaybackManifest(String assetId, AssetType assetType, PlaybackContextOptions contextDataParams, String sourceType) {
+ return new GetPlaybackManifestAssetBuilder(assetId, assetType, contextDataParams, sourceType);
+ }
+
+ public static class GroupRepresentativeListAssetBuilder extends ListResponseRequestBuilder {
+
+ public GroupRepresentativeListAssetBuilder(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy, BaseAssetOrder orderBy, ListGroupsRepresentativesFilter filter, RepresentativeSelectionPolicy selectionPolicy, FilterPager pager) {
+ super(Asset.class, "asset", "groupRepresentativeList");
+ params.add("groupBy", groupBy);
+ params.add("unmatchedItemsPolicy", unmatchedItemsPolicy);
+ params.add("orderBy", orderBy);
+ params.add("filter", filter);
+ params.add("selectionPolicy", selectionPolicy);
+ params.add("pager", pager);
+ }
+
+ public void unmatchedItemsPolicy(String multirequestToken) {
+ params.add("unmatchedItemsPolicy", multirequestToken);
+ }
+ }
+
+ public static GroupRepresentativeListAssetBuilder groupRepresentativeList(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy) {
+ return groupRepresentativeList(groupBy, unmatchedItemsPolicy, null);
+ }
+
+ public static GroupRepresentativeListAssetBuilder groupRepresentativeList(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy, BaseAssetOrder orderBy) {
+ return groupRepresentativeList(groupBy, unmatchedItemsPolicy, orderBy, null);
+ }
+
+ public static GroupRepresentativeListAssetBuilder groupRepresentativeList(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy, BaseAssetOrder orderBy, ListGroupsRepresentativesFilter filter) {
+ return groupRepresentativeList(groupBy, unmatchedItemsPolicy, orderBy, filter, null);
+ }
+
+ public static GroupRepresentativeListAssetBuilder groupRepresentativeList(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy, BaseAssetOrder orderBy, ListGroupsRepresentativesFilter filter, RepresentativeSelectionPolicy selectionPolicy) {
+ return groupRepresentativeList(groupBy, unmatchedItemsPolicy, orderBy, filter, selectionPolicy, null);
+ }
+
+ /**
+ * Returns assets deduplicated by asset metadata (or supported asset's
+ property).
+ *
+ * @param groupBy A metadata (or supported asset's property) to group by the assets
+ * @param unmatchedItemsPolicy Defines the policy to handle assets that don't have groupBy property
+ * @param orderBy A metadata or supported asset's property to sort by
+ * @param filter Filtering the assets request
+ * @param selectionPolicy A policy that implements a well defined parametric process to select an asset
+ * out of group
+ * @param pager Paging the request
+ */
+ public static GroupRepresentativeListAssetBuilder groupRepresentativeList(AssetGroupBy groupBy, UnmatchedItemsPolicy unmatchedItemsPolicy, BaseAssetOrder orderBy, ListGroupsRepresentativesFilter filter, RepresentativeSelectionPolicy selectionPolicy, FilterPager pager) {
+ return new GroupRepresentativeListAssetBuilder(groupBy, unmatchedItemsPolicy, orderBy, filter, selectionPolicy, pager);
+ }
+
+ public static class ListAssetBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetBuilder(AssetFilter filter, FilterPager pager) {
+ super(Asset.class, "asset", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListAssetBuilder list() {
+ return list(null);
+ }
+
+ public static ListAssetBuilder list(AssetFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns media or EPG assets. Filters by media identifiers or by EPG internal or
+ external identifier.
+ *
+ * @param filter Filtering the assets request
+ * @param pager Paging the request
+ */
+ public static ListAssetBuilder list(AssetFilter filter, FilterPager pager) {
+ return new ListAssetBuilder(filter, pager);
+ }
+
+ public static class ListPersonalSelectionAssetBuilder extends ListResponseRequestBuilder {
+
+ public ListPersonalSelectionAssetBuilder(PersonalAssetSelectionFilter filter) {
+ super(Asset.class, "asset", "listPersonalSelection");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Returns recent selected assets
+ *
+ * @param filter Filtering the assets request
+ */
+ public static ListPersonalSelectionAssetBuilder listPersonalSelection(PersonalAssetSelectionFilter filter) {
+ return new ListPersonalSelectionAssetBuilder(filter);
+ }
+
+ public static class RemoveMetasAndTagsAssetBuilder extends RequestBuilder {
+
+ public RemoveMetasAndTagsAssetBuilder(long id, AssetReferenceType assetReferenceType, String idIn) {
+ super(Boolean.class, "asset", "removeMetasAndTags");
+ params.add("id", id);
+ params.add("assetReferenceType", assetReferenceType);
+ params.add("idIn", idIn);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void assetReferenceType(String multirequestToken) {
+ params.add("assetReferenceType", multirequestToken);
+ }
+
+ public void idIn(String multirequestToken) {
+ params.add("idIn", multirequestToken);
+ }
+ }
+
+ /**
+ * remove metas and tags from asset
+ *
+ * @param id Asset Identifier
+ * @param assetReferenceType Type of asset
+ * @param idIn comma separated ids of metas and tags
+ */
+ public static RemoveMetasAndTagsAssetBuilder removeMetasAndTags(long id, AssetReferenceType assetReferenceType, String idIn) {
+ return new RemoveMetasAndTagsAssetBuilder(id, assetReferenceType, idIn);
+ }
+
+ public static class UpdateAssetBuilder extends RequestBuilder {
+
+ public UpdateAssetBuilder(long id, Asset asset) {
+ super(Asset.class, "asset", "update");
+ params.add("id", id);
+ params.add("asset", asset);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * update an existing asset. For metas of type bool-> use
+ kalturaBoolValue, type number-> KalturaDoubleValue, type date ->
+ KalturaLongValue, type string -> KalturaStringValue
+ *
+ * @param id Asset Identifier
+ * @param asset Asset object
+ */
+ public static UpdateAssetBuilder update(long id, Asset asset) {
+ return new UpdateAssetBuilder(id, asset);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetStatisticsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStatisticsService.java
new file mode 100644
index 000000000..e57ce7bb7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStatisticsService.java
@@ -0,0 +1,59 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetStatistics;
+import com.kaltura.client.types.AssetStatisticsQuery;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetStatisticsService {
+
+ public static class QueryAssetStatisticsBuilder extends ListResponseRequestBuilder {
+
+ public QueryAssetStatisticsBuilder(AssetStatisticsQuery query) {
+ super(AssetStatistics.class, "assetstatistics", "query");
+ params.add("query", query);
+ }
+ }
+
+ /**
+ * Returns statistics for given list of assets by type and / or time period
+ *
+ * @param query Query for assets statistics
+ */
+ public static QueryAssetStatisticsBuilder query(AssetStatisticsQuery query) {
+ return new QueryAssetStatisticsBuilder(query);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructMetaService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructMetaService.java
new file mode 100644
index 000000000..118d567b3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructMetaService.java
@@ -0,0 +1,89 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetStructMeta;
+import com.kaltura.client.types.AssetStructMetaFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetStructMetaService {
+
+ public static class ListAssetStructMetaBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetStructMetaBuilder(AssetStructMetaFilter filter) {
+ super(AssetStructMeta.class, "assetstructmeta", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Return a list of asset struct metas for the account with optional filter
+ *
+ * @param filter Filter parameters for filtering out the result
+ */
+ public static ListAssetStructMetaBuilder list(AssetStructMetaFilter filter) {
+ return new ListAssetStructMetaBuilder(filter);
+ }
+
+ public static class UpdateAssetStructMetaBuilder extends RequestBuilder {
+
+ public UpdateAssetStructMetaBuilder(long assetStructId, long metaId, AssetStructMeta assetStructMeta) {
+ super(AssetStructMeta.class, "assetstructmeta", "update");
+ params.add("assetStructId", assetStructId);
+ params.add("metaId", metaId);
+ params.add("assetStructMeta", assetStructMeta);
+ }
+
+ public void assetStructId(String multirequestToken) {
+ params.add("assetStructId", multirequestToken);
+ }
+
+ public void metaId(String multirequestToken) {
+ params.add("metaId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update Asset struct meta
+ *
+ * @param assetStructId AssetStruct Identifier
+ * @param metaId Meta Identifier
+ * @param assetStructMeta AssetStructMeta Object
+ */
+ public static UpdateAssetStructMetaBuilder update(long assetStructId, long metaId, AssetStructMeta assetStructMeta) {
+ return new UpdateAssetStructMetaBuilder(assetStructId, metaId, assetStructMeta);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructService.java
new file mode 100644
index 000000000..b7c077645
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetStructService.java
@@ -0,0 +1,146 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetStruct;
+import com.kaltura.client.types.BaseAssetStructFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetStructService {
+
+ public static class AddAssetStructBuilder extends RequestBuilder {
+
+ public AddAssetStructBuilder(AssetStruct assetStruct) {
+ super(AssetStruct.class, "assetstruct", "add");
+ params.add("assetStruct", assetStruct);
+ }
+ }
+
+ /**
+ * Add a new assetStruct
+ *
+ * @param assetStruct AssetStruct Object
+ */
+ public static AddAssetStructBuilder add(AssetStruct assetStruct) {
+ return new AddAssetStructBuilder(assetStruct);
+ }
+
+ public static class DeleteAssetStructBuilder extends RequestBuilder {
+
+ public DeleteAssetStructBuilder(long id) {
+ super(Boolean.class, "assetstruct", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete an existing assetStruct
+ *
+ * @param id AssetStruct Identifier, id = 0 is identified as program AssetStruct
+ */
+ public static DeleteAssetStructBuilder delete(long id) {
+ return new DeleteAssetStructBuilder(id);
+ }
+
+ public static class GetAssetStructBuilder extends RequestBuilder {
+
+ public GetAssetStructBuilder(long id) {
+ super(AssetStruct.class, "assetstruct", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get AssetStruct by ID
+ *
+ * @param id ID to get
+ */
+ public static GetAssetStructBuilder get(long id) {
+ return new GetAssetStructBuilder(id);
+ }
+
+ public static class ListAssetStructBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetStructBuilder(BaseAssetStructFilter filter) {
+ super(AssetStruct.class, "assetstruct", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListAssetStructBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Return a list of asset structs for the account with optional filter
+ *
+ * @param filter Filter parameters for filtering out the result
+ */
+ public static ListAssetStructBuilder list(BaseAssetStructFilter filter) {
+ return new ListAssetStructBuilder(filter);
+ }
+
+ public static class UpdateAssetStructBuilder extends RequestBuilder {
+
+ public UpdateAssetStructBuilder(long id, AssetStruct assetStruct) {
+ super(AssetStruct.class, "assetstruct", "update");
+ params.add("id", id);
+ params.add("assetStruct", assetStruct);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update an existing assetStruct
+ *
+ * @param id AssetStruct Identifier, id = 0 is identified as program AssetStruct
+ * @param assetStruct AssetStruct Object
+ */
+ public static UpdateAssetStructBuilder update(long id, AssetStruct assetStruct) {
+ return new UpdateAssetStructBuilder(id, assetStruct);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/AssetUserRuleService.java b/KalturaClient/src/main/java/com/kaltura/client/services/AssetUserRuleService.java
new file mode 100644
index 000000000..8aec2c8f3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/AssetUserRuleService.java
@@ -0,0 +1,168 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.AssetUserRule;
+import com.kaltura.client.types.AssetUserRuleFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class AssetUserRuleService {
+
+ public static class AddAssetUserRuleBuilder extends RequestBuilder {
+
+ public AddAssetUserRuleBuilder(AssetUserRule assetUserRule) {
+ super(AssetUserRule.class, "assetuserrule", "add");
+ params.add("assetUserRule", assetUserRule);
+ }
+ }
+
+ /**
+ * Add asset user rule
+ *
+ * @param assetUserRule Asset user rule
+ */
+ public static AddAssetUserRuleBuilder add(AssetUserRule assetUserRule) {
+ return new AddAssetUserRuleBuilder(assetUserRule);
+ }
+
+ public static class AttachUserAssetUserRuleBuilder extends NullRequestBuilder {
+
+ public AttachUserAssetUserRuleBuilder(long ruleId) {
+ super("assetuserrule", "attachUser");
+ params.add("ruleId", ruleId);
+ }
+
+ public void ruleId(String multirequestToken) {
+ params.add("ruleId", multirequestToken);
+ }
+ }
+
+ /**
+ * Attach AssetUserRule To User
+ *
+ * @param ruleId AssetUserRule id to add
+ */
+ public static AttachUserAssetUserRuleBuilder attachUser(long ruleId) {
+ return new AttachUserAssetUserRuleBuilder(ruleId);
+ }
+
+ public static class DeleteAssetUserRuleBuilder extends NullRequestBuilder {
+
+ public DeleteAssetUserRuleBuilder(long id) {
+ super("assetuserrule", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete asset user rule
+ *
+ * @param id Asset user rule ID
+ */
+ public static DeleteAssetUserRuleBuilder delete(long id) {
+ return new DeleteAssetUserRuleBuilder(id);
+ }
+
+ public static class DetachUserAssetUserRuleBuilder extends NullRequestBuilder {
+
+ public DetachUserAssetUserRuleBuilder(long ruleId) {
+ super("assetuserrule", "detachUser");
+ params.add("ruleId", ruleId);
+ }
+
+ public void ruleId(String multirequestToken) {
+ params.add("ruleId", multirequestToken);
+ }
+ }
+
+ /**
+ * Detach AssetUserRule from user
+ *
+ * @param ruleId AssetUserRule id to remove
+ */
+ public static DetachUserAssetUserRuleBuilder detachUser(long ruleId) {
+ return new DetachUserAssetUserRuleBuilder(ruleId);
+ }
+
+ public static class ListAssetUserRuleBuilder extends ListResponseRequestBuilder {
+
+ public ListAssetUserRuleBuilder(AssetUserRuleFilter filter) {
+ super(AssetUserRule.class, "assetuserrule", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListAssetUserRuleBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Get the list of asset user rules for the partner
+ *
+ * @param filter AssetUserRule Filter
+ */
+ public static ListAssetUserRuleBuilder list(AssetUserRuleFilter filter) {
+ return new ListAssetUserRuleBuilder(filter);
+ }
+
+ public static class UpdateAssetUserRuleBuilder extends RequestBuilder {
+
+ public UpdateAssetUserRuleBuilder(long id, AssetUserRule assetUserRule) {
+ super(AssetUserRule.class, "assetuserrule", "update");
+ params.add("id", id);
+ params.add("assetUserRule", assetUserRule);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update asset user rule
+ *
+ * @param id Asset user rule ID to update
+ * @param assetUserRule Asset user rule
+ */
+ public static UpdateAssetUserRuleBuilder update(long id, AssetUserRule assetUserRule) {
+ return new UpdateAssetUserRuleBuilder(id, assetUserRule);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/BookmarkService.java b/KalturaClient/src/main/java/com/kaltura/client/services/BookmarkService.java
new file mode 100644
index 000000000..65ac9c6ec
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/BookmarkService.java
@@ -0,0 +1,82 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Bookmark;
+import com.kaltura.client.types.BookmarkFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class BookmarkService {
+
+ public static class AddBookmarkBuilder extends RequestBuilder {
+
+ public AddBookmarkBuilder(Bookmark bookmark) {
+ super(Boolean.class, "bookmark", "add");
+ params.add("bookmark", bookmark);
+ }
+ }
+
+ /**
+ * Report player position and action for the user on the watched asset. Player
+ position is used to later allow resume watching.
+ *
+ * @param bookmark Bookmark details
+ */
+ public static AddBookmarkBuilder add(Bookmark bookmark) {
+ return new AddBookmarkBuilder(bookmark);
+ }
+
+ public static class ListBookmarkBuilder extends ListResponseRequestBuilder {
+
+ public ListBookmarkBuilder(BookmarkFilter filter) {
+ super(Bookmark.class, "bookmark", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Returns player position record/s for the requested asset and the requesting
+ user. If default user makes the request – player position
+ records are provided for all of the users in the household. If
+ non-default user makes the request - player position records are provided for
+ the requesting user and the default user of the household.
+ *
+ * @param filter Filter option for the last position
+ */
+ public static ListBookmarkBuilder list(BookmarkFilter filter) {
+ return new ListBookmarkBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadService.java b/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadService.java
new file mode 100644
index 000000000..6af098b96
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadService.java
@@ -0,0 +1,88 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.BulkUpload;
+import com.kaltura.client.types.BulkUploadFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class BulkUploadService {
+
+ public static class GetBulkUploadBuilder extends RequestBuilder {
+
+ public GetBulkUploadBuilder(long id) {
+ super(BulkUpload.class, "bulkupload", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get BulkUpload by ID
+ *
+ * @param id ID to get
+ */
+ public static GetBulkUploadBuilder get(long id) {
+ return new GetBulkUploadBuilder(id);
+ }
+
+ public static class ListBulkUploadBuilder extends ListResponseRequestBuilder {
+
+ public ListBulkUploadBuilder(BulkUploadFilter filter, FilterPager pager) {
+ super(BulkUpload.class, "bulkupload", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListBulkUploadBuilder list(BulkUploadFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Get list of KalturaBulkUpload by filter
+ *
+ * @param filter Filtering the bulk action request
+ * @param pager Paging the request
+ */
+ public static ListBulkUploadBuilder list(BulkUploadFilter filter, FilterPager pager) {
+ return new ListBulkUploadBuilder(filter, pager);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadStatisticsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadStatisticsService.java
new file mode 100644
index 000000000..60ddd2eb9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/BulkUploadStatisticsService.java
@@ -0,0 +1,68 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.BulkUploadStatistics;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class BulkUploadStatisticsService {
+
+ public static class GetBulkUploadStatisticsBuilder extends RequestBuilder {
+
+ public GetBulkUploadStatisticsBuilder(String bulkObjectTypeEqual, long createDateGreaterThanOrEqual) {
+ super(BulkUploadStatistics.class, "bulkuploadstatistics", "get");
+ params.add("bulkObjectTypeEqual", bulkObjectTypeEqual);
+ params.add("createDateGreaterThanOrEqual", createDateGreaterThanOrEqual);
+ }
+
+ public void bulkObjectTypeEqual(String multirequestToken) {
+ params.add("bulkObjectTypeEqual", multirequestToken);
+ }
+
+ public void createDateGreaterThanOrEqual(String multirequestToken) {
+ params.add("createDateGreaterThanOrEqual", multirequestToken);
+ }
+ }
+
+ /**
+ * Get BulkUploadStatistics count summary by status
+ *
+ * @param bulkObjectTypeEqual bulkUploadObject for status summary
+ * @param createDateGreaterThanOrEqual date created filter
+ */
+ public static GetBulkUploadStatisticsBuilder get(String bulkObjectTypeEqual, long createDateGreaterThanOrEqual) {
+ return new GetBulkUploadStatisticsBuilder(bulkObjectTypeEqual, createDateGreaterThanOrEqual);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/BusinessModuleRuleService.java b/KalturaClient/src/main/java/com/kaltura/client/services/BusinessModuleRuleService.java
new file mode 100644
index 000000000..1416604da
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/BusinessModuleRuleService.java
@@ -0,0 +1,147 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.BusinessModuleRule;
+import com.kaltura.client.types.BusinessModuleRuleFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class BusinessModuleRuleService {
+
+ public static class AddBusinessModuleRuleBuilder extends RequestBuilder {
+
+ public AddBusinessModuleRuleBuilder(BusinessModuleRule businessModuleRule) {
+ super(BusinessModuleRule.class, "businessmodulerule", "add");
+ params.add("businessModuleRule", businessModuleRule);
+ }
+ }
+
+ /**
+ * Add business module rule
+ *
+ * @param businessModuleRule Business module rule
+ */
+ public static AddBusinessModuleRuleBuilder add(BusinessModuleRule businessModuleRule) {
+ return new AddBusinessModuleRuleBuilder(businessModuleRule);
+ }
+
+ public static class DeleteBusinessModuleRuleBuilder extends NullRequestBuilder {
+
+ public DeleteBusinessModuleRuleBuilder(long id) {
+ super("businessmodulerule", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete business module rule
+ *
+ * @param id Business module rule ID
+ */
+ public static DeleteBusinessModuleRuleBuilder delete(long id) {
+ return new DeleteBusinessModuleRuleBuilder(id);
+ }
+
+ public static class GetBusinessModuleRuleBuilder extends RequestBuilder {
+
+ public GetBusinessModuleRuleBuilder(long id) {
+ super(BusinessModuleRule.class, "businessmodulerule", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get business module rule by ID
+ *
+ * @param id ID to get
+ */
+ public static GetBusinessModuleRuleBuilder get(long id) {
+ return new GetBusinessModuleRuleBuilder(id);
+ }
+
+ public static class ListBusinessModuleRuleBuilder extends ListResponseRequestBuilder {
+
+ public ListBusinessModuleRuleBuilder(BusinessModuleRuleFilter filter) {
+ super(BusinessModuleRule.class, "businessmodulerule", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListBusinessModuleRuleBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Get the list of business module rules for the partner
+ *
+ * @param filter filter by condition name
+ */
+ public static ListBusinessModuleRuleBuilder list(BusinessModuleRuleFilter filter) {
+ return new ListBusinessModuleRuleBuilder(filter);
+ }
+
+ public static class UpdateBusinessModuleRuleBuilder extends RequestBuilder {
+
+ public UpdateBusinessModuleRuleBuilder(long id, BusinessModuleRule businessModuleRule) {
+ super(BusinessModuleRule.class, "businessmodulerule", "update");
+ params.add("id", id);
+ params.add("businessModuleRule", businessModuleRule);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update business module rule
+ *
+ * @param id Business module rule ID to update
+ * @param businessModuleRule Business module rule
+ */
+ public static UpdateBusinessModuleRuleBuilder update(long id, BusinessModuleRule businessModuleRule) {
+ return new UpdateBusinessModuleRuleBuilder(id, businessModuleRule);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CDVRAdapterProfileService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CDVRAdapterProfileService.java
new file mode 100644
index 000000000..a39a4d42e
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CDVRAdapterProfileService.java
@@ -0,0 +1,138 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CDVRAdapterProfile;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CDVRAdapterProfileService {
+
+ public static class AddCDVRAdapterProfileBuilder extends RequestBuilder {
+
+ public AddCDVRAdapterProfileBuilder(CDVRAdapterProfile adapter) {
+ super(CDVRAdapterProfile.class, "cdvradapterprofile", "add");
+ params.add("adapter", adapter);
+ }
+ }
+
+ /**
+ * Insert new C-DVR adapter for partner
+ *
+ * @param adapter C-DVR adapter object
+ */
+ public static AddCDVRAdapterProfileBuilder add(CDVRAdapterProfile adapter) {
+ return new AddCDVRAdapterProfileBuilder(adapter);
+ }
+
+ public static class DeleteCDVRAdapterProfileBuilder extends RequestBuilder {
+
+ public DeleteCDVRAdapterProfileBuilder(int adapterId) {
+ super(Boolean.class, "cdvradapterprofile", "delete");
+ params.add("adapterId", adapterId);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete C-DVR adapter by C-DVR adapter id
+ *
+ * @param adapterId C-DVR adapter identifier
+ */
+ public static DeleteCDVRAdapterProfileBuilder delete(int adapterId) {
+ return new DeleteCDVRAdapterProfileBuilder(adapterId);
+ }
+
+ public static class GenerateSharedSecretCDVRAdapterProfileBuilder extends RequestBuilder {
+
+ public GenerateSharedSecretCDVRAdapterProfileBuilder(int adapterId) {
+ super(CDVRAdapterProfile.class, "cdvradapterprofile", "generateSharedSecret");
+ params.add("adapterId", adapterId);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Generate C-DVR adapter shared secret
+ *
+ * @param adapterId C-DVR adapter identifier
+ */
+ public static GenerateSharedSecretCDVRAdapterProfileBuilder generateSharedSecret(int adapterId) {
+ return new GenerateSharedSecretCDVRAdapterProfileBuilder(adapterId);
+ }
+
+ public static class ListCDVRAdapterProfileBuilder extends ListResponseRequestBuilder {
+
+ public ListCDVRAdapterProfileBuilder() {
+ super(CDVRAdapterProfile.class, "cdvradapterprofile", "list");
+ }
+ }
+
+ /**
+ * Returns all C-DVR adapters for partner
+ */
+ public static ListCDVRAdapterProfileBuilder list() {
+ return new ListCDVRAdapterProfileBuilder();
+ }
+
+ public static class UpdateCDVRAdapterProfileBuilder extends RequestBuilder {
+
+ public UpdateCDVRAdapterProfileBuilder(int adapterId, CDVRAdapterProfile adapter) {
+ super(CDVRAdapterProfile.class, "cdvradapterprofile", "update");
+ params.add("adapterId", adapterId);
+ params.add("adapter", adapter);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update C-DVR adapter details
+ *
+ * @param adapterId C-DVR adapter identifier
+ * @param adapter C-DVR adapter Object
+ */
+ public static UpdateCDVRAdapterProfileBuilder update(int adapterId, CDVRAdapterProfile adapter) {
+ return new UpdateCDVRAdapterProfileBuilder(adapterId, adapter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CampaignService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CampaignService.java
new file mode 100644
index 000000000..1f7c72b9d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CampaignService.java
@@ -0,0 +1,157 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.ObjectState;
+import com.kaltura.client.types.Campaign;
+import com.kaltura.client.types.CampaignFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CampaignService {
+
+ public static class AddCampaignBuilder extends RequestBuilder {
+
+ public AddCampaignBuilder(Campaign objectToAdd) {
+ super(Campaign.class, "campaign", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * Add new Campaign
+ *
+ * @param objectToAdd Campaign Object to add
+ */
+ public static AddCampaignBuilder add(Campaign objectToAdd) {
+ return new AddCampaignBuilder(objectToAdd);
+ }
+
+ public static class DeleteCampaignBuilder extends NullRequestBuilder {
+
+ public DeleteCampaignBuilder(long id) {
+ super("campaign", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete existing Campaign
+ *
+ * @param id Campaign identifier
+ */
+ public static DeleteCampaignBuilder delete(long id) {
+ return new DeleteCampaignBuilder(id);
+ }
+
+ public static class ListCampaignBuilder extends ListResponseRequestBuilder {
+
+ public ListCampaignBuilder(CampaignFilter filter, FilterPager pager) {
+ super(Campaign.class, "campaign", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListCampaignBuilder list(CampaignFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns the list of available Campaigns
+ *
+ * @param filter Filter
+ * @param pager Pager
+ */
+ public static ListCampaignBuilder list(CampaignFilter filter, FilterPager pager) {
+ return new ListCampaignBuilder(filter, pager);
+ }
+
+ public static class SetStateCampaignBuilder extends NullRequestBuilder {
+
+ public SetStateCampaignBuilder(long campaignId, ObjectState newState) {
+ super("campaign", "setState");
+ params.add("campaignId", campaignId);
+ params.add("newState", newState);
+ }
+
+ public void campaignId(String multirequestToken) {
+ params.add("campaignId", multirequestToken);
+ }
+
+ public void newState(String multirequestToken) {
+ params.add("newState", multirequestToken);
+ }
+ }
+
+ /**
+ * Set campaign's state
+ *
+ * @param campaignId campaign Id
+ * @param newState new campaign state
+ */
+ public static SetStateCampaignBuilder setState(long campaignId, ObjectState newState) {
+ return new SetStateCampaignBuilder(campaignId, newState);
+ }
+
+ public static class UpdateCampaignBuilder extends RequestBuilder {
+
+ public UpdateCampaignBuilder(long id, Campaign objectToUpdate) {
+ super(Campaign.class, "campaign", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update existing Campaign
+ *
+ * @param id id of Campaign to update
+ * @param objectToUpdate Campaign Object to update
+ */
+ public static UpdateCampaignBuilder update(long id, Campaign objectToUpdate) {
+ return new UpdateCampaignBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CategoryItemService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryItemService.java
new file mode 100644
index 000000000..cbc5f2271
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryItemService.java
@@ -0,0 +1,133 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CategoryItem;
+import com.kaltura.client.types.CategoryItemFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CategoryItemService {
+
+ public static class AddCategoryItemBuilder extends RequestBuilder {
+
+ public AddCategoryItemBuilder(CategoryItem objectToAdd) {
+ super(CategoryItem.class, "categoryitem", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * categoryItem add
+ *
+ * @param objectToAdd categoryItem details
+ */
+ public static AddCategoryItemBuilder add(CategoryItem objectToAdd) {
+ return new AddCategoryItemBuilder(objectToAdd);
+ }
+
+ public static class DeleteCategoryItemBuilder extends NullRequestBuilder {
+
+ public DeleteCategoryItemBuilder(long id) {
+ super("categoryitem", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove category
+ *
+ * @param id Category identifier
+ */
+ public static DeleteCategoryItemBuilder delete(long id) {
+ return new DeleteCategoryItemBuilder(id);
+ }
+
+ public static class ListCategoryItemBuilder extends ListResponseRequestBuilder {
+
+ public ListCategoryItemBuilder(CategoryItemFilter filter, FilterPager pager) {
+ super(CategoryItem.class, "categoryitem", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListCategoryItemBuilder list() {
+ return list(null);
+ }
+
+ public static ListCategoryItemBuilder list(CategoryItemFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Gets all categoryItem items
+ *
+ * @param filter Filter
+ * @param pager Pager
+ */
+ public static ListCategoryItemBuilder list(CategoryItemFilter filter, FilterPager pager) {
+ return new ListCategoryItemBuilder(filter, pager);
+ }
+
+ public static class UpdateCategoryItemBuilder extends RequestBuilder {
+
+ public UpdateCategoryItemBuilder(long id, CategoryItem objectToUpdate) {
+ super(CategoryItem.class, "categoryitem", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * categoryItem update
+ *
+ * @param id Category identifier
+ * @param objectToUpdate categoryItem details
+ */
+ public static UpdateCategoryItemBuilder update(long id, CategoryItem objectToUpdate) {
+ return new UpdateCategoryItemBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CategoryTreeService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryTreeService.java
new file mode 100644
index 000000000..00f36bfb2
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryTreeService.java
@@ -0,0 +1,135 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CategoryTree;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CategoryTreeService {
+
+ public static class DuplicateCategoryTreeBuilder extends RequestBuilder {
+
+ public DuplicateCategoryTreeBuilder(long categoryItemId, String name) {
+ super(CategoryTree.class, "categorytree", "duplicate");
+ params.add("categoryItemId", categoryItemId);
+ params.add("name", name);
+ }
+
+ public void categoryItemId(String multirequestToken) {
+ params.add("categoryItemId", multirequestToken);
+ }
+
+ public void name(String multirequestToken) {
+ params.add("name", multirequestToken);
+ }
+ }
+
+ /**
+ * Duplicate category Item
+ *
+ * @param categoryItemId Category item identifier
+ * @param name Root category name
+ */
+ public static DuplicateCategoryTreeBuilder duplicate(long categoryItemId, String name) {
+ return new DuplicateCategoryTreeBuilder(categoryItemId, name);
+ }
+
+ public static class GetCategoryTreeBuilder extends RequestBuilder {
+
+ public GetCategoryTreeBuilder(long categoryItemId, boolean filter) {
+ super(CategoryTree.class, "categorytree", "get");
+ params.add("categoryItemId", categoryItemId);
+ params.add("filter", filter);
+ }
+
+ public void categoryItemId(String multirequestToken) {
+ params.add("categoryItemId", multirequestToken);
+ }
+
+ public void filter(String multirequestToken) {
+ params.add("filter", multirequestToken);
+ }
+ }
+
+ public static GetCategoryTreeBuilder get(long categoryItemId) {
+ return get(categoryItemId, false);
+ }
+
+ /**
+ * Retrive category tree.
+ *
+ * @param categoryItemId Category item identifier
+ * @param filter filter categories dates
+ */
+ public static GetCategoryTreeBuilder get(long categoryItemId, boolean filter) {
+ return new GetCategoryTreeBuilder(categoryItemId, filter);
+ }
+
+ public static class GetByVersionCategoryTreeBuilder extends RequestBuilder {
+
+ public GetByVersionCategoryTreeBuilder(long versionId, int deviceFamilyId) {
+ super(CategoryTree.class, "categorytree", "getByVersion");
+ params.add("versionId", versionId);
+ params.add("deviceFamilyId", deviceFamilyId);
+ }
+
+ public void versionId(String multirequestToken) {
+ params.add("versionId", multirequestToken);
+ }
+
+ public void deviceFamilyId(String multirequestToken) {
+ params.add("deviceFamilyId", multirequestToken);
+ }
+ }
+
+ public static GetByVersionCategoryTreeBuilder getByVersion() {
+ return getByVersion(Long.MIN_VALUE);
+ }
+
+ public static GetByVersionCategoryTreeBuilder getByVersion(long versionId) {
+ return getByVersion(versionId, Integer.MIN_VALUE);
+ }
+
+ /**
+ * Retrieve default category tree of deviceFamilyId by KS or specific one if
+ versionId is set.
+ *
+ * @param versionId Category version id of tree
+ * @param deviceFamilyId deviceFamilyId related to category tree
+ */
+ public static GetByVersionCategoryTreeBuilder getByVersion(long versionId, int deviceFamilyId) {
+ return new GetByVersionCategoryTreeBuilder(versionId, deviceFamilyId);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CategoryVersionService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryVersionService.java
new file mode 100644
index 000000000..66af855d9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CategoryVersionService.java
@@ -0,0 +1,193 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CategoryVersion;
+import com.kaltura.client.types.CategoryVersionFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CategoryVersionService {
+
+ public static class AddCategoryVersionBuilder extends RequestBuilder {
+
+ public AddCategoryVersionBuilder(CategoryVersion objectToAdd) {
+ super(CategoryVersion.class, "categoryversion", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * categoryVersion add
+ *
+ * @param objectToAdd categoryVersion details
+ */
+ public static AddCategoryVersionBuilder add(CategoryVersion objectToAdd) {
+ return new AddCategoryVersionBuilder(objectToAdd);
+ }
+
+ public static class CreateTreeCategoryVersionBuilder extends RequestBuilder {
+
+ public CreateTreeCategoryVersionBuilder(long categoryItemId, String name, String comment) {
+ super(CategoryVersion.class, "categoryversion", "createTree");
+ params.add("categoryItemId", categoryItemId);
+ params.add("name", name);
+ params.add("comment", comment);
+ }
+
+ public void categoryItemId(String multirequestToken) {
+ params.add("categoryItemId", multirequestToken);
+ }
+
+ public void name(String multirequestToken) {
+ params.add("name", multirequestToken);
+ }
+
+ public void comment(String multirequestToken) {
+ params.add("comment", multirequestToken);
+ }
+ }
+
+ /**
+ * Acreate new tree for this categoryItem
+ *
+ * @param categoryItemId the categoryItemId to create the tree accordingly
+ * @param name Name of version
+ * @param comment Comment of version
+ */
+ public static CreateTreeCategoryVersionBuilder createTree(long categoryItemId, String name, String comment) {
+ return new CreateTreeCategoryVersionBuilder(categoryItemId, name, comment);
+ }
+
+ public static class DeleteCategoryVersionBuilder extends NullRequestBuilder {
+
+ public DeleteCategoryVersionBuilder(long id) {
+ super("categoryversion", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove category version
+ *
+ * @param id Category version identifier
+ */
+ public static DeleteCategoryVersionBuilder delete(long id) {
+ return new DeleteCategoryVersionBuilder(id);
+ }
+
+ public static class ListCategoryVersionBuilder extends ListResponseRequestBuilder {
+
+ public ListCategoryVersionBuilder(CategoryVersionFilter filter, FilterPager pager) {
+ super(CategoryVersion.class, "categoryversion", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListCategoryVersionBuilder list(CategoryVersionFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Gets all category versions
+ *
+ * @param filter Filter
+ * @param pager Pager
+ */
+ public static ListCategoryVersionBuilder list(CategoryVersionFilter filter, FilterPager pager) {
+ return new ListCategoryVersionBuilder(filter, pager);
+ }
+
+ public static class SetDefaultCategoryVersionBuilder extends NullRequestBuilder {
+
+ public SetDefaultCategoryVersionBuilder(long id, boolean force) {
+ super("categoryversion", "setDefault");
+ params.add("id", id);
+ params.add("force", force);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+
+ public void force(String multirequestToken) {
+ params.add("force", multirequestToken);
+ }
+ }
+
+ public static SetDefaultCategoryVersionBuilder setDefault(long id) {
+ return setDefault(id, false);
+ }
+
+ /**
+ * Set new default category version
+ *
+ * @param id category version id to set as default
+ * @param force force to set even if version is older then currenct version
+ */
+ public static SetDefaultCategoryVersionBuilder setDefault(long id, boolean force) {
+ return new SetDefaultCategoryVersionBuilder(id, force);
+ }
+
+ public static class UpdateCategoryVersionBuilder extends RequestBuilder {
+
+ public UpdateCategoryVersionBuilder(long id, CategoryVersion objectToUpdate) {
+ super(CategoryVersion.class, "categoryversion", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * categoryVersion update
+ *
+ * @param id Category version identifier
+ * @param objectToUpdate categoryVersion details
+ */
+ public static UpdateCategoryVersionBuilder update(long id, CategoryVersion objectToUpdate) {
+ return new UpdateCategoryVersionBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CdnAdapterProfileService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CdnAdapterProfileService.java
new file mode 100644
index 000000000..a19939603
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CdnAdapterProfileService.java
@@ -0,0 +1,138 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CDNAdapterProfile;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CdnAdapterProfileService {
+
+ public static class AddCdnAdapterProfileBuilder extends RequestBuilder {
+
+ public AddCdnAdapterProfileBuilder(CDNAdapterProfile adapter) {
+ super(CDNAdapterProfile.class, "cdnadapterprofile", "add");
+ params.add("adapter", adapter);
+ }
+ }
+
+ /**
+ * Insert new CDN adapter for partner
+ *
+ * @param adapter CDN adapter object
+ */
+ public static AddCdnAdapterProfileBuilder add(CDNAdapterProfile adapter) {
+ return new AddCdnAdapterProfileBuilder(adapter);
+ }
+
+ public static class DeleteCdnAdapterProfileBuilder extends RequestBuilder {
+
+ public DeleteCdnAdapterProfileBuilder(int adapterId) {
+ super(Boolean.class, "cdnadapterprofile", "delete");
+ params.add("adapterId", adapterId);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete CDN adapter by CDN adapter id
+ *
+ * @param adapterId CDN adapter identifier
+ */
+ public static DeleteCdnAdapterProfileBuilder delete(int adapterId) {
+ return new DeleteCdnAdapterProfileBuilder(adapterId);
+ }
+
+ public static class GenerateSharedSecretCdnAdapterProfileBuilder extends RequestBuilder {
+
+ public GenerateSharedSecretCdnAdapterProfileBuilder(int adapterId) {
+ super(CDNAdapterProfile.class, "cdnadapterprofile", "generateSharedSecret");
+ params.add("adapterId", adapterId);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Generate CDN adapter shared secret
+ *
+ * @param adapterId CDN adapter identifier
+ */
+ public static GenerateSharedSecretCdnAdapterProfileBuilder generateSharedSecret(int adapterId) {
+ return new GenerateSharedSecretCdnAdapterProfileBuilder(adapterId);
+ }
+
+ public static class ListCdnAdapterProfileBuilder extends ListResponseRequestBuilder {
+
+ public ListCdnAdapterProfileBuilder() {
+ super(CDNAdapterProfile.class, "cdnadapterprofile", "list");
+ }
+ }
+
+ /**
+ * Returns all CDN adapters for partner
+ */
+ public static ListCdnAdapterProfileBuilder list() {
+ return new ListCdnAdapterProfileBuilder();
+ }
+
+ public static class UpdateCdnAdapterProfileBuilder extends RequestBuilder {
+
+ public UpdateCdnAdapterProfileBuilder(int adapterId, CDNAdapterProfile adapter) {
+ super(CDNAdapterProfile.class, "cdnadapterprofile", "update");
+ params.add("adapterId", adapterId);
+ params.add("adapter", adapter);
+ }
+
+ public void adapterId(String multirequestToken) {
+ params.add("adapterId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update CDN adapter details
+ *
+ * @param adapterId CDN adapter id to update
+ * @param adapter CDN adapter Object
+ */
+ public static UpdateCdnAdapterProfileBuilder update(int adapterId, CDNAdapterProfile adapter) {
+ return new UpdateCdnAdapterProfileBuilder(adapterId, adapter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CdnPartnerSettingsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CdnPartnerSettingsService.java
new file mode 100644
index 000000000..cb33de830
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CdnPartnerSettingsService.java
@@ -0,0 +1,72 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CDNPartnerSettings;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CdnPartnerSettingsService {
+
+ public static class GetCdnPartnerSettingsBuilder extends RequestBuilder {
+
+ public GetCdnPartnerSettingsBuilder() {
+ super(CDNPartnerSettings.class, "cdnpartnersettings", "get");
+ }
+ }
+
+ /**
+ * Retrieve the partner’s CDN settings (default adapters)
+ */
+ public static GetCdnPartnerSettingsBuilder get() {
+ return new GetCdnPartnerSettingsBuilder();
+ }
+
+ public static class UpdateCdnPartnerSettingsBuilder extends RequestBuilder {
+
+ public UpdateCdnPartnerSettingsBuilder(CDNPartnerSettings settings) {
+ super(CDNPartnerSettings.class, "cdnpartnersettings", "update");
+ params.add("settings", settings);
+ }
+ }
+
+ /**
+ * Configure the partner’s CDN settings (default adapters)
+ *
+ * @param settings CDN partner settings
+ */
+ public static UpdateCdnPartnerSettingsBuilder update(CDNPartnerSettings settings) {
+ return new UpdateCdnPartnerSettingsBuilder(settings);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ChannelService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ChannelService.java
new file mode 100644
index 000000000..a883d79fc
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ChannelService.java
@@ -0,0 +1,154 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Channel;
+import com.kaltura.client.types.ChannelsBaseFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ChannelService {
+
+ public static class AddChannelBuilder extends RequestBuilder {
+
+ public AddChannelBuilder(Channel channel) {
+ super(Channel.class, "channel", "add");
+ params.add("channel", channel);
+ }
+ }
+
+ /**
+ * Insert new channel for partner. Supports KalturaDynamicChannel or
+ KalturaManualChannel
+ *
+ * @param channel KSQL channel Object
+ */
+ public static AddChannelBuilder add(Channel channel) {
+ return new AddChannelBuilder(channel);
+ }
+
+ public static class DeleteChannelBuilder extends RequestBuilder {
+
+ public DeleteChannelBuilder(int channelId) {
+ super(Boolean.class, "channel", "delete");
+ params.add("channelId", channelId);
+ }
+
+ public void channelId(String multirequestToken) {
+ params.add("channelId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete channel by its channel id
+ *
+ * @param channelId channel identifier
+ */
+ public static DeleteChannelBuilder delete(int channelId) {
+ return new DeleteChannelBuilder(channelId);
+ }
+
+ public static class GetChannelBuilder extends RequestBuilder {
+
+ public GetChannelBuilder(int id) {
+ super(Channel.class, "channel", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns channel
+ *
+ * @param id Channel Identifier
+ */
+ public static GetChannelBuilder get(int id) {
+ return new GetChannelBuilder(id);
+ }
+
+ public static class ListChannelBuilder extends ListResponseRequestBuilder {
+
+ public ListChannelBuilder(ChannelsBaseFilter filter, FilterPager pager) {
+ super(Channel.class, "channel", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListChannelBuilder list() {
+ return list(null);
+ }
+
+ public static ListChannelBuilder list(ChannelsBaseFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Get the list of tags for the partner
+ *
+ * @param filter Filter
+ * @param pager Page size and index
+ */
+ public static ListChannelBuilder list(ChannelsBaseFilter filter, FilterPager pager) {
+ return new ListChannelBuilder(filter, pager);
+ }
+
+ public static class UpdateChannelBuilder extends RequestBuilder {
+
+ public UpdateChannelBuilder(int id, Channel channel) {
+ super(Channel.class, "channel", "update");
+ params.add("id", id);
+ params.add("channel", channel);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update channel details. Supports KalturaDynamicChannel or KalturaManualChannel
+ *
+ * @param id Channel identifier
+ * @param channel KSQL channel Object
+ */
+ public static UpdateChannelBuilder update(int id, Channel channel) {
+ return new UpdateChannelBuilder(id, channel);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CollectionService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CollectionService.java
new file mode 100644
index 000000000..ea74fbf4d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CollectionService.java
@@ -0,0 +1,133 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Collection;
+import com.kaltura.client.types.CollectionFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CollectionService {
+
+ public static class AddCollectionBuilder extends RequestBuilder {
+
+ public AddCollectionBuilder(Collection collection) {
+ super(Collection.class, "collection", "add");
+ params.add("collection", collection);
+ }
+ }
+
+ /**
+ * Insert new collection for partner
+ *
+ * @param collection collection object
+ */
+ public static AddCollectionBuilder add(Collection collection) {
+ return new AddCollectionBuilder(collection);
+ }
+
+ public static class DeleteCollectionBuilder extends RequestBuilder {
+
+ public DeleteCollectionBuilder(long id) {
+ super(Boolean.class, "collection", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete collection
+ *
+ * @param id Collection id
+ */
+ public static DeleteCollectionBuilder delete(long id) {
+ return new DeleteCollectionBuilder(id);
+ }
+
+ public static class ListCollectionBuilder extends ListResponseRequestBuilder {
+
+ public ListCollectionBuilder(CollectionFilter filter, FilterPager pager) {
+ super(Collection.class, "collection", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListCollectionBuilder list() {
+ return list(null);
+ }
+
+ public static ListCollectionBuilder list(CollectionFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns a list of collections requested by Collection IDs or file identifier or
+ coupon group identifier
+ *
+ * @param filter Filter request
+ * @param pager Page size and index
+ */
+ public static ListCollectionBuilder list(CollectionFilter filter, FilterPager pager) {
+ return new ListCollectionBuilder(filter, pager);
+ }
+
+ public static class UpdateCollectionBuilder extends RequestBuilder {
+
+ public UpdateCollectionBuilder(long id, Collection collection) {
+ super(Collection.class, "collection", "update");
+ params.add("id", id);
+ params.add("collection", collection);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update Collection
+ *
+ * @param id Collection id
+ * @param collection Collection
+ */
+ public static UpdateCollectionBuilder update(long id, Collection collection) {
+ return new UpdateCollectionBuilder(id, collection);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CompensationService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CompensationService.java
new file mode 100644
index 000000000..50f48b6e9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CompensationService.java
@@ -0,0 +1,102 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Compensation;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CompensationService {
+
+ public static class AddCompensationBuilder extends RequestBuilder {
+
+ public AddCompensationBuilder(Compensation compensation) {
+ super(Compensation.class, "compensation", "add");
+ params.add("compensation", compensation);
+ }
+ }
+
+ /**
+ * Adds a new compensation for a household for a given number of iterations of a
+ subscription renewal for a fixed amount / percentage of the renewal price.
+ *
+ * @param compensation Compensation parameters
+ */
+ public static AddCompensationBuilder add(Compensation compensation) {
+ return new AddCompensationBuilder(compensation);
+ }
+
+ public static class DeleteCompensationBuilder extends NullRequestBuilder {
+
+ public DeleteCompensationBuilder(long id) {
+ super("compensation", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete a compensation by identifier
+ *
+ * @param id Compensation identifier
+ */
+ public static DeleteCompensationBuilder delete(long id) {
+ return new DeleteCompensationBuilder(id);
+ }
+
+ public static class GetCompensationBuilder extends RequestBuilder {
+
+ public GetCompensationBuilder(long id) {
+ super(Compensation.class, "compensation", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get a compensation by identifier
+ *
+ * @param id Compensation identifier
+ */
+ public static GetCompensationBuilder get(long id) {
+ return new GetCompensationBuilder(id);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupDeviceService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupDeviceService.java
new file mode 100644
index 000000000..f1d780a60
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupDeviceService.java
@@ -0,0 +1,127 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.ConfigurationGroupDevice;
+import com.kaltura.client.types.ConfigurationGroupDeviceFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ConfigurationGroupDeviceService {
+
+ public static class AddConfigurationGroupDeviceBuilder extends RequestBuilder {
+
+ public AddConfigurationGroupDeviceBuilder(ConfigurationGroupDevice configurationGroupDevice) {
+ super(Boolean.class, "configurationgroupdevice", "add");
+ params.add("configurationGroupDevice", configurationGroupDevice);
+ }
+ }
+
+ /**
+ * Associate a collection of devices to a configuration group. If a device is
+ already associated to another group – old association is replaced
+ *
+ * @param configurationGroupDevice Configuration group device
+ */
+ public static AddConfigurationGroupDeviceBuilder add(ConfigurationGroupDevice configurationGroupDevice) {
+ return new AddConfigurationGroupDeviceBuilder(configurationGroupDevice);
+ }
+
+ public static class DeleteConfigurationGroupDeviceBuilder extends RequestBuilder {
+
+ public DeleteConfigurationGroupDeviceBuilder(String udid) {
+ super(Boolean.class, "configurationgroupdevice", "delete");
+ params.add("udid", udid);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove a device association
+ *
+ * @param udid Device UDID
+ */
+ public static DeleteConfigurationGroupDeviceBuilder delete(String udid) {
+ return new DeleteConfigurationGroupDeviceBuilder(udid);
+ }
+
+ public static class GetConfigurationGroupDeviceBuilder extends RequestBuilder {
+
+ public GetConfigurationGroupDeviceBuilder(String udid) {
+ super(ConfigurationGroupDevice.class, "configurationgroupdevice", "get");
+ params.add("udid", udid);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ /**
+ * Return the configuration group to which a specific device is associated to
+ *
+ * @param udid Device UDID
+ */
+ public static GetConfigurationGroupDeviceBuilder get(String udid) {
+ return new GetConfigurationGroupDeviceBuilder(udid);
+ }
+
+ public static class ListConfigurationGroupDeviceBuilder extends ListResponseRequestBuilder {
+
+ public ListConfigurationGroupDeviceBuilder(ConfigurationGroupDeviceFilter filter, FilterPager pager) {
+ super(ConfigurationGroupDevice.class, "configurationgroupdevice", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListConfigurationGroupDeviceBuilder list(ConfigurationGroupDeviceFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Return the list of associated devices for a given configuration group
+ *
+ * @param filter Filter option for configuration group identifier
+ * @param pager Page size and index
+ */
+ public static ListConfigurationGroupDeviceBuilder list(ConfigurationGroupDeviceFilter filter, FilterPager pager) {
+ return new ListConfigurationGroupDeviceBuilder(filter, pager);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupService.java
new file mode 100644
index 000000000..ea70ce37c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupService.java
@@ -0,0 +1,140 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.ConfigurationGroup;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ConfigurationGroupService {
+
+ public static class AddConfigurationGroupBuilder extends RequestBuilder {
+
+ public AddConfigurationGroupBuilder(ConfigurationGroup configurationGroup) {
+ super(ConfigurationGroup.class, "configurationgroup", "add");
+ params.add("configurationGroup", configurationGroup);
+ }
+ }
+
+ /**
+ * Add a new configuration group
+ *
+ * @param configurationGroup Configuration group
+ */
+ public static AddConfigurationGroupBuilder add(ConfigurationGroup configurationGroup) {
+ return new AddConfigurationGroupBuilder(configurationGroup);
+ }
+
+ public static class DeleteConfigurationGroupBuilder extends RequestBuilder {
+
+ public DeleteConfigurationGroupBuilder(String id) {
+ super(Boolean.class, "configurationgroup", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove a configuration group, including its tags, device configurations and
+ devices associations
+ *
+ * @param id Configuration group identifier
+ */
+ public static DeleteConfigurationGroupBuilder delete(String id) {
+ return new DeleteConfigurationGroupBuilder(id);
+ }
+
+ public static class GetConfigurationGroupBuilder extends RequestBuilder {
+
+ public GetConfigurationGroupBuilder(String id) {
+ super(ConfigurationGroup.class, "configurationgroup", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Return the configuration group details, including group identifiers, tags, and
+ number of associated devices, and list of device configuration
+ *
+ * @param id Configuration group identifier
+ */
+ public static GetConfigurationGroupBuilder get(String id) {
+ return new GetConfigurationGroupBuilder(id);
+ }
+
+ public static class ListConfigurationGroupBuilder extends ListResponseRequestBuilder {
+
+ public ListConfigurationGroupBuilder() {
+ super(ConfigurationGroup.class, "configurationgroup", "list");
+ }
+ }
+
+ /**
+ * Return the list of configuration groups
+ */
+ public static ListConfigurationGroupBuilder list() {
+ return new ListConfigurationGroupBuilder();
+ }
+
+ public static class UpdateConfigurationGroupBuilder extends RequestBuilder {
+
+ public UpdateConfigurationGroupBuilder(String id, ConfigurationGroup configurationGroup) {
+ super(ConfigurationGroup.class, "configurationgroup", "update");
+ params.add("id", id);
+ params.add("configurationGroup", configurationGroup);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update configuration group name
+ *
+ * @param id Configuration group identifier
+ * @param configurationGroup Configuration group
+ */
+ public static UpdateConfigurationGroupBuilder update(String id, ConfigurationGroup configurationGroup) {
+ return new UpdateConfigurationGroupBuilder(id, configurationGroup);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupTagService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupTagService.java
new file mode 100644
index 000000000..e3715d98a
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationGroupTagService.java
@@ -0,0 +1,120 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.ConfigurationGroupTag;
+import com.kaltura.client.types.ConfigurationGroupTagFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ConfigurationGroupTagService {
+
+ public static class AddConfigurationGroupTagBuilder extends RequestBuilder {
+
+ public AddConfigurationGroupTagBuilder(ConfigurationGroupTag configurationGroupTag) {
+ super(ConfigurationGroupTag.class, "configurationgrouptag", "add");
+ params.add("configurationGroupTag", configurationGroupTag);
+ }
+ }
+
+ /**
+ * Add a new tag to a configuration group. If this tag is already associated to
+ another group, request fails
+ *
+ * @param configurationGroupTag Configuration group tag
+ */
+ public static AddConfigurationGroupTagBuilder add(ConfigurationGroupTag configurationGroupTag) {
+ return new AddConfigurationGroupTagBuilder(configurationGroupTag);
+ }
+
+ public static class DeleteConfigurationGroupTagBuilder extends RequestBuilder {
+
+ public DeleteConfigurationGroupTagBuilder(String tag) {
+ super(Boolean.class, "configurationgrouptag", "delete");
+ params.add("tag", tag);
+ }
+
+ public void tag(String multirequestToken) {
+ params.add("tag", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove a tag association from configuration group
+ *
+ * @param tag Tag
+ */
+ public static DeleteConfigurationGroupTagBuilder delete(String tag) {
+ return new DeleteConfigurationGroupTagBuilder(tag);
+ }
+
+ public static class GetConfigurationGroupTagBuilder extends RequestBuilder {
+
+ public GetConfigurationGroupTagBuilder(String tag) {
+ super(ConfigurationGroupTag.class, "configurationgrouptag", "get");
+ params.add("tag", tag);
+ }
+
+ public void tag(String multirequestToken) {
+ params.add("tag", multirequestToken);
+ }
+ }
+
+ /**
+ * Return the configuration group the tag is associated to
+ *
+ * @param tag Tag
+ */
+ public static GetConfigurationGroupTagBuilder get(String tag) {
+ return new GetConfigurationGroupTagBuilder(tag);
+ }
+
+ public static class ListConfigurationGroupTagBuilder extends ListResponseRequestBuilder {
+
+ public ListConfigurationGroupTagBuilder(ConfigurationGroupTagFilter filter) {
+ super(ConfigurationGroupTag.class, "configurationgrouptag", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Return list of tags for a configuration group
+ *
+ * @param filter Filter option for configuration group identifier
+ */
+ public static ListConfigurationGroupTagBuilder list(ConfigurationGroupTagFilter filter) {
+ return new ListConfigurationGroupTagBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationsService.java
new file mode 100644
index 000000000..5c2c06239
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ConfigurationsService.java
@@ -0,0 +1,199 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Configurations;
+import com.kaltura.client.types.ConfigurationsFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+import com.kaltura.client.utils.request.ServeRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ConfigurationsService {
+
+ public static class AddConfigurationsBuilder extends RequestBuilder {
+
+ public AddConfigurationsBuilder(Configurations configurations) {
+ super(Configurations.class, "configurations", "add");
+ params.add("configurations", configurations);
+ }
+ }
+
+ /**
+ * Add a new device configuration to a configuration group
+ *
+ * @param configurations Device configuration
+ */
+ public static AddConfigurationsBuilder add(Configurations configurations) {
+ return new AddConfigurationsBuilder(configurations);
+ }
+
+ public static class DeleteConfigurationsBuilder extends RequestBuilder {
+
+ public DeleteConfigurationsBuilder(String id) {
+ super(Boolean.class, "configurations", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete a device configuration
+ *
+ * @param id Configuration identifier
+ */
+ public static DeleteConfigurationsBuilder delete(String id) {
+ return new DeleteConfigurationsBuilder(id);
+ }
+
+ public static class GetConfigurationsBuilder extends RequestBuilder {
+
+ public GetConfigurationsBuilder(String id) {
+ super(Configurations.class, "configurations", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Return the device configuration
+ *
+ * @param id Configuration identifier
+ */
+ public static GetConfigurationsBuilder get(String id) {
+ return new GetConfigurationsBuilder(id);
+ }
+
+ public static class ListConfigurationsBuilder extends ListResponseRequestBuilder {
+
+ public ListConfigurationsBuilder(ConfigurationsFilter filter) {
+ super(Configurations.class, "configurations", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Return a list of device configurations of a configuration group
+ *
+ * @param filter Filter option for configuration group id.
+ */
+ public static ListConfigurationsBuilder list(ConfigurationsFilter filter) {
+ return new ListConfigurationsBuilder(filter);
+ }
+
+ public static class ServeByDeviceConfigurationsBuilder extends ServeRequestBuilder {
+
+ public ServeByDeviceConfigurationsBuilder(String applicationName, String clientVersion, String platform, String udid, String tag, int partnerId) {
+ super("configurations", "serveByDevice");
+ params.add("applicationName", applicationName);
+ params.add("clientVersion", clientVersion);
+ params.add("platform", platform);
+ params.add("udid", udid);
+ params.add("tag", tag);
+ params.add("partnerId", partnerId);
+ }
+
+ public void applicationName(String multirequestToken) {
+ params.add("applicationName", multirequestToken);
+ }
+
+ public void clientVersion(String multirequestToken) {
+ params.add("clientVersion", multirequestToken);
+ }
+
+ public void platform(String multirequestToken) {
+ params.add("platform", multirequestToken);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+
+ public void tag(String multirequestToken) {
+ params.add("tag", multirequestToken);
+ }
+
+ public void partnerId(String multirequestToken) {
+ params.add("partnerId", multirequestToken);
+ }
+ }
+
+ public static ServeByDeviceConfigurationsBuilder serveByDevice(String applicationName, String clientVersion, String platform, String udid, String tag) {
+ return serveByDevice(applicationName, clientVersion, platform, udid, tag, 0);
+ }
+
+ /**
+ * Return a device configuration applicable for a specific device (UDID), app name,
+ software version, platform and optionally a configuration group’s tag
+ *
+ * @param applicationName Application name
+ * @param clientVersion Client version
+ * @param platform platform
+ * @param udid Device UDID
+ * @param tag Tag
+ * @param partnerId Partner Id
+ */
+ public static ServeByDeviceConfigurationsBuilder serveByDevice(String applicationName, String clientVersion, String platform, String udid, String tag, int partnerId) {
+ return new ServeByDeviceConfigurationsBuilder(applicationName, clientVersion, platform, udid, tag, partnerId);
+ }
+
+ public static class UpdateConfigurationsBuilder extends RequestBuilder {
+
+ public UpdateConfigurationsBuilder(String id, Configurations configurations) {
+ super(Configurations.class, "configurations", "update");
+ params.add("id", id);
+ params.add("configurations", configurations);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update device configuration
+ *
+ * @param id Configuration identifier
+ * @param configurations configuration to update
+ */
+ public static UpdateConfigurationsBuilder update(String id, Configurations configurations) {
+ return new UpdateConfigurationsBuilder(id, configurations);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CountryService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CountryService.java
new file mode 100644
index 000000000..00e771a86
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CountryService.java
@@ -0,0 +1,60 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Country;
+import com.kaltura.client.types.CountryFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CountryService {
+
+ public static class ListCountryBuilder extends ListResponseRequestBuilder {
+
+ public ListCountryBuilder(CountryFilter filter) {
+ super(Country.class, "country", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Get the list of countries for the partner with option to filter by countries
+ identifiers
+ *
+ * @param filter Country filter
+ */
+ public static ListCountryBuilder list(CountryFilter filter) {
+ return new ListCountryBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CouponService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CouponService.java
new file mode 100644
index 000000000..b666ccd6d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CouponService.java
@@ -0,0 +1,62 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Coupon;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CouponService {
+
+ public static class GetCouponBuilder extends RequestBuilder {
+
+ public GetCouponBuilder(String code) {
+ super(Coupon.class, "coupon", "get");
+ params.add("code", code);
+ }
+
+ public void code(String multirequestToken) {
+ params.add("code", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns information about a coupon
+ *
+ * @param code Coupon code
+ */
+ public static GetCouponBuilder get(String code) {
+ return new GetCouponBuilder(code);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CouponsGroupService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CouponsGroupService.java
new file mode 100644
index 000000000..4c71648cd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CouponsGroupService.java
@@ -0,0 +1,163 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.CouponGenerationOptions;
+import com.kaltura.client.types.CouponsGroup;
+import com.kaltura.client.types.StringValueArray;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CouponsGroupService {
+
+ public static class AddCouponsGroupBuilder extends RequestBuilder {
+
+ public AddCouponsGroupBuilder(CouponsGroup couponsGroup) {
+ super(CouponsGroup.class, "couponsgroup", "add");
+ params.add("couponsGroup", couponsGroup);
+ }
+ }
+
+ /**
+ * Add coupons group
+ *
+ * @param couponsGroup Coupons group
+ */
+ public static AddCouponsGroupBuilder add(CouponsGroup couponsGroup) {
+ return new AddCouponsGroupBuilder(couponsGroup);
+ }
+
+ public static class DeleteCouponsGroupBuilder extends RequestBuilder {
+
+ public DeleteCouponsGroupBuilder(long id) {
+ super(Boolean.class, "couponsgroup", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete a coupons group
+ *
+ * @param id Coupons group identifier
+ */
+ public static DeleteCouponsGroupBuilder delete(long id) {
+ return new DeleteCouponsGroupBuilder(id);
+ }
+
+ public static class GenerateCouponsGroupBuilder extends RequestBuilder {
+
+ public GenerateCouponsGroupBuilder(long id, CouponGenerationOptions couponGenerationOptions) {
+ super(StringValueArray.class, "couponsgroup", "generate");
+ params.add("id", id);
+ params.add("couponGenerationOptions", couponGenerationOptions);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Generate a coupon
+ *
+ * @param id Coupon group identifier
+ * @param couponGenerationOptions Coupon generation options
+ */
+ public static GenerateCouponsGroupBuilder generate(long id, CouponGenerationOptions couponGenerationOptions) {
+ return new GenerateCouponsGroupBuilder(id, couponGenerationOptions);
+ }
+
+ public static class GetCouponsGroupBuilder extends RequestBuilder {
+
+ public GetCouponsGroupBuilder(long id) {
+ super(CouponsGroup.class, "couponsgroup", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns information about coupons group
+ *
+ * @param id Coupons group ID
+ */
+ public static GetCouponsGroupBuilder get(long id) {
+ return new GetCouponsGroupBuilder(id);
+ }
+
+ public static class ListCouponsGroupBuilder extends ListResponseRequestBuilder {
+
+ public ListCouponsGroupBuilder() {
+ super(CouponsGroup.class, "couponsgroup", "list");
+ }
+ }
+
+ /**
+ * Returns information about partner coupons groups
+ */
+ public static ListCouponsGroupBuilder list() {
+ return new ListCouponsGroupBuilder();
+ }
+
+ public static class UpdateCouponsGroupBuilder extends RequestBuilder {
+
+ public UpdateCouponsGroupBuilder(long id, CouponsGroup couponsGroup) {
+ super(CouponsGroup.class, "couponsgroup", "update");
+ params.add("id", id);
+ params.add("couponsGroup", couponsGroup);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update coupons group
+ *
+ * @param id Coupons group identifier
+ * @param couponsGroup Coupons group
+ */
+ public static UpdateCouponsGroupBuilder update(long id, CouponsGroup couponsGroup) {
+ return new UpdateCouponsGroupBuilder(id, couponsGroup);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/CurrencyService.java b/KalturaClient/src/main/java/com/kaltura/client/services/CurrencyService.java
new file mode 100644
index 000000000..004957ffb
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/CurrencyService.java
@@ -0,0 +1,60 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Currency;
+import com.kaltura.client.types.CurrencyFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class CurrencyService {
+
+ public static class ListCurrencyBuilder extends ListResponseRequestBuilder {
+
+ public ListCurrencyBuilder(CurrencyFilter filter) {
+ super(Currency.class, "currency", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Get the list of currencies for the partner with option to filter by currency
+ codes
+ *
+ * @param filter currency filter
+ */
+ public static ListCurrencyBuilder list(CurrencyFilter filter) {
+ return new ListCurrencyBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DeviceBrandService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceBrandService.java
new file mode 100644
index 000000000..ce88db564
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceBrandService.java
@@ -0,0 +1,111 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.DeviceBrand;
+import com.kaltura.client.types.DeviceBrandFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DeviceBrandService {
+
+ public static class AddDeviceBrandBuilder extends RequestBuilder {
+
+ public AddDeviceBrandBuilder(DeviceBrand deviceBrand) {
+ super(DeviceBrand.class, "devicebrand", "add");
+ params.add("deviceBrand", deviceBrand);
+ }
+ }
+
+ /**
+ * Adds a new device brand which belongs to a specific group.
+ *
+ * @param deviceBrand Device brand.
+ */
+ public static AddDeviceBrandBuilder add(DeviceBrand deviceBrand) {
+ return new AddDeviceBrandBuilder(deviceBrand);
+ }
+
+ public static class ListDeviceBrandBuilder extends ListResponseRequestBuilder {
+
+ public ListDeviceBrandBuilder(DeviceBrandFilter filter, FilterPager pager) {
+ super(DeviceBrand.class, "devicebrand", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListDeviceBrandBuilder list() {
+ return list(null);
+ }
+
+ public static ListDeviceBrandBuilder list(DeviceBrandFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Return a list of the available device brands.
+ *
+ * @param filter Filter with no more than one condition specified.
+ * @param pager Page size and index.
+ */
+ public static ListDeviceBrandBuilder list(DeviceBrandFilter filter, FilterPager pager) {
+ return new ListDeviceBrandBuilder(filter, pager);
+ }
+
+ public static class UpdateDeviceBrandBuilder extends RequestBuilder {
+
+ public UpdateDeviceBrandBuilder(long id, DeviceBrand deviceBrand) {
+ super(DeviceBrand.class, "devicebrand", "update");
+ params.add("id", id);
+ params.add("deviceBrand", deviceBrand);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Updates an existing device brand which belongs to a specific group.
+ *
+ * @param id Device brand's identifier.
+ * @param deviceBrand Device brand.
+ */
+ public static UpdateDeviceBrandBuilder update(long id, DeviceBrand deviceBrand) {
+ return new UpdateDeviceBrandBuilder(id, deviceBrand);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DeviceFamilyService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceFamilyService.java
new file mode 100644
index 000000000..beed170b3
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceFamilyService.java
@@ -0,0 +1,111 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.DeviceFamily;
+import com.kaltura.client.types.DeviceFamilyFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DeviceFamilyService {
+
+ public static class AddDeviceFamilyBuilder extends RequestBuilder {
+
+ public AddDeviceFamilyBuilder(DeviceFamily deviceFamily) {
+ super(DeviceFamily.class, "devicefamily", "add");
+ params.add("deviceFamily", deviceFamily);
+ }
+ }
+
+ /**
+ * Adds a new device family which belongs to a specific group.
+ *
+ * @param deviceFamily Device family.
+ */
+ public static AddDeviceFamilyBuilder add(DeviceFamily deviceFamily) {
+ return new AddDeviceFamilyBuilder(deviceFamily);
+ }
+
+ public static class ListDeviceFamilyBuilder extends ListResponseRequestBuilder {
+
+ public ListDeviceFamilyBuilder(DeviceFamilyFilter filter, FilterPager pager) {
+ super(DeviceFamily.class, "devicefamily", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListDeviceFamilyBuilder list() {
+ return list(null);
+ }
+
+ public static ListDeviceFamilyBuilder list(DeviceFamilyFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Return a list of the available device families.
+ *
+ * @param filter Filter with no more than one condition specified.
+ * @param pager Page size and index.
+ */
+ public static ListDeviceFamilyBuilder list(DeviceFamilyFilter filter, FilterPager pager) {
+ return new ListDeviceFamilyBuilder(filter, pager);
+ }
+
+ public static class UpdateDeviceFamilyBuilder extends RequestBuilder {
+
+ public UpdateDeviceFamilyBuilder(long id, DeviceFamily deviceFamily) {
+ super(DeviceFamily.class, "devicefamily", "update");
+ params.add("id", id);
+ params.add("deviceFamily", deviceFamily);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Updates an existing device family which belongs to a specific group.
+ *
+ * @param id Device family's identifier.
+ * @param deviceFamily Device family.
+ */
+ public static UpdateDeviceFamilyBuilder update(long id, DeviceFamily deviceFamily) {
+ return new UpdateDeviceFamilyBuilder(id, deviceFamily);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DeviceReferenceDataService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceReferenceDataService.java
new file mode 100644
index 000000000..1f4f46949
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DeviceReferenceDataService.java
@@ -0,0 +1,129 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.DeviceReferenceData;
+import com.kaltura.client.types.DeviceReferenceDataFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DeviceReferenceDataService {
+
+ public static class AddDeviceReferenceDataBuilder extends RequestBuilder {
+
+ public AddDeviceReferenceDataBuilder(DeviceReferenceData objectToAdd) {
+ super(DeviceReferenceData.class, "devicereferencedata", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * add DeviceReferenceData
+ *
+ * @param objectToAdd DeviceReferenceData details
+ */
+ public static AddDeviceReferenceDataBuilder add(DeviceReferenceData objectToAdd) {
+ return new AddDeviceReferenceDataBuilder(objectToAdd);
+ }
+
+ public static class DeleteDeviceReferenceDataBuilder extends NullRequestBuilder {
+
+ public DeleteDeviceReferenceDataBuilder(long id) {
+ super("devicereferencedata", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete existing DeviceReferenceData
+ *
+ * @param id DeviceReferenceData identifier
+ */
+ public static DeleteDeviceReferenceDataBuilder delete(long id) {
+ return new DeleteDeviceReferenceDataBuilder(id);
+ }
+
+ public static class ListDeviceReferenceDataBuilder extends ListResponseRequestBuilder {
+
+ public ListDeviceReferenceDataBuilder(DeviceReferenceDataFilter filter, FilterPager pager) {
+ super(DeviceReferenceData.class, "devicereferencedata", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListDeviceReferenceDataBuilder list(DeviceReferenceDataFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns the list of available DeviceReferenceData
+ *
+ * @param filter Filter
+ * @param pager Pager
+ */
+ public static ListDeviceReferenceDataBuilder list(DeviceReferenceDataFilter filter, FilterPager pager) {
+ return new ListDeviceReferenceDataBuilder(filter, pager);
+ }
+
+ public static class UpdateDeviceReferenceDataBuilder extends RequestBuilder {
+
+ public UpdateDeviceReferenceDataBuilder(long id, DeviceReferenceData objectToUpdate) {
+ super(DeviceReferenceData.class, "devicereferencedata", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update existing DeviceReferenceData
+ *
+ * @param id id of DeviceReferenceData to update
+ * @param objectToUpdate DeviceReferenceData Object to update
+ */
+ public static UpdateDeviceReferenceDataBuilder update(long id, DeviceReferenceData objectToUpdate) {
+ return new UpdateDeviceReferenceDataBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DiscountDetailsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DiscountDetailsService.java
new file mode 100644
index 000000000..1c05775a7
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DiscountDetailsService.java
@@ -0,0 +1,126 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.DiscountDetails;
+import com.kaltura.client.types.DiscountDetailsFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DiscountDetailsService {
+
+ public static class AddDiscountDetailsBuilder extends RequestBuilder {
+
+ public AddDiscountDetailsBuilder(DiscountDetails discountDetails) {
+ super(DiscountDetails.class, "discountdetails", "add");
+ params.add("discountDetails", discountDetails);
+ }
+ }
+
+ /**
+ * Internal API !!! Insert new DiscountDetails for partner
+ *
+ * @param discountDetails Discount details Object
+ */
+ public static AddDiscountDetailsBuilder add(DiscountDetails discountDetails) {
+ return new AddDiscountDetailsBuilder(discountDetails);
+ }
+
+ public static class DeleteDiscountDetailsBuilder extends RequestBuilder {
+
+ public DeleteDiscountDetailsBuilder(long id) {
+ super(Boolean.class, "discountdetails", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Internal API !!! Delete DiscountDetails
+ *
+ * @param id DiscountDetails id
+ */
+ public static DeleteDiscountDetailsBuilder delete(long id) {
+ return new DeleteDiscountDetailsBuilder(id);
+ }
+
+ public static class ListDiscountDetailsBuilder extends ListResponseRequestBuilder {
+
+ public ListDiscountDetailsBuilder(DiscountDetailsFilter filter) {
+ super(DiscountDetails.class, "discountdetails", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListDiscountDetailsBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Returns the list of available discounts details, can be filtered by discount
+ codes
+ *
+ * @param filter Filter
+ */
+ public static ListDiscountDetailsBuilder list(DiscountDetailsFilter filter) {
+ return new ListDiscountDetailsBuilder(filter);
+ }
+
+ public static class UpdateDiscountDetailsBuilder extends RequestBuilder {
+
+ public UpdateDiscountDetailsBuilder(long id, DiscountDetails discountDetails) {
+ super(DiscountDetails.class, "discountdetails", "update");
+ params.add("id", id);
+ params.add("discountDetails", discountDetails);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update discount details
+ *
+ * @param id DiscountDetails id
+ * @param discountDetails Discount details Object
+ */
+ public static UpdateDiscountDetailsBuilder update(long id, DiscountDetails discountDetails) {
+ return new UpdateDiscountDetailsBuilder(id, discountDetails);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DrmProfileService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DrmProfileService.java
new file mode 100644
index 000000000..ade0d748d
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DrmProfileService.java
@@ -0,0 +1,94 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.DrmProfile;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DrmProfileService {
+
+ public static class AddDrmProfileBuilder extends RequestBuilder {
+
+ public AddDrmProfileBuilder(DrmProfile drmProfile) {
+ super(DrmProfile.class, "drmprofile", "add");
+ params.add("drmProfile", drmProfile);
+ }
+ }
+
+ /**
+ * Internal API !!! Insert new DrmProfile
+ *
+ * @param drmProfile Drm adapter Object
+ */
+ public static AddDrmProfileBuilder add(DrmProfile drmProfile) {
+ return new AddDrmProfileBuilder(drmProfile);
+ }
+
+ public static class DeleteDrmProfileBuilder extends RequestBuilder {
+
+ public DeleteDrmProfileBuilder(long id) {
+ super(Boolean.class, "drmprofile", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Internal API !!! Delete DrmProfile
+ *
+ * @param id Drm adapter id
+ */
+ public static DeleteDrmProfileBuilder delete(long id) {
+ return new DeleteDrmProfileBuilder(id);
+ }
+
+ public static class ListDrmProfileBuilder extends ListResponseRequestBuilder {
+
+ public ListDrmProfileBuilder() {
+ super(DrmProfile.class, "drmprofile", "list");
+ }
+ }
+
+ /**
+ * Returns all DRM adapters for partner
+ */
+ public static ListDrmProfileBuilder list() {
+ return new ListDrmProfileBuilder();
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DurationService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DurationService.java
new file mode 100644
index 000000000..4a80cdace
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DurationService.java
@@ -0,0 +1,55 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Duration;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DurationService {
+
+ public static class ListDurationBuilder extends ListResponseRequestBuilder {
+
+ public ListDurationBuilder() {
+ super(Duration.class, "duration", "list");
+ }
+ }
+
+ /**
+ * Get the list of optinal Duration codes
+ */
+ public static ListDurationBuilder list() {
+ return new ListDurationBuilder();
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/DynamicListService.java b/KalturaClient/src/main/java/com/kaltura/client/services/DynamicListService.java
new file mode 100644
index 000000000..cc62a70a1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/DynamicListService.java
@@ -0,0 +1,171 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.FileHolder;
+import com.kaltura.client.Files;
+import com.kaltura.client.types.BulkUpload;
+import com.kaltura.client.types.BulkUploadDynamicListData;
+import com.kaltura.client.types.BulkUploadExcelJobData;
+import com.kaltura.client.types.DynamicList;
+import com.kaltura.client.types.DynamicListFilter;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStream;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class DynamicListService {
+
+ public static class AddDynamicListBuilder extends RequestBuilder {
+
+ public AddDynamicListBuilder(DynamicList objectToAdd) {
+ super(DynamicList.class, "dynamiclist", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * Add new KalturaDynamicList
+ *
+ * @param objectToAdd KalturaDynamicList Object to add
+ */
+ public static AddDynamicListBuilder add(DynamicList objectToAdd) {
+ return new AddDynamicListBuilder(objectToAdd);
+ }
+
+ public static class AddFromBulkUploadDynamicListBuilder extends RequestBuilder {
+
+ public AddFromBulkUploadDynamicListBuilder(FileHolder fileData, BulkUploadExcelJobData jobData, BulkUploadDynamicListData bulkUploadData) {
+ super(BulkUpload.class, "dynamiclist", "addFromBulkUpload");
+ files = new Files();
+ files.add("fileData", fileData);
+ params.add("jobData", jobData);
+ params.add("bulkUploadData", bulkUploadData);
+ }
+ }
+
+ public static AddFromBulkUploadDynamicListBuilder addFromBulkUpload(File fileData, BulkUploadExcelJobData jobData, BulkUploadDynamicListData bulkUploadData) {
+ return addFromBulkUpload(new FileHolder(fileData), jobData, bulkUploadData);
+ }
+
+ public static AddFromBulkUploadDynamicListBuilder addFromBulkUpload(InputStream fileData, String fileDataMimeType, String fileDataName, long fileDataSize, BulkUploadExcelJobData jobData, BulkUploadDynamicListData bulkUploadData) {
+ return addFromBulkUpload(new FileHolder(fileData, fileDataMimeType, fileDataName, fileDataSize), jobData, bulkUploadData);
+ }
+
+ public static AddFromBulkUploadDynamicListBuilder addFromBulkUpload(FileInputStream fileData, String fileDataMimeType, String fileDataName, BulkUploadExcelJobData jobData, BulkUploadDynamicListData bulkUploadData) {
+ return addFromBulkUpload(new FileHolder(fileData, fileDataMimeType, fileDataName), jobData, bulkUploadData);
+ }
+
+ /**
+ * Add new bulk upload batch job Conversion profile id can be specified in the API.
+ *
+ * @param fileData fileData
+ * @param jobData jobData
+ * @param bulkUploadData bulkUploadData
+ */
+ public static AddFromBulkUploadDynamicListBuilder addFromBulkUpload(FileHolder fileData, BulkUploadExcelJobData jobData, BulkUploadDynamicListData bulkUploadData) {
+ return new AddFromBulkUploadDynamicListBuilder(fileData, jobData, bulkUploadData);
+ }
+
+ public static class DeleteDynamicListBuilder extends NullRequestBuilder {
+
+ public DeleteDynamicListBuilder(long id) {
+ super("dynamiclist", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete existing DynamicList
+ *
+ * @param id DynamicList identifier
+ */
+ public static DeleteDynamicListBuilder delete(long id) {
+ return new DeleteDynamicListBuilder(id);
+ }
+
+ public static class ListDynamicListBuilder extends ListResponseRequestBuilder {
+
+ public ListDynamicListBuilder(DynamicListFilter filter, FilterPager pager) {
+ super(DynamicList.class, "dynamiclist", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListDynamicListBuilder list(DynamicListFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Returns the list of available DynamicList
+ *
+ * @param filter Filter
+ * @param pager Pager
+ */
+ public static ListDynamicListBuilder list(DynamicListFilter filter, FilterPager pager) {
+ return new ListDynamicListBuilder(filter, pager);
+ }
+
+ public static class UpdateDynamicListBuilder extends RequestBuilder {
+
+ public UpdateDynamicListBuilder(long id, DynamicList objectToUpdate) {
+ super(DynamicList.class, "dynamiclist", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update existing KalturaDynamicList
+ *
+ * @param id id of KalturaDynamicList to update
+ * @param objectToUpdate KalturaDynamicList Object to update
+ */
+ public static UpdateDynamicListBuilder update(long id, DynamicList objectToUpdate) {
+ return new UpdateDynamicListBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EmailService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EmailService.java
new file mode 100644
index 000000000..19c921051
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EmailService.java
@@ -0,0 +1,58 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.EmailMessage;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EmailService {
+
+ public static class SendEmailBuilder extends RequestBuilder {
+
+ public SendEmailBuilder(EmailMessage emailMessage) {
+ super(Boolean.class, "email", "send");
+ params.add("emailMessage", emailMessage);
+ }
+ }
+
+ /**
+ * Sends email notification
+ *
+ * @param emailMessage email details
+ */
+ public static SendEmailBuilder send(EmailMessage emailMessage) {
+ return new SendEmailBuilder(emailMessage);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EngagementAdapterService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EngagementAdapterService.java
new file mode 100644
index 000000000..c5b448d04
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EngagementAdapterService.java
@@ -0,0 +1,159 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.EngagementAdapter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EngagementAdapterService {
+
+ public static class AddEngagementAdapterBuilder extends RequestBuilder {
+
+ public AddEngagementAdapterBuilder(EngagementAdapter engagementAdapter) {
+ super(EngagementAdapter.class, "engagementadapter", "add");
+ params.add("engagementAdapter", engagementAdapter);
+ }
+ }
+
+ /**
+ * Insert new Engagement adapter for partner
+ *
+ * @param engagementAdapter Engagement adapter Object
+ */
+ public static AddEngagementAdapterBuilder add(EngagementAdapter engagementAdapter) {
+ return new AddEngagementAdapterBuilder(engagementAdapter);
+ }
+
+ public static class DeleteEngagementAdapterBuilder extends RequestBuilder {
+
+ public DeleteEngagementAdapterBuilder(int id) {
+ super(Boolean.class, "engagementadapter", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete Engagement adapter by Engagement adapter id
+ *
+ * @param id Engagement adapter identifier
+ */
+ public static DeleteEngagementAdapterBuilder delete(int id) {
+ return new DeleteEngagementAdapterBuilder(id);
+ }
+
+ public static class GenerateSharedSecretEngagementAdapterBuilder extends RequestBuilder {
+
+ public GenerateSharedSecretEngagementAdapterBuilder(int id) {
+ super(EngagementAdapter.class, "engagementadapter", "generateSharedSecret");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Generate engagement adapter shared secret
+ *
+ * @param id Engagement adapter identifier
+ */
+ public static GenerateSharedSecretEngagementAdapterBuilder generateSharedSecret(int id) {
+ return new GenerateSharedSecretEngagementAdapterBuilder(id);
+ }
+
+ public static class GetEngagementAdapterBuilder extends RequestBuilder {
+
+ public GetEngagementAdapterBuilder(int id) {
+ super(EngagementAdapter.class, "engagementadapter", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns all Engagement adapters for partner : id + name
+ *
+ * @param id Engagement adapter identifier
+ */
+ public static GetEngagementAdapterBuilder get(int id) {
+ return new GetEngagementAdapterBuilder(id);
+ }
+
+ public static class ListEngagementAdapterBuilder extends ListResponseRequestBuilder {
+
+ public ListEngagementAdapterBuilder() {
+ super(EngagementAdapter.class, "engagementadapter", "list");
+ }
+ }
+
+ /**
+ * Returns all Engagement adapters for partner : id + name
+ */
+ public static ListEngagementAdapterBuilder list() {
+ return new ListEngagementAdapterBuilder();
+ }
+
+ public static class UpdateEngagementAdapterBuilder extends RequestBuilder {
+
+ public UpdateEngagementAdapterBuilder(int id, EngagementAdapter engagementAdapter) {
+ super(EngagementAdapter.class, "engagementadapter", "update");
+ params.add("id", id);
+ params.add("engagementAdapter", engagementAdapter);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update Engagement adapter details
+ *
+ * @param id Engagement adapter identifier
+ * @param engagementAdapter Engagement adapter Object
+ */
+ public static UpdateEngagementAdapterBuilder update(int id, EngagementAdapter engagementAdapter) {
+ return new UpdateEngagementAdapterBuilder(id, engagementAdapter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EngagementService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EngagementService.java
new file mode 100644
index 000000000..461aa681c
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EngagementService.java
@@ -0,0 +1,119 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Engagement;
+import com.kaltura.client.types.EngagementFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EngagementService {
+
+ public static class AddEngagementBuilder extends RequestBuilder {
+
+ public AddEngagementBuilder(Engagement engagement) {
+ super(Engagement.class, "engagement", "add");
+ params.add("engagement", engagement);
+ }
+ }
+
+ /**
+ * Insert new Engagement for partner
+ *
+ * @param engagement Engagement adapter Object
+ */
+ public static AddEngagementBuilder add(Engagement engagement) {
+ return new AddEngagementBuilder(engagement);
+ }
+
+ public static class DeleteEngagementBuilder extends RequestBuilder {
+
+ public DeleteEngagementBuilder(int id) {
+ super(Boolean.class, "engagement", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete engagement by engagement adapter id
+ *
+ * @param id Engagement identifier
+ */
+ public static DeleteEngagementBuilder delete(int id) {
+ return new DeleteEngagementBuilder(id);
+ }
+
+ public static class GetEngagementBuilder extends RequestBuilder {
+
+ public GetEngagementBuilder(int id) {
+ super(Engagement.class, "engagement", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Return engagement
+ *
+ * @param id Engagement identifier
+ */
+ public static GetEngagementBuilder get(int id) {
+ return new GetEngagementBuilder(id);
+ }
+
+ public static class ListEngagementBuilder extends ListResponseRequestBuilder {
+
+ public ListEngagementBuilder(EngagementFilter filter) {
+ super(Engagement.class, "engagement", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Returns all Engagement for partner
+ *
+ * @param filter filter
+ */
+ public static ListEngagementBuilder list(EngagementFilter filter) {
+ return new ListEngagementBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EntitlementService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EntitlementService.java
new file mode 100644
index 000000000..ae0b5be58
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EntitlementService.java
@@ -0,0 +1,339 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.TransactionType;
+import com.kaltura.client.types.Entitlement;
+import com.kaltura.client.types.EntitlementFilter;
+import com.kaltura.client.types.EntitlementRenewal;
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EntitlementService {
+
+ public static class ApplyCouponEntitlementBuilder extends NullRequestBuilder {
+
+ public ApplyCouponEntitlementBuilder(long purchaseId, String couponCode) {
+ super("entitlement", "applyCoupon");
+ params.add("purchaseId", purchaseId);
+ params.add("couponCode", couponCode);
+ }
+
+ public void purchaseId(String multirequestToken) {
+ params.add("purchaseId", multirequestToken);
+ }
+
+ public void couponCode(String multirequestToken) {
+ params.add("couponCode", multirequestToken);
+ }
+ }
+
+ /**
+ * Apply new coupon for existing subscription
+ *
+ * @param purchaseId purchase Id
+ * @param couponCode coupon Code
+ */
+ public static ApplyCouponEntitlementBuilder applyCoupon(long purchaseId, String couponCode) {
+ return new ApplyCouponEntitlementBuilder(purchaseId, couponCode);
+ }
+
+ public static class CancelEntitlementBuilder extends RequestBuilder {
+
+ public CancelEntitlementBuilder(int assetId, TransactionType productType) {
+ super(Boolean.class, "entitlement", "cancel");
+ params.add("assetId", assetId);
+ params.add("productType", productType);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void productType(String multirequestToken) {
+ params.add("productType", multirequestToken);
+ }
+ }
+
+ /**
+ * Immediately cancel a subscription, PPV, collection or programAssetGroupOffer.
+ Cancel is possible only if within cancellation window and content not already
+ consumed
+ *
+ * @param assetId The mediaFileID to cancel
+ * @param productType The product type for the cancelation
+ */
+ public static CancelEntitlementBuilder cancel(int assetId, TransactionType productType) {
+ return new CancelEntitlementBuilder(assetId, productType);
+ }
+
+ public static class CancelRenewalEntitlementBuilder extends NullRequestBuilder {
+
+ public CancelRenewalEntitlementBuilder(String subscriptionId) {
+ super("entitlement", "cancelRenewal");
+ params.add("subscriptionId", subscriptionId);
+ }
+
+ public void subscriptionId(String multirequestToken) {
+ params.add("subscriptionId", multirequestToken);
+ }
+ }
+
+ /**
+ * Cancel a household service subscription at the next renewal. The subscription
+ stays valid till the next renewal.
+ *
+ * @param subscriptionId Subscription Code
+ */
+ public static CancelRenewalEntitlementBuilder cancelRenewal(String subscriptionId) {
+ return new CancelRenewalEntitlementBuilder(subscriptionId);
+ }
+
+ public static class CancelScheduledSubscriptionEntitlementBuilder extends RequestBuilder {
+
+ public CancelScheduledSubscriptionEntitlementBuilder(long scheduledSubscriptionId) {
+ super(Boolean.class, "entitlement", "cancelScheduledSubscription");
+ params.add("scheduledSubscriptionId", scheduledSubscriptionId);
+ }
+
+ public void scheduledSubscriptionId(String multirequestToken) {
+ params.add("scheduledSubscriptionId", multirequestToken);
+ }
+ }
+
+ /**
+ * Cancel Scheduled Subscription
+ *
+ * @param scheduledSubscriptionId Scheduled Subscription Identifier
+ */
+ public static CancelScheduledSubscriptionEntitlementBuilder cancelScheduledSubscription(long scheduledSubscriptionId) {
+ return new CancelScheduledSubscriptionEntitlementBuilder(scheduledSubscriptionId);
+ }
+
+ public static class ExternalReconcileEntitlementBuilder extends RequestBuilder {
+
+ public ExternalReconcileEntitlementBuilder() {
+ super(Boolean.class, "entitlement", "externalReconcile");
+ }
+ }
+
+ /**
+ * Reconcile the user household's entitlements with an external
+ entitlements source. This request is frequency protected to avoid too frequent
+ calls per household.
+ */
+ public static ExternalReconcileEntitlementBuilder externalReconcile() {
+ return new ExternalReconcileEntitlementBuilder();
+ }
+
+ public static class ForceCancelEntitlementBuilder extends RequestBuilder {
+
+ public ForceCancelEntitlementBuilder(int assetId, TransactionType productType) {
+ super(Boolean.class, "entitlement", "forceCancel");
+ params.add("assetId", assetId);
+ params.add("productType", productType);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void productType(String multirequestToken) {
+ params.add("productType", multirequestToken);
+ }
+ }
+
+ /**
+ * Immediately cancel a subscription, PPV, collection or programAssetGroupOffer.
+ Cancel applies regardless of cancellation window and content consumption status
+ *
+ * @param assetId The mediaFileID to cancel
+ * @param productType The product type for the cancelation
+ */
+ public static ForceCancelEntitlementBuilder forceCancel(int assetId, TransactionType productType) {
+ return new ForceCancelEntitlementBuilder(assetId, productType);
+ }
+
+ public static class GetNextRenewalEntitlementBuilder extends RequestBuilder {
+
+ public GetNextRenewalEntitlementBuilder(int id) {
+ super(EntitlementRenewal.class, "entitlement", "getNextRenewal");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Returns the data about the next renewal
+ *
+ * @param id Purchase Id
+ */
+ public static GetNextRenewalEntitlementBuilder getNextRenewal(int id) {
+ return new GetNextRenewalEntitlementBuilder(id);
+ }
+
+ public static class GrantEntitlementBuilder extends RequestBuilder {
+
+ public GrantEntitlementBuilder(int productId, TransactionType productType, boolean history, int contentId) {
+ super(Boolean.class, "entitlement", "grant");
+ params.add("productId", productId);
+ params.add("productType", productType);
+ params.add("history", history);
+ params.add("contentId", contentId);
+ }
+
+ public void productId(String multirequestToken) {
+ params.add("productId", multirequestToken);
+ }
+
+ public void productType(String multirequestToken) {
+ params.add("productType", multirequestToken);
+ }
+
+ public void history(String multirequestToken) {
+ params.add("history", multirequestToken);
+ }
+
+ public void contentId(String multirequestToken) {
+ params.add("contentId", multirequestToken);
+ }
+ }
+
+ public static GrantEntitlementBuilder grant(int productId, TransactionType productType, boolean history) {
+ return grant(productId, productType, history, 0);
+ }
+
+ /**
+ * Grant household for an entitlement for a PPV, Subscription or
+ programAssetGroupOffer.
+ *
+ * @param productId Identifier for the product package from which this content is offered
+ * @param productType Product package type. Possible values: PPV, Subscription, Collection
+ * @param history Controls if the new entitlements grant will appear in the user’s history. True
+ * – will add a history entry. False (or if ommited) – no history entry will be
+ * added
+ * @param contentId Identifier for the content. Relevant only if Product type = PPV
+ */
+ public static GrantEntitlementBuilder grant(int productId, TransactionType productType, boolean history, int contentId) {
+ return new GrantEntitlementBuilder(productId, productType, history, contentId);
+ }
+
+ public static class ListEntitlementBuilder extends ListResponseRequestBuilder {
+
+ public ListEntitlementBuilder(EntitlementFilter filter, FilterPager pager) {
+ super(Entitlement.class, "entitlement", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListEntitlementBuilder list(EntitlementFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * Gets all the entitled media items for a household
+ *
+ * @param filter Request filter
+ * @param pager Request pager
+ */
+ public static ListEntitlementBuilder list(EntitlementFilter filter, FilterPager pager) {
+ return new ListEntitlementBuilder(filter, pager);
+ }
+
+ public static class SwapEntitlementBuilder extends RequestBuilder {
+
+ public SwapEntitlementBuilder(int currentProductId, int newProductId, boolean history) {
+ super(Boolean.class, "entitlement", "swap");
+ params.add("currentProductId", currentProductId);
+ params.add("newProductId", newProductId);
+ params.add("history", history);
+ }
+
+ public void currentProductId(String multirequestToken) {
+ params.add("currentProductId", multirequestToken);
+ }
+
+ public void newProductId(String multirequestToken) {
+ params.add("newProductId", multirequestToken);
+ }
+
+ public void history(String multirequestToken) {
+ params.add("history", multirequestToken);
+ }
+ }
+
+ /**
+ * Swap current entitlement (subscription) with new entitlement (subscription) -
+ only Grant
+ *
+ * @param currentProductId Identifier for the current product package
+ * @param newProductId Identifier for the new product package
+ * @param history Controls if the new entitlements swap will appear in the user’s history. True
+ * – will add a history entry. False (or if ommited) – no history entry will be
+ * added
+ */
+ public static SwapEntitlementBuilder swap(int currentProductId, int newProductId, boolean history) {
+ return new SwapEntitlementBuilder(currentProductId, newProductId, history);
+ }
+
+ public static class UpdateEntitlementBuilder extends RequestBuilder {
+
+ public UpdateEntitlementBuilder(int id, Entitlement entitlement) {
+ super(Entitlement.class, "entitlement", "update");
+ params.add("id", id);
+ params.add("entitlement", entitlement);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Update Kaltura Entitelment by Purchase id
+ *
+ * @param id Purchase Id
+ * @param entitlement KalturaEntitlement object
+ */
+ public static UpdateEntitlementBuilder update(int id, Entitlement entitlement) {
+ return new UpdateEntitlementBuilder(id, entitlement);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EpgService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EpgService.java
new file mode 100644
index 000000000..499557e75
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EpgService.java
@@ -0,0 +1,64 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Epg;
+import com.kaltura.client.types.EpgFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EpgService {
+
+ public static class ListEpgBuilder extends ListResponseRequestBuilder {
+
+ public ListEpgBuilder(EpgFilter filter) {
+ super(Epg.class, "epg", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListEpgBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Returns EPG assets.
+ *
+ * @param filter Filters by EPG live asset identifier and date in unix timestamp, e.g.
+ * 1610928000(January 18, 2021 0:00:00), 1611014400(January 19, 2021 0:00:00)
+ */
+ public static ListEpgBuilder list(EpgFilter filter) {
+ return new ListEpgBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EpgServicePartnerConfigurationService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EpgServicePartnerConfigurationService.java
new file mode 100644
index 000000000..d3e804218
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EpgServicePartnerConfigurationService.java
@@ -0,0 +1,73 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.EpgServicePartnerConfiguration;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EpgServicePartnerConfigurationService {
+
+ public static class GetEpgServicePartnerConfigurationBuilder extends RequestBuilder {
+
+ public GetEpgServicePartnerConfigurationBuilder() {
+ super(EpgServicePartnerConfiguration.class, "epgservicepartnerconfiguration", "get");
+ }
+ }
+
+ /**
+ * Returns EPG cache service partner configurations
+ */
+ public static GetEpgServicePartnerConfigurationBuilder get() {
+ return new GetEpgServicePartnerConfigurationBuilder();
+ }
+
+ public static class UpdateEpgServicePartnerConfigurationBuilder extends NullRequestBuilder {
+
+ public UpdateEpgServicePartnerConfigurationBuilder(EpgServicePartnerConfiguration config) {
+ super("epgservicepartnerconfiguration", "update");
+ params.add("config", config);
+ }
+ }
+
+ /**
+ * Returns EPG cache service partner configurations
+ *
+ * @param config the partner config updates
+ */
+ public static UpdateEpgServicePartnerConfigurationBuilder update(EpgServicePartnerConfiguration config) {
+ return new UpdateEpgServicePartnerConfigurationBuilder(config);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationActionService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationActionService.java
new file mode 100644
index 000000000..896038f69
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationActionService.java
@@ -0,0 +1,58 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.EventNotificationScope;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EventNotificationActionService {
+
+ public static class DispatchEventNotificationActionBuilder extends RequestBuilder {
+
+ public DispatchEventNotificationActionBuilder(EventNotificationScope scope) {
+ super(Boolean.class, "eventnotificationaction", "dispatch");
+ params.add("scope", scope);
+ }
+ }
+
+ /**
+ * Dispatches event notification
+ *
+ * @param scope Scope
+ */
+ public static DispatchEventNotificationActionBuilder dispatch(EventNotificationScope scope) {
+ return new DispatchEventNotificationActionBuilder(scope);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationService.java b/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationService.java
new file mode 100644
index 000000000..4c24be4cd
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/EventNotificationService.java
@@ -0,0 +1,83 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.EventNotification;
+import com.kaltura.client.types.EventNotificationFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class EventNotificationService {
+
+ public static class ListEventNotificationBuilder extends ListResponseRequestBuilder {
+
+ public ListEventNotificationBuilder(EventNotificationFilter filter) {
+ super(EventNotification.class, "eventnotification", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ /**
+ * Gets all EventNotification items for a given Object id and type
+ *
+ * @param filter Filter
+ */
+ public static ListEventNotificationBuilder list(EventNotificationFilter filter) {
+ return new ListEventNotificationBuilder(filter);
+ }
+
+ public static class UpdateEventNotificationBuilder extends RequestBuilder {
+
+ public UpdateEventNotificationBuilder(String id, EventNotification objectToUpdate) {
+ super(EventNotification.class, "eventnotification", "update");
+ params.add("id", id);
+ params.add("objectToUpdate", objectToUpdate);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * eventNotification update
+ *
+ * @param id id of eventNotification
+ * @param objectToUpdate eventNotification details
+ */
+ public static UpdateEventNotificationBuilder update(String id, EventNotification objectToUpdate) {
+ return new UpdateEventNotificationBuilder(id, objectToUpdate);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ExportTaskService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ExportTaskService.java
new file mode 100644
index 000000000..df2e55aef
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ExportTaskService.java
@@ -0,0 +1,146 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.ExportTask;
+import com.kaltura.client.types.ExportTaskFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ExportTaskService {
+
+ public static class AddExportTaskBuilder extends RequestBuilder {
+
+ public AddExportTaskBuilder(ExportTask task) {
+ super(ExportTask.class, "exporttask", "add");
+ params.add("task", task);
+ }
+ }
+
+ /**
+ * Adds a new bulk export task
+ *
+ * @param task The task model to add
+ */
+ public static AddExportTaskBuilder add(ExportTask task) {
+ return new AddExportTaskBuilder(task);
+ }
+
+ public static class DeleteExportTaskBuilder extends RequestBuilder {
+
+ public DeleteExportTaskBuilder(long id) {
+ super(Boolean.class, "exporttask", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Deletes an existing bulk export task by task identifier
+ *
+ * @param id The identifier of the task to delete
+ */
+ public static DeleteExportTaskBuilder delete(long id) {
+ return new DeleteExportTaskBuilder(id);
+ }
+
+ public static class GetExportTaskBuilder extends RequestBuilder {
+
+ public GetExportTaskBuilder(long id) {
+ super(ExportTask.class, "exporttask", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Gets an existing bulk export task by task identifier
+ *
+ * @param id The identifier of the task to get
+ */
+ public static GetExportTaskBuilder get(long id) {
+ return new GetExportTaskBuilder(id);
+ }
+
+ public static class ListExportTaskBuilder extends ListResponseRequestBuilder {
+
+ public ListExportTaskBuilder(ExportTaskFilter filter) {
+ super(ExportTask.class, "exporttask", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListExportTaskBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Returns bulk export tasks by tasks identifiers
+ *
+ * @param filter Bulk export tasks filter
+ */
+ public static ListExportTaskBuilder list(ExportTaskFilter filter) {
+ return new ListExportTaskBuilder(filter);
+ }
+
+ public static class UpdateExportTaskBuilder extends RequestBuilder {
+
+ public UpdateExportTaskBuilder(long id, ExportTask task) {
+ super(ExportTask.class, "exporttask", "update");
+ params.add("id", id);
+ params.add("task", task);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Updates an existing bulk export task by task identifier
+ *
+ * @param id The task id to update
+ * @param task The task model to update
+ */
+ public static UpdateExportTaskBuilder update(long id, ExportTask task) {
+ return new UpdateExportTaskBuilder(id, task);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/ExternalChannelProfileService.java b/KalturaClient/src/main/java/com/kaltura/client/services/ExternalChannelProfileService.java
new file mode 100644
index 000000000..1af0d96a9
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/ExternalChannelProfileService.java
@@ -0,0 +1,125 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.ExternalChannelProfile;
+import com.kaltura.client.types.ExternalChannelProfileFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class ExternalChannelProfileService {
+
+ public static class AddExternalChannelProfileBuilder extends RequestBuilder {
+
+ public AddExternalChannelProfileBuilder(ExternalChannelProfile externalChannel) {
+ super(ExternalChannelProfile.class, "externalchannelprofile", "add");
+ params.add("externalChannel", externalChannel);
+ }
+ }
+
+ /**
+ * Insert new External channel for partner
+ *
+ * @param externalChannel External channel Object
+ */
+ public static AddExternalChannelProfileBuilder add(ExternalChannelProfile externalChannel) {
+ return new AddExternalChannelProfileBuilder(externalChannel);
+ }
+
+ public static class DeleteExternalChannelProfileBuilder extends RequestBuilder {
+
+ public DeleteExternalChannelProfileBuilder(int externalChannelId) {
+ super(Boolean.class, "externalchannelprofile", "delete");
+ params.add("externalChannelId", externalChannelId);
+ }
+
+ public void externalChannelId(String multirequestToken) {
+ params.add("externalChannelId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete External channel by External channel id
+ *
+ * @param externalChannelId External channel identifier
+ */
+ public static DeleteExternalChannelProfileBuilder delete(int externalChannelId) {
+ return new DeleteExternalChannelProfileBuilder(externalChannelId);
+ }
+
+ public static class ListExternalChannelProfileBuilder extends ListResponseRequestBuilder {
+
+ public ListExternalChannelProfileBuilder(ExternalChannelProfileFilter filter) {
+ super(ExternalChannelProfile.class, "externalchannelprofile", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListExternalChannelProfileBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Returns all External channels for partner
+ *
+ * @param filter External channel profile filter
+ */
+ public static ListExternalChannelProfileBuilder list(ExternalChannelProfileFilter filter) {
+ return new ListExternalChannelProfileBuilder(filter);
+ }
+
+ public static class UpdateExternalChannelProfileBuilder extends RequestBuilder {
+
+ public UpdateExternalChannelProfileBuilder(int externalChannelId, ExternalChannelProfile externalChannel) {
+ super(ExternalChannelProfile.class, "externalchannelprofile", "update");
+ params.add("externalChannelId", externalChannelId);
+ params.add("externalChannel", externalChannel);
+ }
+
+ public void externalChannelId(String multirequestToken) {
+ params.add("externalChannelId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update External channel details
+ *
+ * @param externalChannelId External channel identifier
+ * @param externalChannel External channel Object
+ */
+ public static UpdateExternalChannelProfileBuilder update(int externalChannelId, ExternalChannelProfile externalChannel) {
+ return new UpdateExternalChannelProfileBuilder(externalChannelId, externalChannel);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/FavoriteService.java b/KalturaClient/src/main/java/com/kaltura/client/services/FavoriteService.java
new file mode 100644
index 000000000..ac23541d1
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/FavoriteService.java
@@ -0,0 +1,102 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.Favorite;
+import com.kaltura.client.types.FavoriteFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class FavoriteService {
+
+ public static class AddFavoriteBuilder extends RequestBuilder {
+
+ public AddFavoriteBuilder(Favorite favorite) {
+ super(Favorite.class, "favorite", "add");
+ params.add("favorite", favorite);
+ }
+ }
+
+ /**
+ * Add media to user's favorite list
+ *
+ * @param favorite Favorite details.
+ */
+ public static AddFavoriteBuilder add(Favorite favorite) {
+ return new AddFavoriteBuilder(favorite);
+ }
+
+ public static class DeleteFavoriteBuilder extends RequestBuilder {
+
+ public DeleteFavoriteBuilder(long id) {
+ super(Boolean.class, "favorite", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove media from user's favorite list
+ *
+ * @param id Media identifier
+ */
+ public static DeleteFavoriteBuilder delete(long id) {
+ return new DeleteFavoriteBuilder(id);
+ }
+
+ public static class ListFavoriteBuilder extends ListResponseRequestBuilder {
+
+ public ListFavoriteBuilder(FavoriteFilter filter) {
+ super(Favorite.class, "favorite", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListFavoriteBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Retrieving users' favorites
+ *
+ * @param filter Request filter
+ */
+ public static ListFavoriteBuilder list(FavoriteFilter filter) {
+ return new ListFavoriteBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/FollowTvSeriesService.java b/KalturaClient/src/main/java/com/kaltura/client/services/FollowTvSeriesService.java
new file mode 100644
index 000000000..fcf06b9da
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/FollowTvSeriesService.java
@@ -0,0 +1,140 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.FilterPager;
+import com.kaltura.client.types.FollowTvSeries;
+import com.kaltura.client.types.FollowTvSeriesFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class FollowTvSeriesService {
+
+ public static class AddFollowTvSeriesBuilder extends RequestBuilder {
+
+ public AddFollowTvSeriesBuilder(FollowTvSeries followTvSeries) {
+ super(FollowTvSeries.class, "followtvseries", "add");
+ params.add("followTvSeries", followTvSeries);
+ }
+ }
+
+ /**
+ * Add a user's tv series follow. Possible status codes:
+ UserAlreadyFollowing = 8013, NotFound = 500007, InvalidAssetId = 4024
+ *
+ * @param followTvSeries Follow series request parameters
+ */
+ public static AddFollowTvSeriesBuilder add(FollowTvSeries followTvSeries) {
+ return new AddFollowTvSeriesBuilder(followTvSeries);
+ }
+
+ public static class DeleteFollowTvSeriesBuilder extends RequestBuilder {
+
+ public DeleteFollowTvSeriesBuilder(int assetId) {
+ super(Boolean.class, "followtvseries", "delete");
+ params.add("assetId", assetId);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete a user's tv series follow.
+ *
+ * @param assetId Asset identifier
+ */
+ public static DeleteFollowTvSeriesBuilder delete(int assetId) {
+ return new DeleteFollowTvSeriesBuilder(assetId);
+ }
+
+ public static class DeleteWithTokenFollowTvSeriesBuilder extends NullRequestBuilder {
+
+ public DeleteWithTokenFollowTvSeriesBuilder(int assetId, String token, int partnerId) {
+ super("followtvseries", "deleteWithToken");
+ params.add("assetId", assetId);
+ params.add("token", token);
+ params.add("partnerId", partnerId);
+ }
+
+ public void assetId(String multirequestToken) {
+ params.add("assetId", multirequestToken);
+ }
+
+ public void token(String multirequestToken) {
+ params.add("token", multirequestToken);
+ }
+
+ public void partnerId(String multirequestToken) {
+ params.add("partnerId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete a user's tv series follow.
+ *
+ * @param assetId Asset identifier
+ * @param token User's token identifier
+ * @param partnerId Partner identifier
+ */
+ public static DeleteWithTokenFollowTvSeriesBuilder deleteWithToken(int assetId, String token, int partnerId) {
+ return new DeleteWithTokenFollowTvSeriesBuilder(assetId, token, partnerId);
+ }
+
+ public static class ListFollowTvSeriesBuilder extends ListResponseRequestBuilder {
+
+ public ListFollowTvSeriesBuilder(FollowTvSeriesFilter filter, FilterPager pager) {
+ super(FollowTvSeries.class, "followtvseries", "list");
+ params.add("filter", filter);
+ params.add("pager", pager);
+ }
+ }
+
+ public static ListFollowTvSeriesBuilder list(FollowTvSeriesFilter filter) {
+ return list(filter, null);
+ }
+
+ /**
+ * List user's tv series follows. Possible status codes:
+ *
+ * @param filter Follow TV series filter
+ * @param pager pager
+ */
+ public static ListFollowTvSeriesBuilder list(FollowTvSeriesFilter filter, FilterPager pager) {
+ return new ListFollowTvSeriesBuilder(filter, pager);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HomeNetworkService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HomeNetworkService.java
new file mode 100644
index 000000000..07fa239da
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HomeNetworkService.java
@@ -0,0 +1,117 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.HomeNetwork;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HomeNetworkService {
+
+ public static class AddHomeNetworkBuilder extends RequestBuilder {
+
+ public AddHomeNetworkBuilder(HomeNetwork homeNetwork) {
+ super(HomeNetwork.class, "homenetwork", "add");
+ params.add("homeNetwork", homeNetwork);
+ }
+ }
+
+ /**
+ * Add a new home network to a household
+ *
+ * @param homeNetwork Home network to add
+ */
+ public static AddHomeNetworkBuilder add(HomeNetwork homeNetwork) {
+ return new AddHomeNetworkBuilder(homeNetwork);
+ }
+
+ public static class DeleteHomeNetworkBuilder extends RequestBuilder {
+
+ public DeleteHomeNetworkBuilder(String externalId) {
+ super(Boolean.class, "homenetwork", "delete");
+ params.add("externalId", externalId);
+ }
+
+ public void externalId(String multirequestToken) {
+ params.add("externalId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete household’s existing home network
+ *
+ * @param externalId The network to update
+ */
+ public static DeleteHomeNetworkBuilder delete(String externalId) {
+ return new DeleteHomeNetworkBuilder(externalId);
+ }
+
+ public static class ListHomeNetworkBuilder extends ListResponseRequestBuilder {
+
+ public ListHomeNetworkBuilder() {
+ super(HomeNetwork.class, "homenetwork", "list");
+ }
+ }
+
+ /**
+ * Retrieve the household’s home networks
+ */
+ public static ListHomeNetworkBuilder list() {
+ return new ListHomeNetworkBuilder();
+ }
+
+ public static class UpdateHomeNetworkBuilder extends RequestBuilder {
+
+ public UpdateHomeNetworkBuilder(String externalId, HomeNetwork homeNetwork) {
+ super(HomeNetwork.class, "homenetwork", "update");
+ params.add("externalId", externalId);
+ params.add("homeNetwork", homeNetwork);
+ }
+
+ public void externalId(String multirequestToken) {
+ params.add("externalId", multirequestToken);
+ }
+ }
+
+ /**
+ * Update and existing home network for a household
+ *
+ * @param externalId Home network identifier
+ * @param homeNetwork Home network to update
+ */
+ public static UpdateHomeNetworkBuilder update(String externalId, HomeNetwork homeNetwork) {
+ return new UpdateHomeNetworkBuilder(externalId, homeNetwork);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdCouponService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdCouponService.java
new file mode 100644
index 000000000..f2426cdd0
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdCouponService.java
@@ -0,0 +1,103 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.HouseholdCoupon;
+import com.kaltura.client.types.HouseholdCouponFilter;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HouseholdCouponService {
+
+ public static class AddHouseholdCouponBuilder extends RequestBuilder {
+
+ public AddHouseholdCouponBuilder(HouseholdCoupon objectToAdd) {
+ super(HouseholdCoupon.class, "householdcoupon", "add");
+ params.add("objectToAdd", objectToAdd);
+ }
+ }
+
+ /**
+ * householdCoupon add
+ *
+ * @param objectToAdd householdCoupon details
+ */
+ public static AddHouseholdCouponBuilder add(HouseholdCoupon objectToAdd) {
+ return new AddHouseholdCouponBuilder(objectToAdd);
+ }
+
+ public static class DeleteHouseholdCouponBuilder extends NullRequestBuilder {
+
+ public DeleteHouseholdCouponBuilder(String id) {
+ super("householdcoupon", "delete");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Remove coupon from household
+ *
+ * @param id Coupon code
+ */
+ public static DeleteHouseholdCouponBuilder delete(String id) {
+ return new DeleteHouseholdCouponBuilder(id);
+ }
+
+ public static class ListHouseholdCouponBuilder extends ListResponseRequestBuilder {
+
+ public ListHouseholdCouponBuilder(HouseholdCouponFilter filter) {
+ super(HouseholdCoupon.class, "householdcoupon", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListHouseholdCouponBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Gets all HouseholdCoupon items for a household
+ *
+ * @param filter Filter
+ */
+ public static ListHouseholdCouponBuilder list(HouseholdCouponFilter filter) {
+ return new ListHouseholdCouponBuilder(filter);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdDeviceService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdDeviceService.java
new file mode 100644
index 000000000..8f8daccaa
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdDeviceService.java
@@ -0,0 +1,337 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.enums.DeviceStatus;
+import com.kaltura.client.types.DevicePin;
+import com.kaltura.client.types.DynamicData;
+import com.kaltura.client.types.HouseholdDevice;
+import com.kaltura.client.types.HouseholdDeviceFilter;
+import com.kaltura.client.types.LoginResponse;
+import com.kaltura.client.types.StringValue;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+import java.util.Map;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HouseholdDeviceService {
+
+ public static class AddHouseholdDeviceBuilder extends RequestBuilder {
+
+ public AddHouseholdDeviceBuilder(HouseholdDevice device) {
+ super(HouseholdDevice.class, "householddevice", "add");
+ params.add("device", device);
+ }
+ }
+
+ /**
+ * Add device to household
+ *
+ * @param device Device
+ */
+ public static AddHouseholdDeviceBuilder add(HouseholdDevice device) {
+ return new AddHouseholdDeviceBuilder(device);
+ }
+
+ public static class AddByPinHouseholdDeviceBuilder extends RequestBuilder {
+
+ public AddByPinHouseholdDeviceBuilder(String deviceName, String pin) {
+ super(HouseholdDevice.class, "householddevice", "addByPin");
+ params.add("deviceName", deviceName);
+ params.add("pin", pin);
+ }
+
+ public void deviceName(String multirequestToken) {
+ params.add("deviceName", multirequestToken);
+ }
+
+ public void pin(String multirequestToken) {
+ params.add("pin", multirequestToken);
+ }
+ }
+
+ /**
+ * Registers a device to a household using pin code
+ *
+ * @param deviceName Device name
+ * @param pin Pin code
+ */
+ public static AddByPinHouseholdDeviceBuilder addByPin(String deviceName, String pin) {
+ return new AddByPinHouseholdDeviceBuilder(deviceName, pin);
+ }
+
+ public static class DeleteHouseholdDeviceBuilder extends RequestBuilder {
+
+ public DeleteHouseholdDeviceBuilder(String udid) {
+ super(Boolean.class, "householddevice", "delete");
+ params.add("udid", udid);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ /**
+ * Removes a device from household
+ *
+ * @param udid device UDID
+ */
+ public static DeleteHouseholdDeviceBuilder delete(String udid) {
+ return new DeleteHouseholdDeviceBuilder(udid);
+ }
+
+ public static class DeleteDynamicDataHouseholdDeviceBuilder extends RequestBuilder {
+
+ public DeleteDynamicDataHouseholdDeviceBuilder(String udid, String key) {
+ super(Boolean.class, "householddevice", "deleteDynamicData");
+ params.add("udid", udid);
+ params.add("key", key);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+
+ public void key(String multirequestToken) {
+ params.add("key", multirequestToken);
+ }
+ }
+
+ /**
+ * Deletes dynamic data item with key for device with identifier .
+ *
+ * @param udid Unique identifier of device.
+ * @param key Key of dynamic data item.
+ */
+ public static DeleteDynamicDataHouseholdDeviceBuilder deleteDynamicData(String udid, String key) {
+ return new DeleteDynamicDataHouseholdDeviceBuilder(udid, key);
+ }
+
+ public static class GeneratePinHouseholdDeviceBuilder extends RequestBuilder {
+
+ public GeneratePinHouseholdDeviceBuilder(String udid, int brandId) {
+ super(DevicePin.class, "householddevice", "generatePin");
+ params.add("udid", udid);
+ params.add("brandId", brandId);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+
+ public void brandId(String multirequestToken) {
+ params.add("brandId", multirequestToken);
+ }
+ }
+
+ /**
+ * Generates device pin to use when adding a device to household by pin
+ *
+ * @param udid Device UDID
+ * @param brandId Device brand identifier
+ */
+ public static GeneratePinHouseholdDeviceBuilder generatePin(String udid, int brandId) {
+ return new GeneratePinHouseholdDeviceBuilder(udid, brandId);
+ }
+
+ public static class GetHouseholdDeviceBuilder extends RequestBuilder {
+
+ public GetHouseholdDeviceBuilder(String udid) {
+ super(HouseholdDevice.class, "householddevice", "get");
+ params.add("udid", udid);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ public static GetHouseholdDeviceBuilder get() {
+ return get(null);
+ }
+
+ /**
+ * Returns device registration status to the supplied household
+ *
+ * @param udid device id
+ */
+ public static GetHouseholdDeviceBuilder get(String udid) {
+ return new GetHouseholdDeviceBuilder(udid);
+ }
+
+ public static class ListHouseholdDeviceBuilder extends ListResponseRequestBuilder {
+
+ public ListHouseholdDeviceBuilder(HouseholdDeviceFilter filter) {
+ super(HouseholdDevice.class, "householddevice", "list");
+ params.add("filter", filter);
+ }
+ }
+
+ public static ListHouseholdDeviceBuilder list() {
+ return list(null);
+ }
+
+ /**
+ * Returns the devices within the household
+ *
+ * @param filter Household devices filter
+ */
+ public static ListHouseholdDeviceBuilder list(HouseholdDeviceFilter filter) {
+ return new ListHouseholdDeviceBuilder(filter);
+ }
+
+ public static class LoginWithPinHouseholdDeviceBuilder extends RequestBuilder {
+
+ public LoginWithPinHouseholdDeviceBuilder(int partnerId, String pin, String udid, Map extraParams) {
+ super(LoginResponse.class, "householddevice", "loginWithPin");
+ params.add("partnerId", partnerId);
+ params.add("pin", pin);
+ params.add("udid", udid);
+ params.add("extraParams", extraParams);
+ }
+
+ public void partnerId(String multirequestToken) {
+ params.add("partnerId", multirequestToken);
+ }
+
+ public void pin(String multirequestToken) {
+ params.add("pin", multirequestToken);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ public static LoginWithPinHouseholdDeviceBuilder loginWithPin(int partnerId, String pin) {
+ return loginWithPin(partnerId, pin, null);
+ }
+
+ public static LoginWithPinHouseholdDeviceBuilder loginWithPin(int partnerId, String pin, String udid) {
+ return loginWithPin(partnerId, pin, udid, null);
+ }
+
+ /**
+ * User sign-in via a time-expired sign-in PIN.
+ *
+ * @param partnerId Partner Identifier
+ * @param pin pin code
+ * @param udid Device UDID
+ * @param extraParams extra params
+ */
+ public static LoginWithPinHouseholdDeviceBuilder loginWithPin(int partnerId, String pin, String udid, Map extraParams) {
+ return new LoginWithPinHouseholdDeviceBuilder(partnerId, pin, udid, extraParams);
+ }
+
+ public static class UpdateHouseholdDeviceBuilder extends RequestBuilder {
+
+ public UpdateHouseholdDeviceBuilder(String udid, HouseholdDevice device) {
+ super(HouseholdDevice.class, "householddevice", "update");
+ params.add("udid", udid);
+ params.add("device", device);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+ }
+
+ /**
+ * Update the name of the device by UDID
+ *
+ * @param udid Device UDID
+ * @param device Device object
+ */
+ public static UpdateHouseholdDeviceBuilder update(String udid, HouseholdDevice device) {
+ return new UpdateHouseholdDeviceBuilder(udid, device);
+ }
+
+ public static class UpdateStatusHouseholdDeviceBuilder extends RequestBuilder {
+
+ public UpdateStatusHouseholdDeviceBuilder(String udid, DeviceStatus status) {
+ super(Boolean.class, "householddevice", "updateStatus");
+ params.add("udid", udid);
+ params.add("status", status);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+
+ public void status(String multirequestToken) {
+ params.add("status", multirequestToken);
+ }
+ }
+
+ /**
+ * Update the name of the device by UDID
+ *
+ * @param udid Device UDID
+ * @param status Device status
+ */
+ public static UpdateStatusHouseholdDeviceBuilder updateStatus(String udid, DeviceStatus status) {
+ return new UpdateStatusHouseholdDeviceBuilder(udid, status);
+ }
+
+ public static class UpsertDynamicDataHouseholdDeviceBuilder extends RequestBuilder {
+
+ public UpsertDynamicDataHouseholdDeviceBuilder(String udid, String key, StringValue value) {
+ super(DynamicData.class, "householddevice", "upsertDynamicData");
+ params.add("udid", udid);
+ params.add("key", key);
+ params.add("value", value);
+ }
+
+ public void udid(String multirequestToken) {
+ params.add("udid", multirequestToken);
+ }
+
+ public void key(String multirequestToken) {
+ params.add("key", multirequestToken);
+ }
+ }
+
+ /**
+ * Adds or updates dynamic data item for device with identifier udid. If it is
+ needed to update several items, use a multi-request to avoid race conditions.
+ *
+ * @param udid Unique identifier of device.
+ * @param key Key of dynamic data item. Max length of key is 125 characters.
+ * @param value Value of dynamic data item. Max length of value is 255 characters.
+ */
+ public static UpsertDynamicDataHouseholdDeviceBuilder upsertDynamicData(String udid, String key, StringValue value) {
+ return new UpsertDynamicDataHouseholdDeviceBuilder(udid, key, value);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdLimitationsService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdLimitationsService.java
new file mode 100644
index 000000000..e054ee8aa
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdLimitationsService.java
@@ -0,0 +1,159 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.HouseholdLimitations;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HouseholdLimitationsService {
+
+ public static class AddHouseholdLimitationsBuilder extends RequestBuilder {
+
+ public AddHouseholdLimitationsBuilder(HouseholdLimitations householdLimitations) {
+ super(HouseholdLimitations.class, "householdlimitations", "add");
+ params.add("householdLimitations", householdLimitations);
+ }
+ }
+
+ /**
+ * Add household limitation
+ *
+ * @param householdLimitations Household limitations
+ */
+ public static AddHouseholdLimitationsBuilder add(HouseholdLimitations householdLimitations) {
+ return new AddHouseholdLimitationsBuilder(householdLimitations);
+ }
+
+ public static class DeleteHouseholdLimitationsBuilder extends RequestBuilder {
+
+ public DeleteHouseholdLimitationsBuilder(int householdLimitationsId) {
+ super(Boolean.class, "householdlimitations", "delete");
+ params.add("householdLimitationsId", householdLimitationsId);
+ }
+
+ public void householdLimitationsId(String multirequestToken) {
+ params.add("householdLimitationsId", multirequestToken);
+ }
+ }
+
+ /**
+ * Delete household limitation
+ *
+ * @param householdLimitationsId Id of household limitation
+ */
+ public static DeleteHouseholdLimitationsBuilder delete(int householdLimitationsId) {
+ return new DeleteHouseholdLimitationsBuilder(householdLimitationsId);
+ }
+
+ public static class GetHouseholdLimitationsBuilder extends RequestBuilder {
+
+ public GetHouseholdLimitationsBuilder(int id) {
+ super(HouseholdLimitations.class, "householdlimitations", "get");
+ params.add("id", id);
+ }
+
+ public void id(String multirequestToken) {
+ params.add("id", multirequestToken);
+ }
+ }
+
+ /**
+ * Get the limitation module by id
+ *
+ * @param id Household limitations module identifier
+ */
+ public static GetHouseholdLimitationsBuilder get(int id) {
+ return new GetHouseholdLimitationsBuilder(id);
+ }
+
+ public static class IsUsedHouseholdLimitationsBuilder extends RequestBuilder {
+
+ public IsUsedHouseholdLimitationsBuilder(int dlmId) {
+ super(Boolean.class, "householdlimitations", "isUsed");
+ params.add("dlmId", dlmId);
+ }
+
+ public void dlmId(String multirequestToken) {
+ params.add("dlmId", multirequestToken);
+ }
+ }
+
+ /**
+ * Checks if the DLM is used
+ *
+ * @param dlmId Household limitations module identifier
+ */
+ public static IsUsedHouseholdLimitationsBuilder isUsed(int dlmId) {
+ return new IsUsedHouseholdLimitationsBuilder(dlmId);
+ }
+
+ public static class ListHouseholdLimitationsBuilder extends ListResponseRequestBuilder {
+
+ public ListHouseholdLimitationsBuilder() {
+ super(HouseholdLimitations.class, "householdlimitations", "list");
+ }
+ }
+
+ /**
+ * Get the list of PartnerConfiguration
+ */
+ public static ListHouseholdLimitationsBuilder list() {
+ return new ListHouseholdLimitationsBuilder();
+ }
+
+ public static class UpdateHouseholdLimitationsBuilder extends RequestBuilder {
+
+ public UpdateHouseholdLimitationsBuilder(int dlmId, HouseholdLimitations householdLimitation) {
+ super(HouseholdLimitations.class, "householdlimitations", "update");
+ params.add("dlmId", dlmId);
+ params.add("householdLimitation", householdLimitation);
+ }
+
+ public void dlmId(String multirequestToken) {
+ params.add("dlmId", multirequestToken);
+ }
+ }
+
+ /**
+ * Updates household limitation
+ *
+ * @param dlmId Id of household limitation
+ * @param householdLimitation household limitation
+ */
+ public static UpdateHouseholdLimitationsBuilder update(int dlmId, HouseholdLimitations householdLimitation) {
+ return new UpdateHouseholdLimitationsBuilder(dlmId, householdLimitation);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentGatewayService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentGatewayService.java
new file mode 100644
index 000000000..33d2a8492
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentGatewayService.java
@@ -0,0 +1,242 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.HouseholdPaymentGateway;
+import com.kaltura.client.types.KeyValue;
+import com.kaltura.client.types.PaymentGatewayConfiguration;
+import com.kaltura.client.types.SuspendSettings;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.NullRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+import java.util.List;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HouseholdPaymentGatewayService {
+
+ public static class DisableHouseholdPaymentGatewayBuilder extends RequestBuilder {
+
+ public DisableHouseholdPaymentGatewayBuilder(int paymentGatewayId) {
+ super(Boolean.class, "householdpaymentgateway", "disable");
+ params.add("paymentGatewayId", paymentGatewayId);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+ }
+
+ /**
+ * Disable payment-gateway on the household
+ *
+ * @param paymentGatewayId Payment Gateway Identifier
+ */
+ public static DisableHouseholdPaymentGatewayBuilder disable(int paymentGatewayId) {
+ return new DisableHouseholdPaymentGatewayBuilder(paymentGatewayId);
+ }
+
+ public static class EnableHouseholdPaymentGatewayBuilder extends RequestBuilder {
+
+ public EnableHouseholdPaymentGatewayBuilder(int paymentGatewayId) {
+ super(Boolean.class, "householdpaymentgateway", "enable");
+ params.add("paymentGatewayId", paymentGatewayId);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+ }
+
+ /**
+ * Enable a payment-gateway provider for the household.
+ *
+ * @param paymentGatewayId Payment Gateway Identifier
+ */
+ public static EnableHouseholdPaymentGatewayBuilder enable(int paymentGatewayId) {
+ return new EnableHouseholdPaymentGatewayBuilder(paymentGatewayId);
+ }
+
+ public static class GetChargeIDHouseholdPaymentGatewayBuilder extends RequestBuilder {
+
+ public GetChargeIDHouseholdPaymentGatewayBuilder(String paymentGatewayExternalId) {
+ super(String.class, "householdpaymentgateway", "getChargeID");
+ params.add("paymentGatewayExternalId", paymentGatewayExternalId);
+ }
+
+ public void paymentGatewayExternalId(String multirequestToken) {
+ params.add("paymentGatewayExternalId", multirequestToken);
+ }
+ }
+
+ /**
+ * Get a household’s billing account identifier (charge ID) for a given payment
+ gateway
+ *
+ * @param paymentGatewayExternalId External identifier for the payment gateway
+ */
+ public static GetChargeIDHouseholdPaymentGatewayBuilder getChargeID(String paymentGatewayExternalId) {
+ return new GetChargeIDHouseholdPaymentGatewayBuilder(paymentGatewayExternalId);
+ }
+
+ public static class InvokeHouseholdPaymentGatewayBuilder extends RequestBuilder {
+
+ public InvokeHouseholdPaymentGatewayBuilder(int paymentGatewayId, String intent, List extraParameters) {
+ super(PaymentGatewayConfiguration.class, "householdpaymentgateway", "invoke");
+ params.add("paymentGatewayId", paymentGatewayId);
+ params.add("intent", intent);
+ params.add("extraParameters", extraParameters);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+
+ public void intent(String multirequestToken) {
+ params.add("intent", multirequestToken);
+ }
+ }
+
+ /**
+ * Gets the Payment Gateway Configuration for the payment gateway identifier given
+ *
+ * @param paymentGatewayId The payemnt gateway for which to return the registration URL/s for the
+ * household. If omitted – return the regisration URL for the household for the
+ * default payment gateway
+ * @param intent Represent the client’s intent for working with the payment gateway. Intent
+ * options to be coordinated with the applicable payment gateway adapter.
+ * @param extraParameters Additional parameters to send to the payment gateway adapter.
+ */
+ public static InvokeHouseholdPaymentGatewayBuilder invoke(int paymentGatewayId, String intent, List extraParameters) {
+ return new InvokeHouseholdPaymentGatewayBuilder(paymentGatewayId, intent, extraParameters);
+ }
+
+ public static class ListHouseholdPaymentGatewayBuilder extends ListResponseRequestBuilder {
+
+ public ListHouseholdPaymentGatewayBuilder() {
+ super(HouseholdPaymentGateway.class, "householdpaymentgateway", "list");
+ }
+ }
+
+ /**
+ * Get a list of all configured Payment Gateways providers available for the
+ account. For each payment is provided with the household associated payment
+ methods.
+ */
+ public static ListHouseholdPaymentGatewayBuilder list() {
+ return new ListHouseholdPaymentGatewayBuilder();
+ }
+
+ public static class ResumeHouseholdPaymentGatewayBuilder extends NullRequestBuilder {
+
+ public ResumeHouseholdPaymentGatewayBuilder(int paymentGatewayId, List adapterData) {
+ super("householdpaymentgateway", "resume");
+ params.add("paymentGatewayId", paymentGatewayId);
+ params.add("adapterData", adapterData);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+ }
+
+ public static ResumeHouseholdPaymentGatewayBuilder resume(int paymentGatewayId) {
+ return resume(paymentGatewayId, null);
+ }
+
+ /**
+ * Resumes all the entitlements of the given payment gateway
+ *
+ * @param paymentGatewayId Payment gateway ID
+ * @param adapterData Adapter data
+ */
+ public static ResumeHouseholdPaymentGatewayBuilder resume(int paymentGatewayId, List adapterData) {
+ return new ResumeHouseholdPaymentGatewayBuilder(paymentGatewayId, adapterData);
+ }
+
+ public static class SetChargeIDHouseholdPaymentGatewayBuilder extends RequestBuilder {
+
+ public SetChargeIDHouseholdPaymentGatewayBuilder(String paymentGatewayExternalId, String chargeId) {
+ super(Boolean.class, "householdpaymentgateway", "setChargeID");
+ params.add("paymentGatewayExternalId", paymentGatewayExternalId);
+ params.add("chargeId", chargeId);
+ }
+
+ public void paymentGatewayExternalId(String multirequestToken) {
+ params.add("paymentGatewayExternalId", multirequestToken);
+ }
+
+ public void chargeId(String multirequestToken) {
+ params.add("chargeId", multirequestToken);
+ }
+ }
+
+ /**
+ * Set user billing account identifier (charge ID), for a specific household and a
+ specific payment gateway
+ *
+ * @param paymentGatewayExternalId External identifier for the payment gateway
+ * @param chargeId The billing user account identifier for this household at the given payment
+ * gateway
+ */
+ public static SetChargeIDHouseholdPaymentGatewayBuilder setChargeID(String paymentGatewayExternalId, String chargeId) {
+ return new SetChargeIDHouseholdPaymentGatewayBuilder(paymentGatewayExternalId, chargeId);
+ }
+
+ public static class SuspendHouseholdPaymentGatewayBuilder extends NullRequestBuilder {
+
+ public SuspendHouseholdPaymentGatewayBuilder(int paymentGatewayId, SuspendSettings suspendSettings) {
+ super("householdpaymentgateway", "suspend");
+ params.add("paymentGatewayId", paymentGatewayId);
+ params.add("suspendSettings", suspendSettings);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+ }
+
+ public static SuspendHouseholdPaymentGatewayBuilder suspend(int paymentGatewayId) {
+ return suspend(paymentGatewayId, null);
+ }
+
+ /**
+ * Suspends all the entitlements of the given payment gateway
+ *
+ * @param paymentGatewayId Payment gateway ID
+ * @param suspendSettings suspend settings
+ */
+ public static SuspendHouseholdPaymentGatewayBuilder suspend(int paymentGatewayId, SuspendSettings suspendSettings) {
+ return new SuspendHouseholdPaymentGatewayBuilder(paymentGatewayId, suspendSettings);
+ }
+}
diff --git a/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentMethodService.java b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentMethodService.java
new file mode 100644
index 000000000..11ec8f951
--- /dev/null
+++ b/KalturaClient/src/main/java/com/kaltura/client/services/HouseholdPaymentMethodService.java
@@ -0,0 +1,154 @@
+// ===================================================================================================
+// _ __ _ _
+// | |/ /__ _| | |_ _ _ _ _ __ _
+// | ' _` | | _| || | '_/ _` |
+// |_|\_\__,_|_|\__|\_,_|_| \__,_|
+//
+// This file is part of the Kaltura Collaborative Media Suite which allows users
+// to do with audio, video, and animation what Wiki platfroms allow them to do with
+// text.
+//
+// Copyright (C) 2006-2020 Kaltura Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+//
+// @ignore
+// ===================================================================================================
+package com.kaltura.client.services;
+
+import com.kaltura.client.types.HouseholdPaymentMethod;
+import com.kaltura.client.utils.request.ListResponseRequestBuilder;
+import com.kaltura.client.utils.request.RequestBuilder;
+
+/**
+ * This class was generated using exec.php
+ * against an XML schema provided by Kaltura.
+ *
+ * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
+ */
+
+public class HouseholdPaymentMethodService {
+
+ public static class AddHouseholdPaymentMethodBuilder extends RequestBuilder {
+
+ public AddHouseholdPaymentMethodBuilder(HouseholdPaymentMethod householdPaymentMethod) {
+ super(HouseholdPaymentMethod.class, "householdpaymentmethod", "add");
+ params.add("householdPaymentMethod", householdPaymentMethod);
+ }
+ }
+
+ /**
+ * Add a new payment method for household
+ *
+ * @param householdPaymentMethod Household payment method
+ */
+ public static AddHouseholdPaymentMethodBuilder add(HouseholdPaymentMethod householdPaymentMethod) {
+ return new AddHouseholdPaymentMethodBuilder(householdPaymentMethod);
+ }
+
+ public static class ForceRemoveHouseholdPaymentMethodBuilder extends RequestBuilder {
+
+ public ForceRemoveHouseholdPaymentMethodBuilder(int paymentGatewayId, int paymentMethodId) {
+ super(Boolean.class, "householdpaymentmethod", "forceRemove");
+ params.add("paymentGatewayId", paymentGatewayId);
+ params.add("paymentMethodId", paymentMethodId);
+ }
+
+ public void paymentGatewayId(String multirequestToken) {
+ params.add("paymentGatewayId", multirequestToken);
+ }
+
+ public void paymentMethodId(String multirequestToken) {
+ params.add("paymentMethodId", multirequestToken);
+ }
+ }
+
+ /**
+ * Force remove of a payment method of the household.
+ *
+ * @param paymentGatewayId Payment Gateway Identifier
+ * @param paymentMethodId Payment method Identifier
+ */
+ public static ForceRemoveHouseholdPaymentMethodBuilder forceRemove(int paymentGatewayId, int paymentMethodId) {
+ return new ForceRemoveHouseholdPaymentMethodBuilder(paymentGatewayId, paymentMethodId);
+ }
+
+ public static class ListHouseholdPaymentMethodBuilder extends ListResponseRequestBuilder {
+
+ public ListHouseholdPaymentMethodBuilder() {
+ super(HouseholdPaymentMethod.class, "householdpaymentmethod", "list");
+ }
+ }
+
+ /**
+ * Get a list of all payment methods of the household.
+ */
+ public static ListHouseholdPaymentMethodBuilder list() {
+ return new ListHouseholdPaymentMethodBuilder();
+ }
+
+ public static class RemoveHouseholdPaymentMethodBuilder extends RequestBuilder