0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
videogals
/
[
Home
]
File: KalturaClient.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: KalturaClient.php 33195 2011-03-02 17:43:40Z changi67 $ require_once("KalturaClientBase.php"); class KalturaAccessControlOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaAudioCodec { const NONE = ""; const MP3 = "mp3"; const AAC = "aac"; const VORBIS = "vorbis"; const WMA = "wma"; const COPY = "copy"; } class KalturaBaseEntryOrderBy { const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaBaseJobOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const EXECUTION_ATTEMPTS_ASC = "+executionAttempts"; const EXECUTION_ATTEMPTS_DESC = "-executionAttempts"; } class KalturaBaseSyndicationFeedOrderBy { const PLAYLIST_ID_ASC = "+playlistId"; const PLAYLIST_ID_DESC = "-playlistId"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const TYPE_ASC = "+type"; const TYPE_DESC = "-type"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaBatchJobErrorTypes { const APP = 0; const RUNTIME = 1; const HTTP = 2; const CURL = 3; const KALTURA_API = 4; const KALTURA_CLIENT = 5; } class KalturaBatchJobOrderBy { const STATUS_ASC = "+status"; const STATUS_DESC = "-status"; const QUEUE_TIME_ASC = "+queueTime"; const QUEUE_TIME_DESC = "-queueTime"; const FINISH_TIME_ASC = "+finishTime"; const FINISH_TIME_DESC = "-finishTime"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const EXECUTION_ATTEMPTS_ASC = "+executionAttempts"; const EXECUTION_ATTEMPTS_DESC = "-executionAttempts"; } class KalturaBatchJobStatus { const PENDING = 0; const QUEUED = 1; const PROCESSING = 2; const PROCESSED = 3; const MOVEFILE = 4; const FINISHED = 5; const FAILED = 6; const ABORTED = 7; const ALMOST_DONE = 8; const RETRY = 9; const FATAL = 10; const DONT_PROCESS = 11; } class KalturaBatchJobType { const CONVERT = 0; const IMPORT = 1; const DELETE = 2; const FLATTEN = 3; const BULKUPLOAD = 4; const DVDCREATOR = 5; const DOWNLOAD = 6; const OOCONVERT = 7; const CONVERT_PROFILE = 10; const POSTCONVERT = 11; const PULL = 12; const REMOTE_CONVERT = 13; const EXTRACT_MEDIA = 14; const MAIL = 15; const NOTIFICATION = 16; const CLEANUP = 17; const SCHEDULER_HELPER = 18; const BULKDOWNLOAD = 19; const DB_CLEANUP = 20; const PROVISION_PROVIDE = 21; const CONVERT_COLLECTION = 22; const STORAGE_EXPORT = 23; const PROVISION_DELETE = 24; const STORAGE_DELETE = 25; const EMAIL_INGESTION = 26; const METADATA_IMPORT = 27; const METADATA_TRANSFORM = 28; const PROJECT = 1000; } class KalturaBitRateMode { const CBR = 1; const VBR = 2; } class KalturaBulkUploadCsvVersion { const V1 = "1"; const V2 = "2"; const V3 = "3"; } class KalturaCategoryOrderBy { const DEPTH_ASC = "+depth"; const DEPTH_DESC = "-depth"; const FULL_NAME_ASC = "+fullName"; const FULL_NAME_DESC = "-fullName"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaCommercialUseType { const COMMERCIAL_USE = "commercial_use"; const NON_COMMERCIAL_USE = "non-commercial_use"; } class KalturaContainerFormat { const FLV = "flv"; const MP4 = "mp4"; const AVI = "avi"; const MOV = "mov"; const MP3 = "mp3"; const _3GP = "3gp"; const OGG = "ogg"; const WMV = "wmv"; const WMA = "wma"; const ISMV = "ismv"; const MKV = "mkv"; } class KalturaControlPanelCommandOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const UPDATED_AT_ASC = "+updatedAt"; const UPDATED_AT_DESC = "-updatedAt"; } class KalturaControlPanelCommandStatus { const PENDING = 1; const HANDLED = 2; const DONE = 3; const FAILED = 4; } class KalturaControlPanelCommandTargetType { const DATA_CENTER = 1; const SCHEDULER = 2; const JOB_TYPE = 3; const JOB = 4; const BATCH = 5; } class KalturaControlPanelCommandType { const STOP = 1; const START = 2; const CONFIG = 3; const KILL = 4; } class KalturaConversionProfileOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaCountryRestrictionType { const RESTRICT_COUNTRY_LIST = 0; const ALLOW_COUNTRY_LIST = 1; } class KalturaDataEntryOrderBy { const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaDirectoryRestrictionType { const DONT_DISPLAY = 0; const DISPLAY_WITH_LINK = 1; } class KalturaDocumentEntryOrderBy { const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaDocumentType { const DOCUMENT = 11; const SWF = 12; } class KalturaDurationType { const NOT_AVAILABLE = "notavailable"; const SHORT = "short"; const MEDIUM = "medium"; const LONG = "long"; } class KalturaEditorType { const SIMPLE = 1; const ADVANCED = 2; } class KalturaEmailIngestionProfileStatus { const INACTIVE = 0; const ACTIVE = 1; } class KalturaEntryModerationStatus { const PENDING_MODERATION = 1; const APPROVED = 2; const REJECTED = 3; const FLAGGED_FOR_REVIEW = 5; const AUTO_APPROVED = 6; } class KalturaEntryStatus { const ERROR_IMPORTING = -2; const ERROR_CONVERTING = -1; const IMPORT = 0; const PRECONVERT = 1; const READY = 2; const DELETED = 3; const PENDING = 4; const MODERATE = 5; const BLOCKED = 6; } class KalturaEntryType { const AUTOMATIC = -1; const MEDIA_CLIP = 1; const MIX = 2; const PLAYLIST = 5; const DATA = 6; const LIVE_STREAM = 7; const DOCUMENT = 10; } class KalturaFileSyncObjectType { const ENTRY = 1; const UICONF = 2; const BATCHJOB = 3; const FLAVOR_ASSET = 4; } class KalturaFileSyncOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const UPDATED_AT_ASC = "+updatedAt"; const UPDATED_AT_DESC = "-updatedAt"; const READY_AT_ASC = "+readyAt"; const READY_AT_DESC = "-readyAt"; const SYNC_TIME_ASC = "+syncTime"; const SYNC_TIME_DESC = "-syncTime"; const FILE_SIZE_ASC = "+fileSize"; const FILE_SIZE_DESC = "-fileSize"; } class KalturaFileSyncStatus { const ERROR = -1; const PENDING = 1; const READY = 2; const DELETED = 3; const PURGED = 4; } class KalturaFileSyncType { const FILE = 1; const LINK = 2; const URL = 3; } class KalturaFlavorAssetStatus { const ERROR = -1; const QUEUED = 0; const CONVERTING = 1; const READY = 2; const DELETED = 3; const NOT_APPLICABLE = 4; } class KalturaFlavorParamsOrderBy { } class KalturaFlavorParamsOutputOrderBy { } class KalturaGender { const UNKNOWN = 0; const MALE = 1; const FEMALE = 2; } class KalturaGoogleSyndicationFeedAdultValues { const YES = "Yes"; const NO = "No"; } class KalturaGoogleVideoSyndicationFeedOrderBy { const PLAYLIST_ID_ASC = "+playlistId"; const PLAYLIST_ID_DESC = "-playlistId"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const TYPE_ASC = "+type"; const TYPE_DESC = "-type"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaITunesSyndicationFeedAdultValues { const YES = "yes"; const NO = "no"; const CLEAN = "clean"; } class KalturaITunesSyndicationFeedCategories { const ARTS = "Arts"; const ARTS_DESIGN = "Arts/Design"; const ARTS_FASHION_BEAUTY = "Arts/Fashion & Beauty"; const ARTS_FOOD = "Arts/Food"; const ARTS_LITERATURE = "Arts/Literature"; const ARTS_PERFORMING_ARTS = "Arts/Performing Arts"; const ARTS_VISUAL_ARTS = "Arts/Visual Arts"; const BUSINESS = "Business"; const BUSINESS_BUSINESS_NEWS = "Business/Business News"; const BUSINESS_CAREERS = "Business/Careers"; const BUSINESS_INVESTING = "Business/Investing"; const BUSINESS_MANAGEMENT_MARKETING = "Business/Management & Marketing"; const BUSINESS_SHOPPING = "Business/Shopping"; const COMEDY = "Comedy"; const EDUCATION = "Education"; const EDUCATION_TECHNOLOGY = "Education/Education Technology"; const EDUCATION_HIGHER_EDUCATION = "Education/Higher Education"; const EDUCATION_K_12 = "Education/K-12"; const EDUCATION_LANGUAGE_COURSES = "Education/Language Courses"; const EDUCATION_TRAINING = "Education/Training"; const GAMES_HOBBIES = "Games & Hobbies"; const GAMES_HOBBIES_AUTOMOTIVE = "Games & Hobbies/Automotive"; const GAMES_HOBBIES_AVIATION = "Games & Hobbies/Aviation"; const GAMES_HOBBIES_HOBBIES = "Games & Hobbies/Hobbies"; const GAMES_HOBBIES_OTHER_GAMES = "Games & Hobbies/Other Games"; const GAMES_HOBBIES_VIDEO_GAMES = "Games & Hobbies/Video Games"; const GOVERNMENT_ORGANIZATIONS = "Government & Organizations"; const GOVERNMENT_ORGANIZATIONS_LOCAL = "Government & Organizations/Local"; const GOVERNMENT_ORGANIZATIONS_NATIONAL = "Government & Organizations/National"; const GOVERNMENT_ORGANIZATIONS_NON_PROFIT = "Government & Organizations/Non-Profit"; const GOVERNMENT_ORGANIZATIONS_REGIONAL = "Government & Organizations/Regional"; const HEALTH = "Health"; const HEALTH_ALTERNATIVE_HEALTH = "Health/Alternative Health"; const HEALTH_FITNESS_NUTRITION = "Health/Fitness & Nutrition"; const HEALTH_SELF_HELP = "Health/Self-Help"; const HEALTH_SEXUALITY = "Health/Sexuality"; const KIDS_FAMILY = "Kids & Family"; const MUSIC = "Music"; const NEWS_POLITICS = "News & Politics"; const RELIGION_SPIRITUALITY = "Religion & Spirituality"; const RELIGION_SPIRITUALITY_BUDDHISM = "Religion & Spirituality/Buddhism"; const RELIGION_SPIRITUALITY_CHRISTIANITY = "Religion & Spirituality/Christianity"; const RELIGION_SPIRITUALITY_HINDUISM = "Religion & Spirituality/Hinduism"; const RELIGION_SPIRITUALITY_ISLAM = "Religion & Spirituality/Islam"; const RELIGION_SPIRITUALITY_JUDAISM = "Religion & Spirituality/Judaism"; const RELIGION_SPIRITUALITY_OTHER = "Religion & Spirituality/Other"; const RELIGION_SPIRITUALITY_SPIRITUALITY = "Religion & Spirituality/Spirituality"; const SCIENCE_MEDICINE = "Science & Medicine"; const SCIENCE_MEDICINE_MEDICINE = "Science & Medicine/Medicine"; const SCIENCE_MEDICINE_NATURAL_SCIENCES = "Science & Medicine/Natural Sciences"; const SCIENCE_MEDICINE_SOCIAL_SCIENCES = "Science & Medicine/Social Sciences"; const SOCIETY_CULTURE = "Society & Culture"; const SOCIETY_CULTURE_HISTORY = "Society & Culture/History"; const SOCIETY_CULTURE_PERSONAL_JOURNALS = "Society & Culture/Personal Journals"; const SOCIETY_CULTURE_PHILOSOPHY = "Society & Culture/Philosophy"; const SOCIETY_CULTURE_PLACES_TRAVEL = "Society & Culture/Places & Travel"; const SPORTS_RECREATION = "Sports & Recreation"; const SPORTS_RECREATION_AMATEUR = "Sports & Recreation/Amateur"; const SPORTS_RECREATION_COLLEGE_HIGH_SCHOOL = "Sports & Recreation/College & High School"; const SPORTS_RECREATION_OUTDOOR = "Sports & Recreation/Outdoor"; const SPORTS_RECREATION_PROFESSIONAL = "Sports & Recreation/Professional"; const TECHNOLOGY = "Technology"; const TECHNOLOGY_GADGETS = "Technology/Gadgets"; const TECHNOLOGY_TECH_NEWS = "Technology/Tech News"; const TECHNOLOGY_PODCASTING = "Technology/Podcasting"; const TECHNOLOGY_SOFTWARE_HOW_TO = "Technology/Software How-To"; const TV_FILM = "TV & Film"; } class KalturaITunesSyndicationFeedOrderBy { const PLAYLIST_ID_ASC = "+playlistId"; const PLAYLIST_ID_DESC = "-playlistId"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const TYPE_ASC = "+type"; const TYPE_DESC = "-type"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaLicenseType { const UNKNOWN = -1; const NONE = 0; const COPYRIGHTED = 1; const PUBLIC_DOMAIN = 2; const CREATIVECOMMONS_ATTRIBUTION = 3; const CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE = 4; const CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES = 5; const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL = 6; const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE = 7; const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES = 8; const GFDL = 9; const GPL = 10; const AFFERO_GPL = 11; const LGPL = 12; const BSD = 13; const APACHE = 14; const MOZILLA = 15; } class KalturaLiveStreamAdminEntryOrderBy { const MEDIA_TYPE_ASC = "+mediaType"; const MEDIA_TYPE_DESC = "-mediaType"; const PLAYS_ASC = "+plays"; const PLAYS_DESC = "-plays"; const VIEWS_ASC = "+views"; const VIEWS_DESC = "-views"; const DURATION_ASC = "+duration"; const DURATION_DESC = "-duration"; const MS_DURATION_ASC = "+msDuration"; const MS_DURATION_DESC = "-msDuration"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaLiveStreamEntryOrderBy { const MEDIA_TYPE_ASC = "+mediaType"; const MEDIA_TYPE_DESC = "-mediaType"; const PLAYS_ASC = "+plays"; const PLAYS_DESC = "-plays"; const VIEWS_ASC = "+views"; const VIEWS_DESC = "-views"; const DURATION_ASC = "+duration"; const DURATION_DESC = "-duration"; const MS_DURATION_ASC = "+msDuration"; const MS_DURATION_DESC = "-msDuration"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaMailJobOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const EXECUTION_ATTEMPTS_ASC = "+executionAttempts"; const EXECUTION_ATTEMPTS_DESC = "-executionAttempts"; } class KalturaMailJobStatus { const PENDING = 1; const SENT = 2; const ERROR = 3; const QUEUED = 4; } class KalturaMailType { const MAIL_TYPE_KALTURA_NEWSLETTER = 10; const MAIL_TYPE_ADDED_TO_FAVORITES = 11; const MAIL_TYPE_ADDED_TO_CLIP_FAVORITES = 12; const MAIL_TYPE_NEW_COMMENT_IN_PROFILE = 13; const MAIL_TYPE_CLIP_ADDED_YOUR_KALTURA = 20; const MAIL_TYPE_VIDEO_ADDED = 21; const MAIL_TYPE_ROUGHCUT_CREATED = 22; const MAIL_TYPE_ADDED_KALTURA_TO_YOUR_FAVORITES = 23; const MAIL_TYPE_NEW_COMMENT_IN_KALTURA = 24; const MAIL_TYPE_CLIP_ADDED = 30; const MAIL_TYPE_VIDEO_CREATED = 31; const MAIL_TYPE_ADDED_KALTURA_TO_HIS_FAVORITES = 32; const MAIL_TYPE_NEW_COMMENT_IN_KALTURA_YOU_CONTRIBUTED = 33; const MAIL_TYPE_CLIP_CONTRIBUTED = 40; const MAIL_TYPE_ROUGHCUT_CREATED_SUBSCRIBED = 41; const MAIL_TYPE_ADDED_KALTURA_TO_HIS_FAVORITES_SUBSCRIBED = 42; const MAIL_TYPE_NEW_COMMENT_IN_KALTURA_YOU_SUBSCRIBED = 43; const MAIL_TYPE_REGISTER_CONFIRM = 50; const MAIL_TYPE_PASSWORD_RESET = 51; const MAIL_TYPE_LOGIN_MAIL_RESET = 52; const MAIL_TYPE_REGISTER_CONFIRM_VIDEO_SERVICE = 54; const MAIL_TYPE_VIDEO_READY = 60; const MAIL_TYPE_VIDEO_IS_READY = 62; const MAIL_TYPE_BULK_DOWNLOAD_READY = 63; const MAIL_TYPE_NOTIFY_ERR = 70; const MAIL_TYPE_ACCOUNT_UPGRADE_CONFIRM = 80; const MAIL_TYPE_VIDEO_SERVICE_NOTICE = 81; const MAIL_TYPE_VIDEO_SERVICE_NOTICE_LIMIT_REACHED = 82; const MAIL_TYPE_VIDEO_SERVICE_NOTICE_ACCOUNT_LOCKED = 83; const MAIL_TYPE_VIDEO_SERVICE_NOTICE_ACCOUNT_DELETED = 84; const MAIL_TYPE_VIDEO_SERVICE_NOTICE_UPGRADE_OFFER = 85; const MAIL_TYPE_ACCOUNT_REACTIVE_CONFIRM = 86; const MAIL_TYPE_SYSTEM_USER_RESET_PASSWORD = 110; const MAIL_TYPE_SYSTEM_USER_RESET_PASSWORD_SUCCESS = 111; const MAIL_TYPE_SYSTEM_USER_NEW_PASSWORD = 112; const MAIL_TYPE_SYSTEM_USER_CREDENTIALS_SAVED = 113; } class KalturaMediaEntryOrderBy { const MEDIA_TYPE_ASC = "+mediaType"; const MEDIA_TYPE_DESC = "-mediaType"; const PLAYS_ASC = "+plays"; const PLAYS_DESC = "-plays"; const VIEWS_ASC = "+views"; const VIEWS_DESC = "-views"; const DURATION_ASC = "+duration"; const DURATION_DESC = "-duration"; const MS_DURATION_ASC = "+msDuration"; const MS_DURATION_DESC = "-msDuration"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaMediaInfoOrderBy { } class KalturaMediaType { const VIDEO = 1; const IMAGE = 2; const AUDIO = 5; const LIVE_STREAM_FLASH = 201; const LIVE_STREAM_WINDOWS_MEDIA = 202; const LIVE_STREAM_REAL_MEDIA = 203; const LIVE_STREAM_QUICKTIME = 204; } class KalturaMetadataObjectType { const ENTRY = 1; } class KalturaMetadataOrderBy { const METADATA_PROFILE_VERSION_ASC = "+metadataProfileVersion"; const METADATA_PROFILE_VERSION_DESC = "-metadataProfileVersion"; const VERSION_ASC = "+version"; const VERSION_DESC = "-version"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const UPDATED_AT_ASC = "+updatedAt"; const UPDATED_AT_DESC = "-updatedAt"; } class KalturaMetadataProfileOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const UPDATED_AT_ASC = "+updatedAt"; const UPDATED_AT_DESC = "-updatedAt"; } class KalturaMetadataProfileStatus { const ACTIVE = 1; const DEPRECATED = 2; const TRANSFORMING = 3; } class KalturaMetadataStatus { const VALID = 1; const INVALID = 2; const DELETED = 3; } class KalturaMixEntryOrderBy { const PLAYS_ASC = "+plays"; const PLAYS_DESC = "-plays"; const VIEWS_ASC = "+views"; const VIEWS_DESC = "-views"; const DURATION_ASC = "+duration"; const DURATION_DESC = "-duration"; const MS_DURATION_ASC = "+msDuration"; const MS_DURATION_DESC = "-msDuration"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaModerationFlagStatus { const PENDING = 1; const MODERATED = 2; } class KalturaModerationFlagType { const SEXUAL_CONTENT = 1; const VIOLENT_REPULSIVE = 2; const HARMFUL_DANGEROUS = 3; const SPAM_COMMERCIALS = 4; } class KalturaModerationObjectType { const ENTRY = 2; const USER = 3; } class KalturaNotificationObjectType { const ENTRY = 1; const KSHOW = 2; const USER = 3; const BATCH_JOB = 4; } class KalturaNotificationOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const EXECUTION_ATTEMPTS_ASC = "+executionAttempts"; const EXECUTION_ATTEMPTS_DESC = "-executionAttempts"; } class KalturaNotificationStatus { const PENDING = 1; const SENT = 2; const ERROR = 3; const SHOULD_RESEND = 4; const ERROR_RESENDING = 5; const SENT_SYNCH = 6; const QUEUED = 7; } class KalturaNotificationType { const ENTRY_ADD = 1; const ENTR_UPDATE_PERMISSIONS = 2; const ENTRY_DELETE = 3; const ENTRY_BLOCK = 4; const ENTRY_UPDATE = 5; const ENTRY_UPDATE_THUMBNAIL = 6; const ENTRY_UPDATE_MODERATION = 7; const USER_ADD = 21; const USER_BANNED = 26; } class KalturaNullableBoolean { const NULL_VALUE = -1; const FALSE_VALUE = 0; const TRUE_VALUE = 1; } class KalturaPartnerOrderBy { const ID_ASC = "+id"; const ID_DESC = "-id"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const WEBSITE_ASC = "+website"; const WEBSITE_DESC = "-website"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const ADMIN_NAME_ASC = "+adminName"; const ADMIN_NAME_DESC = "-adminName"; const ADMIN_EMAIL_ASC = "+adminEmail"; const ADMIN_EMAIL_DESC = "-adminEmail"; const STATUS_ASC = "+status"; const STATUS_DESC = "-status"; } class KalturaPartnerStatus { const ACTIVE = 1; const BLOCKED = 2; const FULL_BLOCK = 3; } class KalturaPartnerType { const KMC = 1; const WIKI = 100; const WORDPRESS = 101; const DRUPAL = 102; const DEKIWIKI = 103; const MOODLE = 104; const COMMUNITY_EDITION = 105; const JOOMLA = 106; const BLACKBOARD = 107; const SAKAI = 108; } class KalturaPlayableEntryOrderBy { const PLAYS_ASC = "+plays"; const PLAYS_DESC = "-plays"; const VIEWS_ASC = "+views"; const VIEWS_DESC = "-views"; const DURATION_ASC = "+duration"; const DURATION_DESC = "-duration"; const MS_DURATION_ASC = "+msDuration"; const MS_DURATION_DESC = "-msDuration"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaPlaylistOrderBy { const NAME_ASC = "+name"; const NAME_DESC = "-name"; const MODERATION_COUNT_ASC = "+moderationCount"; const MODERATION_COUNT_DESC = "-moderationCount"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const RANK_ASC = "+rank"; const RANK_DESC = "-rank"; } class KalturaPlaylistType { const DYNAMIC = 10; const STATIC_LIST = 3; const EXTERNAL = 101; } class KalturaReportType { const TOP_CONTENT = 1; const CONTENT_DROPOFF = 2; const CONTENT_INTERACTIONS = 3; const MAP_OVERLAY = 4; const TOP_CONTRIBUTORS = 5; const TOP_SYNDICATION = 6; const CONTENT_CONTRIBUTIONS = 7; const ADMIN_CONSOLE = 10; } class KalturaSchedulerStatusType { const RUNNING_BATCHES_COUNT = 1; const RUNNING_BATCHES_CPU = 2; const RUNNING_BATCHES_MEMORY = 3; const RUNNING_BATCHES_NETWORK = 4; const RUNNING_BATCHES_DISC_IO = 5; const RUNNING_BATCHES_DISC_SPACE = 6; const RUNNING_BATCHES_IS_RUNNING = 7; } class KalturaSearchOperatorType { const SEARCH_AND = 1; const SEARCH_OR = 2; } class KalturaSearchProviderType { const FLICKR = 3; const YOUTUBE = 4; const MYSPACE = 7; const PHOTOBUCKET = 8; const JAMENDO = 9; const CCMIXTER = 10; const NYPL = 11; const CURRENT = 12; const MEDIA_COMMONS = 13; const KALTURA = 20; const KALTURA_USER_CLIPS = 21; const ARCHIVE_ORG = 22; const KALTURA_PARTNER = 23; const METACAFE = 24; const SEARCH_PROXY = 28; const PARTNER_SPECIFIC = 100; } class KalturaSessionType { const USER = 0; const ADMIN = 2; } class KalturaSiteRestrictionType { const RESTRICT_SITE_LIST = 0; const ALLOW_SITE_LIST = 1; } class KalturaSourceType { const FILE = 1; const WEBCAM = 2; const URL = 5; const SEARCH_PROVIDER = 6; const AKAMAI_LIVE = 29; } class KalturaStatsEventType { const WIDGET_LOADED = 1; const MEDIA_LOADED = 2; const PLAY = 3; const PLAY_REACHED_25 = 4; const PLAY_REACHED_50 = 5; const PLAY_REACHED_75 = 6; const PLAY_REACHED_100 = 7; const OPEN_EDIT = 8; const OPEN_VIRAL = 9; const OPEN_DOWNLOAD = 10; const OPEN_REPORT = 11; const BUFFER_START = 12; const BUFFER_END = 13; const OPEN_FULL_SCREEN = 14; const CLOSE_FULL_SCREEN = 15; const REPLAY = 16; const SEEK = 17; const OPEN_UPLOAD = 18; const SAVE_PUBLISH = 19; const CLOSE_EDITOR = 20; const PRE_BUMPER_PLAYED = 21; const POST_BUMPER_PLAYED = 22; const BUMPER_CLICKED = 23; const PREROLL_STARTED = 24; const MIDROLL_STARTED = 25; const POSTROLL_STARTED = 26; const OVERLAY_STARTED = 27; const PREROLL_CLICKED = 28; const MIDROLL_CLICKED = 29; const POSTROLL_CLICKED = 30; const OVERLAY_CLICKED = 31; const PREROLL_25 = 32; const PREROLL_50 = 33; const PREROLL_75 = 34; const MIDROLL_25 = 35; const MIDROLL_50 = 36; const MIDROLL_75 = 37; const POSTROLL_25 = 38; const POSTROLL_50 = 39; const POSTROLL_75 = 40; } class KalturaStatsKmcEventType { const CONTENT_PAGE_VIEW = 1001; const CONTENT_ADD_PLAYLIST = 1010; const CONTENT_EDIT_PLAYLIST = 1011; const CONTENT_DELETE_PLAYLIST = 1012; const CONTENT_DELETE_ITEM = 1058; const CONTENT_DELETE_MIX = 1059; const CONTENT_EDIT_ENTRY = 1013; const CONTENT_CHANGE_THUMBNAIL = 1014; const CONTENT_ADD_TAGS = 1015; const CONTENT_REMOVE_TAGS = 1016; const CONTENT_ADD_ADMIN_TAGS = 1017; const CONTENT_REMOVE_ADMIN_TAGS = 1018; const CONTENT_DOWNLOAD = 1019; const CONTENT_APPROVE_MODERATION = 1020; const CONTENT_REJECT_MODERATION = 1021; const CONTENT_BULK_UPLOAD = 1022; const CONTENT_ADMIN_KCW_UPLOAD = 1023; const CONTENT_CONTENT_GO_TO_PAGE = 1057; const CONTENT_ENTRY_DRILLDOWN = 1088; const CONTENT_OPEN_PREVIEW_AND_EMBED = 1089; const ACCOUNT_CHANGE_PARTNER_INFO = 1030; const ACCOUNT_CHANGE_LOGIN_INFO = 1031; const ACCOUNT_CONTACT_US_USAGE = 1032; const ACCOUNT_UPDATE_SERVER_SETTINGS = 1033; const ACCOUNT_ACCOUNT_OVERVIEW = 1034; const ACCOUNT_ACCESS_CONTROL = 1035; const ACCOUNT_TRANSCODING_SETTINGS = 1036; const ACCOUNT_ACCOUNT_UPGRADE = 1037; const ACCOUNT_SAVE_SERVER_SETTINGS = 1038; const ACCOUNT_ACCESS_CONTROL_DELETE = 1039; const ACCOUNT_SAVE_TRANSCODING_SETTINGS = 1040; const LOGIN = 1041; const DASHBOARD_IMPORT_CONTENT = 1042; const DASHBOARD_UPDATE_CONTENT = 1043; const DASHBOARD_ACCOUNT_CONTACT_US = 1044; const DASHBOARD_VIEW_REPORTS = 1045; const DASHBOARD_EMBED_PLAYER = 1046; const DASHBOARD_EMBED_PLAYLIST = 1047; const DASHBOARD_CUSTOMIZE_PLAYERS = 1048; const APP_STUDIO_NEW_PLAYER_SINGLE_VIDEO = 1050; const APP_STUDIO_NEW_PLAYER_PLAYLIST = 1051; const APP_STUDIO_NEW_PLAYER_MULTI_TAB_PLAYLIST = 1052; const APP_STUDIO_EDIT_PLAYER_SINGLE_VIDEO = 1053; const APP_STUDIO_EDIT_PLAYER_PLAYLIST = 1054; const APP_STUDIO_EDIT_PLAYER_MULTI_TAB_PLAYLIST = 1055; const APP_STUDIO_DUPLICATE_PLAYER = 1056; const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_TAB = 1070; const REPORTS_AND_ANALYTICS_CONTENT_REPORTS_TAB = 1071; const REPORTS_AND_ANALYTICS_USERS_AND_COMMUNITY_REPORTS_TAB = 1072; const REPORTS_AND_ANALYTICS_TOP_CONTRIBUTORS = 1073; const REPORTS_AND_ANALYTICS_MAP_OVERLAYS = 1074; const REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS = 1075; const REPORTS_AND_ANALYTICS_TOP_CONTENT = 1076; const REPORTS_AND_ANALYTICS_CONTENT_DROPOFF = 1077; const REPORTS_AND_ANALYTICS_CONTENT_INTERACTIONS = 1078; const REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS = 1079; const REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN = 1080; const REPORTS_AND_ANALYTICS_CONTENT_DRILL_DOWN_INTERACTION = 1081; const REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS_DRILLDOWN = 1082; const REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN_DROPOFF = 1083; const REPORTS_AND_ANALYTICS_MAP_OVERLAYS_DRILLDOWN = 1084; const REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS_DRILL_DOWN = 1085; const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_MONTHLY = 1086; const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_YEARLY = 1087; } class KalturaStorageProfileProtocol { const KALTURA_DC = 0; const FTP = 1; const SCP = 2; const SFTP = 3; } class KalturaStorageProfileStatus { const DISABLED = 1; const AUTOMATIC = 2; const MANUAL = 3; } class KalturaStorageServePriority { const KALTURA_ONLY = 1; const KALTURA_FIRST = 2; const EXTERNAL_FIRST = 3; const EXTERNAL_ONLY = 4; } class KalturaSyndicationFeedStatus { const DELETED = -1; const ACTIVE = 1; } class KalturaSyndicationFeedType { const GOOGLE_VIDEO = 1; const YAHOO = 2; const ITUNES = 3; const TUBE_MOGUL = 4; } class KalturaSystemUserOrderBy { const ID_ASC = "+id"; const ID_DESC = "-id"; const STATUS_ASC = "+status"; const STATUS_DESC = "-status"; } class KalturaSystemUserRole { const ROLE_GUEST = "guest"; const ROLE_PROFESIONAL_SERVICES = "ps"; const ROLE_ADMINISTRATOR = "admin"; } class KalturaSystemUserStatus { const BLOCKED = 0; const ACTIVE = 1; } class KalturaTubeMogulSyndicationFeedCategories { const ARTS_AND_ANIMATION = "Arts & Animation"; const COMEDY = "Comedy"; const ENTERTAINMENT = "Entertainment"; const MUSIC = "Music"; const NEWS_AND_BLOGS = "News & Blogs"; const SCIENCE_AND_TECHNOLOGY = "Science & Technology"; const SPORTS = "Sports"; const TRAVEL_AND_PLACES = "Travel & Places"; const VIDEO_GAMES = "Video Games"; const ANIMALS_AND_PETS = "Animals & Pets"; const AUTOS = "Autos"; const VLOGS_PEOPLE = "Vlogs & People"; const HOW_TO_INSTRUCTIONAL_DIY = "How To/Instructional/DIY"; const COMMERCIALS_PROMOTIONAL = "Commercials/Promotional"; const FAMILY_AND_KIDS = "Family & Kids"; } class KalturaTubeMogulSyndicationFeedOrderBy { const PLAYLIST_ID_ASC = "+playlistId"; const PLAYLIST_ID_DESC = "-playlistId"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const TYPE_ASC = "+type"; const TYPE_DESC = "-type"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaUiConfCreationMode { const WIZARD = 2; const ADVANCED = 3; } class KalturaUiConfObjType { const PLAYER = 1; const CONTRIBUTION_WIZARD = 2; const SIMPLE_EDITOR = 3; const ADVANCED_EDITOR = 4; const PLAYLIST = 5; const APP_STUDIO = 6; const KRECORD = 7; const PLAYER_V3 = 8; const PLAYER_SL = 14; } class KalturaUiConfOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; const UPDATED_AT_ASC = "+updatedAt"; const UPDATED_AT_DESC = "-updatedAt"; } class KalturaUploadErrorCode { const NO_ERROR = 0; const GENERAL_ERROR = 1; const PARTIAL_UPLOAD = 2; } class KalturaUploadTokenOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaUploadTokenStatus { const PENDING = 0; const PARTIAL_UPLOAD = 1; const FULL_UPLOAD = 2; const CLOSED = 3; const TIMED_OUT = 4; const DELETED = 5; } class KalturaUserOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaUserStatus { const BLOCKED = 0; const ACTIVE = 1; const DELETED = 2; } class KalturaVideoCodec { const NONE = ""; const VP6 = "vp6"; const H263 = "h263"; const H264 = "h264"; const H264B = "h264b"; const H264M = "h264m"; const H264H = "h264h"; const FLV = "flv"; const MPEG4 = "mpeg4"; const THEORA = "theora"; const WMV2 = "wmv2"; const WMV3 = "wmv3"; const WVC1A = "wvc1a"; const VP8 = "vp8"; const COPY = "copy"; } class KalturaWidgetOrderBy { const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaWidgetSecurityType { const NONE = 1; const TIMEHASH = 2; } class KalturaYahooSyndicationFeedAdultValues { const ADULT = "adult"; const NON_ADULT = "nonadult"; } class KalturaYahooSyndicationFeedCategories { const ACTION = "Action"; const ART_AND_ANIMATION = "Art & Animation"; const ENTERTAINMENT_AND_TV = "Entertainment & TV"; const FOOD = "Food"; const GAMES = "Games"; const HOW_TO = "How-To"; const MUSIC = "Music"; const PEOPLE_AND_VLOGS = "People & Vlogs"; const SCIENCE_AND_ENVIRONMENT = "Science & Environment"; const TRANSPORTATION = "Transportation"; const ANIMALS = "Animals"; const COMMERCIALS = "Commercials"; const FAMILY = "Family"; const FUNNY_VIDEOS = "Funny Videos"; const HEALTH_AND_BEAUTY = "Health & Beauty"; const MOVIES_AND_SHORTS = "Movies & Shorts"; const NEWS_AND_POLITICS = "News & Politics"; const PRODUCTS_AND_TECH = "Products & Tech."; const SPORTS = "Sports"; const TRAVEL = "Travel"; } class KalturaYahooSyndicationFeedOrderBy { const PLAYLIST_ID_ASC = "+playlistId"; const PLAYLIST_ID_DESC = "-playlistId"; const NAME_ASC = "+name"; const NAME_DESC = "-name"; const TYPE_ASC = "+type"; const TYPE_DESC = "-type"; const CREATED_AT_ASC = "+createdAt"; const CREATED_AT_DESC = "-createdAt"; } class KalturaSearchItem extends KalturaObjectBase { } class KalturaSearchOperator extends KalturaSearchItem { /** * * * @var KalturaSearchOperatorType */ public $type = null; /** * * * @var array of KalturaSearchItem */ public $items; } class KalturaMetadataSearchItem extends KalturaSearchOperator { /** * * * @var int */ public $metadataProfileId = null; } class KalturaBaseRestriction extends KalturaObjectBase { } class KalturaAccessControl extends KalturaObjectBase { /** * The id of the Access Control Profile * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The name of the Access Control Profile * * * @var string */ public $name = null; /** * The description of the Access Control Profile * * * @var string */ public $description = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * True if this Conversion Profile is the default * * * @var KalturaNullableBoolean */ public $isDefault = null; /** * Array of Access Control Restrictions * * * @var array of KalturaBaseRestriction */ public $restrictions; } class KalturaFilter extends KalturaObjectBase { /** * * * @var string */ public $orderBy = null; /** * * * @var KalturaSearchItem */ public $advancedSearch; } class KalturaAccessControlFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; } class KalturaFilterPager extends KalturaObjectBase { /** * The number of objects to retrieve. (Default is 30, maximum page size is 500). * * * @var int */ public $pageSize = null; /** * The page number for which {pageSize} of objects should be retrieved (Default is 1). * * * @var int */ public $pageIndex = null; } class KalturaAccessControlListResponse extends KalturaObjectBase { /** * * * @var array of KalturaAccessControl * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaAdminUser extends KalturaObjectBase { /** * * * @var string * @readonly */ public $password = null; /** * * * @var string * @readonly */ public $email = null; /** * * * @var string */ public $screenName = null; } class KalturaBaseEntry extends KalturaObjectBase { /** * Auto generated 10 characters alphanumeric string * * * @var string * @readonly */ public $id = null; /** * Entry name (Min 1 chars) * * * @var string */ public $name = null; /** * Entry description * * * @var string */ public $description = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The ID of the user who is the owner of this entry * * * @var string */ public $userId = null; /** * Entry tags * * * @var string */ public $tags = null; /** * Entry admin tags can be updated only by administrators * * * @var string */ public $adminTags = null; /** * * * @var string */ public $categories = null; /** * * * @var KalturaEntryStatus * @readonly */ public $status = null; /** * Entry moderation status * * * @var KalturaEntryModerationStatus * @readonly */ public $moderationStatus = null; /** * Number of moderation requests waiting for this entry * * * @var int * @readonly */ public $moderationCount = null; /** * The type of the entry, this is auto filled by the derived entry object * * * @var KalturaEntryType * @readonly */ public $type = null; /** * Entry creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * Calculated rank * * * @var float * @readonly */ public $rank = null; /** * The total (sum) of all votes * * * @var int * @readonly */ public $totalRank = null; /** * Number of votes * * * @var int * @readonly */ public $votes = null; /** * * * @var int */ public $groupId = null; /** * Can be used to store various partner related data as a string * * * @var string */ public $partnerData = null; /** * Download URL for the entry * * * @var string * @readonly */ public $downloadUrl = null; /** * Indexed search text for full text search * * @var string * @readonly */ public $searchText = null; /** * License type used for this entry * * * @var KalturaLicenseType */ public $licenseType = null; /** * Version of the entry data * * @var int * @readonly */ public $version = null; /** * Thumbnail URL * * * @var string * @readonly */ public $thumbnailUrl = null; /** * The Access Control ID assigned to this entry (null when not set, send -1 to remove) * * * @var int */ public $accessControlId = null; /** * Entry scheduling start date (null when not set, send -1 to remove) * * * @var int */ public $startDate = null; /** * Entry scheduling end date (null when not set, send -1 to remove) * * * @var int */ public $endDate = null; } class KalturaBaseEntryFilter extends KalturaFilter { /** * This filter should be in use for retrieving only a specific entry (identified by its entryId). * @var string * * @var string */ public $idEqual = null; /** * This filter should be in use for retrieving few specific entries (string should include comma separated list of entryId strings). * @var string * * @var string */ public $idIn = null; /** * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry names (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $nameLike = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry names, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $nameMultiLikeOr = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry names, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $nameMultiLikeAnd = null; /** * This filter should be in use for retrieving entries with a specific name. * @var string * * @var string */ public $nameEqual = null; /** * This filter should be in use for retrieving only entries which were uploaded by/assigned to users of a specific Kaltura Partner (identified by Partner ID). * @var int * * @var int */ public $partnerIdEqual = null; /** * This filter should be in use for retrieving only entries within Kaltura network which were uploaded by/assigned to users of few Kaltura Partners (string should include comma separated list of PartnerIDs) * @var string * * @var string */ public $partnerIdIn = null; /** * This filter parameter should be in use for retrieving only entries, uploaded by/assigned to a specific user (identified by user Id). * @var string * * @var string */ public $userIdEqual = null; /** * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry tags (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $tagsLike = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $tagsMultiLikeOr = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $tagsMultiLikeAnd = null; /** * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry tags set by an ADMIN user (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $adminTagsLike = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, set by an ADMIN user, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $adminTagsMultiLikeOr = null; /** * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, set by an ADMIN user, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). * @var string * * @var string */ public $adminTagsMultiLikeAnd = null; /** * * * @var string */ public $categoriesMatchAnd = null; /** * * * @var string */ public $categoriesMatchOr = null; /** * This filter should be in use for retrieving only entries, at a specific {@link ?object=KalturaEntryStatus KalturaEntryStatus}. * @var KalturaEntryStatus * * @var KalturaEntryStatus */ public $statusEqual = null; /** * This filter should be in use for retrieving only entries, not at a specific {@link ?object=KalturaEntryStatus KalturaEntryStatus}. * @var KalturaEntryStatus * * @var KalturaEntryStatus */ public $statusNotEqual = null; /** * This filter should be in use for retrieving only entries, at few specific {@link ?object=KalturaEntryStatus KalturaEntryStatus} (comma separated). * @var string * * @var string */ public $statusIn = null; /** * This filter should be in use for retrieving only entries, not at few specific {@link ?object=KalturaEntryStatus KalturaEntryStatus} (comma separated). * @var KalturaEntryStatus * * @var KalturaEntryStatus */ public $statusNotIn = null; /** * * * @var KalturaEntryModerationStatus */ public $moderationStatusEqual = null; /** * * * @var KalturaEntryModerationStatus */ public $moderationStatusNotEqual = null; /** * * * @var string */ public $moderationStatusIn = null; /** * * * @var KalturaEntryModerationStatus */ public $moderationStatusNotIn = null; /** * * * @var KalturaEntryType */ public $typeEqual = null; /** * This filter should be in use for retrieving entries of few {@link ?object=KalturaEntryType KalturaEntryType} (string should include a comma separated list of {@link ?object=KalturaEntryType KalturaEntryType} enumerated parameters). * @var string * * @var string */ public $typeIn = null; /** * This filter parameter should be in use for retrieving only entries which were created at Kaltura system after a specific time/date (standard timestamp format). * @var int * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * This filter parameter should be in use for retrieving only entries which were created at Kaltura system before a specific time/date (standard timestamp format). * @var int * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $groupIdEqual = null; /** * This filter should be in use for retrieving specific entries while search match the input string within all of the following metadata attributes: name, description, tags, adminTags. * @var string * * @var string */ public $searchTextMatchAnd = null; /** * This filter should be in use for retrieving specific entries while search match the input string within at least one of the following metadata attributes: name, description, tags, adminTags. * @var string * * @var string */ public $searchTextMatchOr = null; /** * * * @var int */ public $accessControlIdEqual = null; /** * * * @var string */ public $accessControlIdIn = null; /** * * * @var int */ public $startDateGreaterThanOrEqual = null; /** * * * @var int */ public $startDateLessThanOrEqual = null; /** * * * @var int */ public $startDateGreaterThanOrEqualOrNull = null; /** * * * @var int */ public $startDateLessThanOrEqualOrNull = null; /** * * * @var int */ public $endDateGreaterThanOrEqual = null; /** * * * @var int */ public $endDateLessThanOrEqual = null; /** * * * @var int */ public $endDateGreaterThanOrEqualOrNull = null; /** * * * @var int */ public $endDateLessThanOrEqualOrNull = null; /** * * * @var string */ public $tagsNameMultiLikeOr = null; /** * * * @var string */ public $tagsAdminTagsMultiLikeOr = null; /** * * * @var string */ public $tagsAdminTagsNameMultiLikeOr = null; /** * * * @var string */ public $tagsNameMultiLikeAnd = null; /** * * * @var string */ public $tagsAdminTagsMultiLikeAnd = null; /** * * * @var string */ public $tagsAdminTagsNameMultiLikeAnd = null; } class KalturaBaseEntryListResponse extends KalturaObjectBase { /** * * * @var array of KalturaBaseEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaModerationFlag extends KalturaObjectBase { /** * Moderation flag id * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The user id that added the moderation flag * * @var string * @readonly */ public $userId = null; /** * The type of the moderation flag (entry or user) * * @var KalturaModerationObjectType * @readonly */ public $moderationObjectType = null; /** * If moderation flag is set for entry, this is the flagged entry id * * @var string */ public $flaggedEntryId = null; /** * If moderation flag is set for user, this is the flagged user id * * @var string */ public $flaggedUserId = null; /** * The moderation flag status * * @var KalturaModerationFlagStatus * @readonly */ public $status = null; /** * The comment that was added to the flag * * @var string */ public $comments = null; /** * * * @var KalturaModerationFlagType */ public $flagType = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; } class KalturaModerationFlagListResponse extends KalturaObjectBase { /** * * * @var array of KalturaModerationFlag * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaEntryContextDataParams extends KalturaObjectBase { /** * * * @var string */ public $referrer = null; } class KalturaEntryContextDataResult extends KalturaObjectBase { /** * * * @var bool */ public $isSiteRestricted = null; /** * * * @var bool */ public $isCountryRestricted = null; /** * * * @var bool */ public $isSessionRestricted = null; /** * * * @var int */ public $previewLength = null; /** * * * @var bool */ public $isScheduledNow = null; /** * * * @var bool */ public $isAdmin = null; } class KalturaSchedulerStatus extends KalturaObjectBase { /** * The id of the Category * * * @var int * @readonly */ public $id = null; /** * The configured id of the scheduler * * * @var int */ public $schedulerConfiguredId = null; /** * The configured id of the job worker * * * @var int */ public $workerConfiguredId = null; /** * The type of the job worker. * Could be KalturaBatchJobType or extended type * * * @var int */ public $workerType = null; /** * The status type * * * @var KalturaSchedulerStatusType */ public $type = null; /** * The status value * * * @var int */ public $value = null; /** * The id of the scheduler * * * @var int * @readonly */ public $schedulerId = null; /** * The id of the worker * * * @var int * @readonly */ public $workerId = null; } class KalturaSchedulerConfig extends KalturaObjectBase { /** * The id of the Category * * * @var int * @readonly */ public $id = null; /** * Creator name * * * @var string */ public $createdBy = null; /** * Updater name * * * @var string */ public $updatedBy = null; /** * Id of the control panel command that created this config item * * * @var string */ public $commandId = null; /** * The status of the control panel command * * * @var string */ public $commandStatus = null; /** * The id of the scheduler * * * @var int */ public $schedulerId = null; /** * The configured id of the scheduler * * * @var int */ public $schedulerConfiguredId = null; /** * The name of the scheduler * * * @var string */ public $schedulerName = null; /** * The id of the job worker * * * @var int */ public $workerId = null; /** * The configured id of the job worker * * * @var int */ public $workerConfiguredId = null; /** * The name of the job worker * * * @var string */ public $workerName = null; /** * The name of the variable * * * @var string */ public $variable = null; /** * The part of the variable * * * @var string */ public $variablePart = null; /** * The value of the variable * * * @var string */ public $value = null; } class KalturaBaseJob extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var int * @readonly */ public $deletedAt = null; /** * * * @var int * @readonly */ public $processorExpiration = null; /** * * * @var int * @readonly */ public $executionAttempts = null; } class KalturaJobData extends KalturaObjectBase { } class KalturaBatchJob extends KalturaBaseJob { /** * * * @var string */ public $entryId = null; /** * * * @var string */ public $entryName = null; /** * * * @var KalturaBatchJobType * @readonly */ public $jobType = null; /** * * * @var int */ public $jobSubType = null; /** * * * @var int */ public $onStressDivertTo = null; /** * * * @var KalturaJobData */ public $data; /** * * * @var KalturaBatchJobStatus */ public $status = null; /** * * * @var int */ public $abort = null; /** * * * @var int */ public $checkAgainTimeout = null; /** * * * @var int */ public $progress = null; /** * * * @var string */ public $message = null; /** * * * @var string */ public $description = null; /** * * * @var int */ public $updatesCount = null; /** * * * @var int */ public $priority = null; /** * * * @var int */ public $workGroupId = null; /** * The id of identical job * * @var int */ public $twinJobId = null; /** * The id of the bulk upload job that initiated this job * * @var int */ public $bulkJobId = null; /** * When one job creates another - the parent should set this parentJobId to be its own id. * * @var int */ public $parentJobId = null; /** * The id of the root parent job * * @var int */ public $rootJobId = null; /** * The time that the job was pulled from the queue * * @var int */ public $queueTime = null; /** * The time that the job was finished or closed as failed * * @var int */ public $finishTime = null; /** * * * @var KalturaBatchJobErrorTypes */ public $errType = null; /** * * * @var int */ public $errNumber = null; /** * * * @var int */ public $fileSize = null; /** * * * @var bool */ public $lastWorkerRemote = null; /** * * * @var int */ public $schedulerId = null; /** * * * @var int */ public $workerId = null; /** * * * @var int */ public $batchIndex = null; /** * * * @var int */ public $lastSchedulerId = null; /** * * * @var int */ public $lastWorkerId = null; /** * * * @var int */ public $dc = null; } class KalturaSchedulerWorker extends KalturaObjectBase { /** * The id of the Worker * * * @var int * @readonly */ public $id = null; /** * The id as configured in the batch config * * * @var int */ public $configuredId = null; /** * The id of the Scheduler * * * @var int */ public $schedulerId = null; /** * The id of the scheduler as configured in the batch config * * * @var int */ public $schedulerConfiguredId = null; /** * The worker type * * * @var int */ public $type = null; /** * The friendly name of the type * * * @var string */ public $typeName = null; /** * The scheduler name * * * @var string */ public $name = null; /** * Array of the last statuses * * * @var array of KalturaSchedulerStatus */ public $statuses; /** * Array of the last configs * * * @var array of KalturaSchedulerConfig */ public $configs; /** * Array of jobs that locked to this worker * * * @var array of KalturaBatchJob */ public $lockedJobs; /** * Avarage time between creation and queue time * * * @var int */ public $avgWait = null; /** * Avarage time between queue time end finish time * * * @var int */ public $avgWork = null; /** * last status time * * * @var int */ public $lastStatus = null; /** * last status formated * * * @var string */ public $lastStatusStr = null; } class KalturaScheduler extends KalturaObjectBase { /** * The id of the Scheduler * * * @var int * @readonly */ public $id = null; /** * The id as configured in the batch config * * * @var int */ public $configuredId = null; /** * The scheduler name * * * @var string */ public $name = null; /** * The host name * * * @var string */ public $host = null; /** * Array of the last statuses * * * @var array of KalturaSchedulerStatus * @readonly */ public $statuses; /** * Array of the last configs * * * @var array of KalturaSchedulerConfig * @readonly */ public $configs; /** * Array of the workers * * * @var array of KalturaSchedulerWorker * @readonly */ public $workers; /** * creation time * * * @var int * @readonly */ public $createdAt = null; /** * last status time * * * @var int * @readonly */ public $lastStatus = null; /** * last status formated * * * @var string * @readonly */ public $lastStatusStr = null; } class KalturaBaseJobFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var int */ public $idGreaterThanOrEqual = null; /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var string */ public $partnerIdIn = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; } class KalturaBatchJobFilter extends KalturaBaseJobFilter { /** * * * @var string */ public $entryIdEqual = null; /** * * * @var KalturaBatchJobType */ public $jobTypeEqual = null; /** * * * @var string */ public $jobTypeIn = null; /** * * * @var KalturaBatchJobType */ public $jobTypeNotIn = null; /** * * * @var int */ public $jobSubTypeEqual = null; /** * * * @var string */ public $jobSubTypeIn = null; /** * * * @var string */ public $onStressDivertToIn = null; /** * * * @var KalturaBatchJobStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; /** * * * @var int */ public $priorityGreaterThanOrEqual = null; /** * * * @var int */ public $priorityLessThanOrEqual = null; /** * * * @var string */ public $workGroupIdIn = null; /** * * * @var int */ public $queueTimeGreaterThanOrEqual = null; /** * * * @var int */ public $queueTimeLessThanOrEqual = null; /** * * * @var int */ public $finishTimeGreaterThanOrEqual = null; /** * * * @var int */ public $finishTimeLessThanOrEqual = null; /** * * * @var string */ public $errTypeIn = null; /** * * * @var int */ public $fileSizeLessThan = null; /** * * * @var int */ public $fileSizeGreaterThan = null; } class KalturaWorkerQueueFilter extends KalturaObjectBase { /** * * * @var int */ public $schedulerId = null; /** * * * @var int */ public $workerId = null; /** * * * @var int */ public $jobType = null; /** * * * @var KalturaBatchJobFilter */ public $filter; } class KalturaBatchQueuesStatus extends KalturaObjectBase { /** * The job type (KalturaBatchJobType or extended) * * * @var int */ public $jobType = null; /** * The worker configured id * * * @var int */ public $workerId = null; /** * The friendly name of the type * * * @var string */ public $typeName = null; /** * The size of the queue * * * @var int */ public $size = null; /** * The avarage wait time * * * @var int */ public $waitTime = null; } class KalturaControlPanelCommand extends KalturaObjectBase { /** * The id of the Category * * * @var int * @readonly */ public $id = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * Creator name * * * @var string */ public $createdBy = null; /** * Update date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $updatedAt = null; /** * Updater name * * * @var string */ public $updatedBy = null; /** * Creator id * * * @var int */ public $createdById = null; /** * The id of the scheduler that the command refers to * * * @var int */ public $schedulerId = null; /** * The id of the scheduler worker that the command refers to * * * @var int */ public $workerId = null; /** * The id of the scheduler worker as configured in the ini file * * * @var int */ public $workerConfiguredId = null; /** * The name of the scheduler worker that the command refers to * * * @var int */ public $workerName = null; /** * The index of the batch process that the command refers to * * * @var int */ public $batchIndex = null; /** * The command type - stop / start / config * * * @var KalturaControlPanelCommandType */ public $type = null; /** * The command target type - data center / scheduler / job / job type * * * @var KalturaControlPanelCommandTargetType */ public $targetType = null; /** * The command status * * * @var KalturaControlPanelCommandStatus */ public $status = null; /** * The reason for the command * * * @var string */ public $cause = null; /** * Command description * * * @var string */ public $description = null; /** * Error description * * * @var string */ public $errorDescription = null; } class KalturaSchedulerStatusResponse extends KalturaObjectBase { /** * The status of all queues on the server * * * @var array of KalturaBatchQueuesStatus */ public $queuesStatus; /** * The commands that sent from the control panel * * * @var array of KalturaControlPanelCommand */ public $controlPanelCommands; /** * The configuration that sent from the control panel * * * @var array of KalturaSchedulerConfig */ public $schedulerConfigs; } class KalturaControlPanelCommandFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $createdByIdEqual = null; /** * * * @var KalturaControlPanelCommandType */ public $typeEqual = null; /** * * * @var string */ public $typeIn = null; /** * * * @var KalturaControlPanelCommandTargetType */ public $targetTypeEqual = null; /** * * * @var string */ public $targetTypeIn = null; /** * * * @var KalturaControlPanelCommandStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; } class KalturaControlPanelCommandListResponse extends KalturaObjectBase { /** * * * @var array of KalturaControlPanelCommand * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSchedulerListResponse extends KalturaObjectBase { /** * * * @var array of KalturaScheduler * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSchedulerWorkerListResponse extends KalturaObjectBase { /** * * * @var array of KalturaSchedulerWorker * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaExclusiveLockKey extends KalturaObjectBase { /** * * * @var int */ public $schedulerId = null; /** * * * @var int */ public $workerId = null; /** * * * @var int */ public $batchIndex = null; } class KalturaFreeJobResponse extends KalturaObjectBase { /** * * * @var KalturaBatchJob * @readonly */ public $job; /** * * * @var int * @readonly */ public $jobType = null; /** * * * @var int * @readonly */ public $queueSize = null; } class KalturaBulkUploadPluginData extends KalturaObjectBase { /** * * * @var string */ public $field = null; /** * * * @var string */ public $value = null; } class KalturaBulkUploadResult extends KalturaObjectBase { /** * The id of the result * * * @var int * @readonly */ public $id = null; /** * The id of the parent job * * * @var int */ public $bulkUploadJobId = null; /** * The index of the line in the CSV * * * @var int */ public $lineIndex = null; /** * * * @var int */ public $partnerId = null; /** * * * @var string */ public $entryId = null; /** * * * @var int */ public $entryStatus = null; /** * The data as recieved in the csv * * * @var string */ public $rowData = null; /** * * * @var string */ public $title = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $tags = null; /** * * * @var string */ public $url = null; /** * * * @var string */ public $contentType = null; /** * * * @var int */ public $conversionProfileId = null; /** * * * @var int */ public $accessControlProfileId = null; /** * * * @var string */ public $category = null; /** * * * @var int */ public $scheduleStartDate = null; /** * * * @var int */ public $scheduleEndDate = null; /** * * * @var string */ public $thumbnailUrl = null; /** * * * @var bool */ public $thumbnailSaved = null; /** * * * @var string */ public $partnerData = null; /** * * * @var string */ public $errorDescription = null; /** * * * @var array of KalturaBulkUploadPluginData */ public $pluginsData; } class KalturaConvertCollectionFlavorData extends KalturaObjectBase { /** * * * @var string */ public $flavorAssetId = null; /** * * * @var int */ public $flavorParamsOutputId = null; /** * * * @var int */ public $readyBehavior = null; /** * * * @var int */ public $videoBitrate = null; /** * * * @var int */ public $audioBitrate = null; /** * * * @var string */ public $destFileSyncLocalPath = null; /** * * * @var string */ public $destFileSyncRemoteUrl = null; } class KalturaMediaInfo extends KalturaObjectBase { /** * The id of the media info * * * @var int * @readonly */ public $id = null; /** * The id of the related flavor asset * * * @var string */ public $flavorAssetId = null; /** * The file size * * * @var int */ public $fileSize = null; /** * The container format * * * @var string */ public $containerFormat = null; /** * The container id * * * @var string */ public $containerId = null; /** * The container profile * * * @var string */ public $containerProfile = null; /** * The container duration * * * @var int */ public $containerDuration = null; /** * The container bit rate * * * @var int */ public $containerBitRate = null; /** * The video format * * * @var string */ public $videoFormat = null; /** * The video codec id * * * @var string */ public $videoCodecId = null; /** * The video duration * * * @var int */ public $videoDuration = null; /** * The video bit rate * * * @var int */ public $videoBitRate = null; /** * The video bit rate mode * * * @var KalturaBitRateMode */ public $videoBitRateMode = null; /** * The video width * * * @var int */ public $videoWidth = null; /** * The video height * * * @var int */ public $videoHeight = null; /** * The video frame rate * * * @var float */ public $videoFrameRate = null; /** * The video display aspect ratio (dar) * * * @var float */ public $videoDar = null; /** * * * @var int */ public $videoRotation = null; /** * The audio format * * * @var string */ public $audioFormat = null; /** * The audio codec id * * * @var string */ public $audioCodecId = null; /** * The audio duration * * * @var int */ public $audioDuration = null; /** * The audio bit rate * * * @var int */ public $audioBitRate = null; /** * The audio bit rate mode * * * @var KalturaBitRateMode */ public $audioBitRateMode = null; /** * The number of audio channels * * * @var int */ public $audioChannels = null; /** * The audio sampling rate * * * @var int */ public $audioSamplingRate = null; /** * The audio resolution * * * @var int */ public $audioResolution = null; /** * The writing library * * * @var string */ public $writingLib = null; /** * The data as returned by the mediainfo command line * * * @var string */ public $rawData = null; /** * * * @var string */ public $multiStreamInfo = null; /** * * * @var int */ public $scanType = null; /** * * * @var string */ public $multiStream = null; } class KalturaNotification extends KalturaBaseJob { /** * * * @var string */ public $puserId = null; /** * * * @var KalturaNotificationType */ public $type = null; /** * * * @var string */ public $objectId = null; /** * * * @var KalturaNotificationStatus */ public $status = null; /** * * * @var string */ public $notificationData = null; /** * * * @var int */ public $numberOfAttempts = null; /** * * * @var string */ public $notificationResult = null; /** * * * @var KalturaNotificationObjectType */ public $objType = null; } class KalturaPartner extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var string */ public $name = null; /** * * * @var string */ public $website = null; /** * * * @var string */ public $notificationUrl = null; /** * * * @var int */ public $appearInSearch = null; /** * * * @var string * @readonly */ public $createdAt = null; /** * * * @var string */ public $adminName = null; /** * * * @var string */ public $adminEmail = null; /** * * * @var string */ public $description = null; /** * * * @var KalturaCommercialUseType */ public $commercialUse = null; /** * * * @var string */ public $landingPage = null; /** * * * @var string */ public $userLandingPage = null; /** * * * @var string */ public $contentCategories = null; /** * * * @var KalturaPartnerType */ public $type = null; /** * * * @var string */ public $phone = null; /** * * * @var string */ public $describeYourself = null; /** * * * @var bool */ public $adultContent = null; /** * * * @var string */ public $defConversionProfileType = null; /** * * * @var int */ public $notify = null; /** * * * @var int * @readonly */ public $status = null; /** * * * @var int */ public $allowQuickEdit = null; /** * * * @var int */ public $mergeEntryLists = null; /** * * * @var string */ public $notificationsConfig = null; /** * * * @var int */ public $maxUploadSize = null; /** * * * @var int * @readonly */ public $partnerPackage = null; /** * * * @var string * @readonly */ public $secret = null; /** * * * @var string * @readonly */ public $adminSecret = null; /** * * * @var string * @readonly */ public $cmsPassword = null; /** * * * @var int * @readonly */ public $allowMultiNotification = null; } class KalturaBatchGetExclusiveNotificationJobsResponse extends KalturaObjectBase { /** * * * @var array of KalturaNotification * @readonly */ public $notifications; /** * * * @var array of KalturaPartner * @readonly */ public $partners; } class KalturaFileExistsResponse extends KalturaObjectBase { /** * Indicates if the file exists * * * @var bool */ public $exists = null; /** * Indicates if the file size is right * * * @var bool */ public $sizeOk = null; } class KalturaBulkUpload extends KalturaObjectBase { /** * * * @var int */ public $id = null; /** * * * @var string */ public $uploadedBy = null; /** * * * @var int */ public $uploadedOn = null; /** * * * @var int */ public $numOfEntries = null; /** * * * @var KalturaBatchJobStatus */ public $status = null; /** * * * @var string */ public $logFileUrl = null; /** * * * @var string */ public $csvFileUrl = null; /** * * * @var array of KalturaBulkUploadResult */ public $results; } class KalturaBulkUploadListResponse extends KalturaObjectBase { /** * * * @var array of KalturaBulkUpload * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaCategory extends KalturaObjectBase { /** * The id of the Category * * * @var int * @readonly */ public $id = null; /** * * * @var int */ public $parentId = null; /** * * * @var int * @readonly */ public $depth = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The name of the Category. * The following characters are not allowed: '<', '>', ',' * * * @var string */ public $name = null; /** * The full name of the Category * * * @var string * @readonly */ public $fullName = null; /** * Number of entries in this Category (including child categories) * * * @var int * @readonly */ public $entriesCount = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; } class KalturaCategoryFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var int */ public $parentIdEqual = null; /** * * * @var string */ public $parentIdIn = null; /** * * * @var int */ public $depthEqual = null; /** * * * @var string */ public $fullNameEqual = null; /** * * * @var string */ public $fullNameStartsWith = null; } class KalturaCategoryListResponse extends KalturaObjectBase { /** * * * @var array of KalturaCategory * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaCropDimensions extends KalturaObjectBase { /** * Crop left point * * * @var int */ public $left = null; /** * Crop top point * * * @var int */ public $top = null; /** * Crop width * * * @var int */ public $width = null; /** * Crop height * * * @var int */ public $height = null; } class KalturaConversionProfile extends KalturaObjectBase { /** * The id of the Conversion Profile * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The name of the Conversion Profile * * * @var string */ public $name = null; /** * The description of the Conversion Profile * * * @var string */ public $description = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * List of included flavor ids (comma separated) * * * @var string */ public $flavorParamsIds = null; /** * True if this Conversion Profile is the default * * * @var KalturaNullableBoolean */ public $isDefault = null; /** * Cropping dimensions * * * @var KalturaCropDimensions */ public $cropDimensions; /** * Clipping start position (in miliseconds) * * * @var int */ public $clipStart = null; /** * Clipping duration (in miliseconds) * * * @var int */ public $clipDuration = null; } class KalturaConversionProfileFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; } class KalturaConversionProfileListResponse extends KalturaObjectBase { /** * * * @var array of KalturaConversionProfile * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaDataEntry extends KalturaBaseEntry { /** * The data of the entry * * @var string */ public $dataContent = null; } class KalturaDataEntryFilter extends KalturaBaseEntryFilter { } class KalturaDataListResponse extends KalturaObjectBase { /** * * * @var array of KalturaDataEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaDocumentEntry extends KalturaBaseEntry { /** * The type of the document * * @var KalturaDocumentType * @insertonly */ public $documentType = null; } class KalturaDocumentEntryFilter extends KalturaBaseEntryFilter { /** * * * @var KalturaDocumentType */ public $documentTypeEqual = null; /** * * * @var string */ public $documentTypeIn = null; } class KalturaDocumentListResponse extends KalturaObjectBase { /** * * * @var array of KalturaDocumentEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaEmailIngestionProfile extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var string */ public $name = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $emailAddress = null; /** * * * @var string */ public $mailboxId = null; /** * * * @var int */ public $partnerId = null; /** * * * @var int */ public $conversionProfile2Id = null; /** * * * @var KalturaEntryModerationStatus */ public $moderationStatus = null; /** * * * @var KalturaEmailIngestionProfileStatus * @readonly */ public $status = null; /** * * * @var string * @readonly */ public $createdAt = null; /** * * * @var string */ public $defaultCategory = null; /** * * * @var string */ public $defaultUserId = null; /** * * * @var string */ public $defaultTags = null; /** * * * @var string */ public $defaultAdminTags = null; /** * * * @var int */ public $maxAttachmentSizeKbytes = null; /** * * * @var int */ public $maxAttachmentsPerMail = null; } class KalturaPlayableEntry extends KalturaBaseEntry { /** * Number of plays * * * @var int * @readonly */ public $plays = null; /** * Number of views * * * @var int * @readonly */ public $views = null; /** * The width in pixels * * * @var int * @readonly */ public $width = null; /** * The height in pixels * * * @var int * @readonly */ public $height = null; /** * The duration in seconds * * * @var int * @readonly */ public $duration = null; /** * The duration in miliseconds * * * @var int * @readonly */ public $msDuration = null; /** * The duration type (short for 0-4 mins, medium for 4-20 mins, long for 20+ mins) * * * @var KalturaDurationType * @readonly */ public $durationType = null; } class KalturaMediaEntry extends KalturaPlayableEntry { /** * The media type of the entry * * * @var KalturaMediaType * @insertonly */ public $mediaType = null; /** * Override the default conversion quality * * * @var string * @insertonly */ public $conversionQuality = null; /** * The source type of the entry * * @var KalturaSourceType * @readonly */ public $sourceType = null; /** * The search provider type used to import this entry * * @var KalturaSearchProviderType * @readonly */ public $searchProviderType = null; /** * The ID of the media in the importing site * * @var string * @readonly */ public $searchProviderId = null; /** * The user name used for credits * * @var string */ public $creditUserName = null; /** * The URL for credits * * @var string */ public $creditUrl = null; /** * The media date extracted from EXIF data (For images) as Unix timestamp (In seconds) * * @var int * @readonly */ public $mediaDate = null; /** * The URL used for playback. This is not the download URL. * * @var string * @readonly */ public $dataUrl = null; /** * Comma separated flavor params ids that exists for this media entry * * * @var string * @readonly */ public $flavorParamsIds = null; } class KalturaFlavorAsset extends KalturaObjectBase { /** * The ID of the Flavor Asset * * * @var string * @readonly */ public $id = null; /** * The entry ID of the Flavor Asset * * * @var string * @readonly */ public $entryId = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The status of the Flavor Asset * * * @var KalturaFlavorAssetStatus * @readonly */ public $status = null; /** * The Flavor Params used to create this Flavor Asset * * * @var int * @readonly */ public $flavorParamsId = null; /** * The version of the Flavor Asset * * * @var int * @readonly */ public $version = null; /** * The width of the Flavor Asset * * * @var int * @readonly */ public $width = null; /** * The height of the Flavor Asset * * * @var int * @readonly */ public $height = null; /** * The overall bitrate (in KBits) of the Flavor Asset * * * @var int * @readonly */ public $bitrate = null; /** * The frame rate (in FPS) of the Flavor Asset * * * @var int * @readonly */ public $frameRate = null; /** * The size (in KBytes) of the Flavor Asset * * * @var int * @readonly */ public $size = null; /** * True if this Flavor Asset is the original source * * * @var bool */ public $isOriginal = null; /** * Tags used to identify the Flavor Asset in various scenarios * * * @var string */ public $tags = null; /** * True if this Flavor Asset is playable in KDP * * * @var bool */ public $isWeb = null; /** * The file extension * * * @var string */ public $fileExt = null; /** * The container format * * * @var string */ public $containerFormat = null; /** * The video codec * * * @var string */ public $videoCodecId = null; /** * * * @var int */ public $createdAt = null; /** * * * @var int */ public $updatedAt = null; /** * * * @var int */ public $deletedAt = null; /** * * * @var string */ public $description = null; } class KalturaFlavorParams extends KalturaObjectBase { /** * The id of the Flavor Params * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The name of the Flavor Params * * * @var string */ public $name = null; /** * The description of the Flavor Params * * * @var string */ public $description = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * True if those Flavor Params are part of system defaults * * * @var KalturaNullableBoolean * @readonly */ public $isSystemDefault = null; /** * The Flavor Params tags are used to identify the flavor for different usage (e.g. web, hd, mobile) * * * @var string */ public $tags = null; /** * The container format of the Flavor Params * * * @var KalturaContainerFormat */ public $format = null; /** * The video codec of the Flavor Params * * * @var KalturaVideoCodec */ public $videoCodec = null; /** * The video bitrate (in KBits) of the Flavor Params * * * @var int */ public $videoBitrate = null; /** * The audio codec of the Flavor Params * * * @var KalturaAudioCodec */ public $audioCodec = null; /** * The audio bitrate (in KBits) of the Flavor Params * * * @var int */ public $audioBitrate = null; /** * The number of audio channels for "downmixing" * * * @var int */ public $audioChannels = null; /** * The audio sample rate of the Flavor Params * * * @var int */ public $audioSampleRate = null; /** * The desired width of the Flavor Params * * * @var int */ public $width = null; /** * The desired height of the Flavor Params * * * @var int */ public $height = null; /** * The frame rate of the Flavor Params * * * @var int */ public $frameRate = null; /** * The gop size of the Flavor Params * * * @var int */ public $gopSize = null; /** * The list of conversion engines (comma separated) * * * @var string */ public $conversionEngines = null; /** * The list of conversion engines extra params (separated with "|") * * * @var string */ public $conversionEnginesExtraParams = null; /** * * * @var bool */ public $twoPass = null; /** * * * @var int */ public $deinterlice = null; /** * * * @var int */ public $rotate = null; /** * * * @var string */ public $operators = null; /** * * * @var int */ public $engineVersion = null; } class KalturaFlavorAssetWithParams extends KalturaObjectBase { /** * The Flavor Asset (Can be null when there are params without asset) * * * @var KalturaFlavorAsset */ public $flavorAsset; /** * The Flavor Params * * * @var KalturaFlavorParams */ public $flavorParams; /** * The entry id * * * @var string */ public $entryId = null; } class KalturaFlavorParamsFilter extends KalturaFilter { /** * * * @var KalturaNullableBoolean */ public $isSystemDefaultEqual = null; } class KalturaFlavorParamsListResponse extends KalturaObjectBase { /** * * * @var array of KalturaFlavorParams * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaBatchJobResponse extends KalturaObjectBase { /** * The main batch job * * * @var KalturaBatchJob */ public $batchJob; /** * All batch jobs that reference the main job as root * * * @var array of KalturaBatchJob */ public $childBatchJobs; } class KalturaMailJobData extends KalturaJobData { /** * * * @var KalturaMailType */ public $mailType = null; /** * * * @var int */ public $mailPriority = null; /** * * * @var KalturaMailJobStatus */ public $status = null; /** * * * @var string */ public $recipientName = null; /** * * * @var string */ public $recipientEmail = null; /** * kuserId * * @var int */ public $recipientId = null; /** * * * @var string */ public $fromName = null; /** * * * @var string */ public $fromEmail = null; /** * * * @var string */ public $bodyParams = null; /** * * * @var string */ public $subjectParams = null; /** * * * @var string */ public $templatePath = null; /** * * * @var int */ public $culture = null; /** * * * @var int */ public $campaignId = null; /** * * * @var int */ public $minSendDate = null; /** * * * @var bool */ public $isHtml = null; } class KalturaBatchJobFilterExt extends KalturaBatchJobFilter { /** * * * @var string */ public $jobTypeAndSubTypeIn = null; } class KalturaBatchJobListResponse extends KalturaObjectBase { /** * * * @var array of KalturaBatchJob * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaLiveStreamBitrate extends KalturaObjectBase { /** * * * @var int */ public $bitrate = null; /** * * * @var int */ public $width = null; /** * * * @var int */ public $height = null; } class KalturaLiveStreamEntry extends KalturaMediaEntry { /** * The message to be presented when the stream is offline * * * @var string */ public $offlineMessage = null; /** * The stream id as provided by the provider * * * @var string * @readonly */ public $streamRemoteId = null; /** * The backup stream id as provided by the provider * * * @var string * @readonly */ public $streamRemoteBackupId = null; /** * Array of supported bitrates * * * @var array of KalturaLiveStreamBitrate */ public $bitrates; } class KalturaLiveStreamAdminEntry extends KalturaLiveStreamEntry { /** * The broadcast primary ip * * * @var string */ public $encodingIP1 = null; /** * The broadcast secondary ip * * * @var string */ public $encodingIP2 = null; /** * The broadcast password * * * @var string */ public $streamPassword = null; /** * The broadcast username * * * @var string * @readonly */ public $streamUsername = null; } class KalturaPlayableEntryFilter extends KalturaBaseEntryFilter { /** * * * @var int */ public $durationLessThan = null; /** * * * @var int */ public $durationGreaterThan = null; /** * * * @var int */ public $durationLessThanOrEqual = null; /** * * * @var int */ public $durationGreaterThanOrEqual = null; /** * * * @var int */ public $msDurationLessThan = null; /** * * * @var int */ public $msDurationGreaterThan = null; /** * * * @var int */ public $msDurationLessThanOrEqual = null; /** * * * @var int */ public $msDurationGreaterThanOrEqual = null; /** * * * @var string */ public $durationTypeMatchOr = null; } class KalturaMediaEntryFilter extends KalturaPlayableEntryFilter { /** * * * @var KalturaMediaType */ public $mediaTypeEqual = null; /** * * * @var string */ public $mediaTypeIn = null; /** * * * @var int */ public $mediaDateGreaterThanOrEqual = null; /** * * * @var int */ public $mediaDateLessThanOrEqual = null; /** * * * @var string */ public $flavorParamsIdsMatchOr = null; /** * * * @var string */ public $flavorParamsIdsMatchAnd = null; } class KalturaLiveStreamEntryFilter extends KalturaMediaEntryFilter { } class KalturaLiveStreamListResponse extends KalturaObjectBase { /** * * * @var array of KalturaLiveStreamEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSearch extends KalturaObjectBase { /** * * * @var string */ public $keyWords = null; /** * * * @var KalturaSearchProviderType */ public $searchSource = null; /** * * * @var KalturaMediaType */ public $mediaType = null; /** * Use this field to pass dynamic data for searching * For example - if you set this field to "mymovies_$partner_id" * The $partner_id will be automatically replcaed with your real partner Id * * * @var string */ public $extraData = null; /** * * * @var string */ public $authData = null; } class KalturaSearchResult extends KalturaSearch { /** * * * @var string */ public $id = null; /** * * * @var string */ public $title = null; /** * * * @var string */ public $thumbUrl = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $tags = null; /** * * * @var string */ public $url = null; /** * * * @var string */ public $sourceLink = null; /** * * * @var string */ public $credit = null; /** * * * @var KalturaLicenseType */ public $licenseType = null; /** * * * @var string */ public $flashPlaybackType = null; } class KalturaMediaListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMediaEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMixEntry extends KalturaPlayableEntry { /** * Indicates whether the user has submited a real thumbnail to the mix (Not the one that was generated automaticaly) * * * @var bool * @readonly */ public $hasRealThumbnail = null; /** * The editor type used to edit the metadata * * * @var KalturaEditorType */ public $editorType = null; /** * The xml data of the mix * * @var string */ public $dataContent = null; } class KalturaMixEntryFilter extends KalturaPlayableEntryFilter { } class KalturaMixListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMixEntry * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaClientNotification extends KalturaObjectBase { /** * The URL where the notification should be sent to * * @var string */ public $url = null; /** * The serialized notification data to send * * @var string */ public $data = null; } class KalturaPartnerUsage extends KalturaObjectBase { /** * * * @var float * @readonly */ public $hostingGB = null; /** * * * @var float * @readonly */ public $Percent = null; /** * * * @var int * @readonly */ public $packageBW = null; /** * * * @var int * @readonly */ public $usageGB = null; /** * * * @var int * @readonly */ public $reachedLimitDate = null; /** * * * @var string * @readonly */ public $usageGraph = null; } class KalturaMediaEntryFilterForPlaylist extends KalturaMediaEntryFilter { /** * * * @var int */ public $limit = null; } class KalturaPlaylist extends KalturaBaseEntry { /** * Content of the playlist - * XML if the playlistType is dynamic * text if the playlistType is static * url if the playlistType is mRss * * @var string */ public $playlistContent = null; /** * * * @var array of KalturaMediaEntryFilterForPlaylist */ public $filters; /** * * * @var int */ public $totalResults = null; /** * Type of playlist * * @var KalturaPlaylistType */ public $playlistType = null; /** * Number of plays * * @var int * @readonly */ public $plays = null; /** * Number of views * * @var int * @readonly */ public $views = null; /** * The duration in seconds * * @var int * @readonly */ public $duration = null; } class KalturaPlaylistFilter extends KalturaBaseEntryFilter { } class KalturaPlaylistListResponse extends KalturaObjectBase { /** * * * @var array of KalturaPlaylist * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaReportInputFilter extends KalturaObjectBase { /** * * * @var int */ public $fromDate = null; /** * * * @var int */ public $toDate = null; /** * * * @var string */ public $keywords = null; /** * * * @var bool */ public $searchInTags = null; /** * * * @var bool */ public $searchInAdminTags = null; /** * * * @var string */ public $categories = null; } class KalturaReportGraph extends KalturaObjectBase { /** * * * @var string */ public $id = null; /** * * * @var string */ public $data = null; } class KalturaReportTotal extends KalturaObjectBase { /** * * * @var string */ public $header = null; /** * * * @var string */ public $data = null; } class KalturaReportTable extends KalturaObjectBase { /** * * * @var string * @readonly */ public $header = null; /** * * * @var string * @readonly */ public $data = null; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSearchResultResponse extends KalturaObjectBase { /** * * * @var array of KalturaSearchResult * @readonly */ public $objects; /** * * * @var bool * @readonly */ public $needMediaInfo = null; } class KalturaSearchAuthData extends KalturaObjectBase { /** * The authentication data that further should be used for search * * * @var string */ public $authData = null; /** * Login URL when user need to sign-in and authorize the search * * @var string */ public $loginUrl = null; /** * Information when there was an error * * @var string */ public $message = null; } class KalturaStartWidgetSessionResponse extends KalturaObjectBase { /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string * @readonly */ public $ks = null; /** * * * @var string * @readonly */ public $userId = null; } class KalturaStatsEvent extends KalturaObjectBase { /** * * * @var string */ public $clientVer = null; /** * * * @var KalturaStatsEventType */ public $eventType = null; /** * the client's timestamp of this event * * * @var float */ public $eventTimestamp = null; /** * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it * * @var string */ public $sessionId = null; /** * * * @var int */ public $partnerId = null; /** * * * @var string */ public $entryId = null; /** * the UV cookie - creates in the operational system and should be passed on ofr every event * * @var string */ public $uniqueViewer = null; /** * * * @var string */ public $widgetId = null; /** * * * @var int */ public $uiconfId = null; /** * the partner's user id * * @var string */ public $userId = null; /** * the timestamp along the video when the event happend * * @var int */ public $currentPoint = null; /** * the duration of the video in milliseconds - will make it much faster than quering the db for each entry * * @var int */ public $duration = null; /** * will be retrieved from the request of the user * * @var string * @readonly */ public $userIp = null; /** * the time in milliseconds the event took * * @var int */ public $processDuration = null; /** * the id of the GUI control - will be used in the future to better understand what the user clicked * * @var string */ public $controlId = null; /** * true if the user ever used seek in this session * * @var bool */ public $seek = null; /** * timestamp of the new point on the timeline of the video after the user seeks * * @var int */ public $newPoint = null; /** * the referrer of the client * * @var string */ public $referrer = null; /** * will indicate if the event is thrown for the first video in the session * * @var bool */ public $isFirstInSession = null; } class KalturaStatsKmcEvent extends KalturaObjectBase { /** * * * @var string */ public $clientVer = null; /** * * * @var string */ public $kmcEventActionPath = null; /** * * * @var KalturaStatsKmcEventType */ public $kmcEventType = null; /** * the client's timestamp of this event * * * @var float */ public $eventTimestamp = null; /** * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it * * @var string */ public $sessionId = null; /** * * * @var int */ public $partnerId = null; /** * * * @var string */ public $entryId = null; /** * * * @var string */ public $widgetId = null; /** * * * @var int */ public $uiconfId = null; /** * the partner's user id * * @var string */ public $userId = null; /** * will be retrieved from the request of the user * * @var string * @readonly */ public $userIp = null; } class KalturaCEError extends KalturaObjectBase { /** * * * @var string * @readonly */ public $id = null; /** * * * @var int */ public $partnerId = null; /** * * * @var string */ public $browser = null; /** * * * @var string */ public $serverIp = null; /** * * * @var string */ public $serverOs = null; /** * * * @var string */ public $phpVersion = null; /** * * * @var string */ public $ceAdminEmail = null; /** * * * @var string */ public $type = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $data = null; } class KalturaBaseSyndicationFeed extends KalturaObjectBase { /** * * * @var string * @readonly */ public $id = null; /** * * * @var string * @readonly */ public $feedUrl = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * link a playlist that will set what content the feed will include * if empty, all content will be included in feed * * * @var string */ public $playlistId = null; /** * feed name * * * @var string */ public $name = null; /** * feed status * * * @var KalturaSyndicationFeedStatus * @readonly */ public $status = null; /** * feed type * * * @var KalturaSyndicationFeedType * @readonly */ public $type = null; /** * Base URL for each video, on the partners site * This is required by all syndication types. * * @var string */ public $landingPage = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * allow_embed tells google OR yahoo weather to allow embedding the video on google OR yahoo video results * or just to provide a link to the landing page. * it is applied on the video-player_loc property in the XML (google) * and addes media-player tag (yahoo) * * @var bool */ public $allowEmbed = null; /** * Select a uiconf ID as player skin to include in the kwidget url * * @var int */ public $playerUiconfId = null; /** * * * @var int */ public $flavorParamId = null; /** * * * @var bool */ public $transcodeExistingContent = null; /** * * * @var bool */ public $addToDefaultConversionProfile = null; /** * * * @var string */ public $categories = null; } class KalturaBaseSyndicationFeedFilter extends KalturaFilter { } class KalturaBaseSyndicationFeedListResponse extends KalturaObjectBase { /** * * * @var array of KalturaBaseSyndicationFeed * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSyndicationFeedEntryCount extends KalturaObjectBase { /** * the total count of entries that should appear in the feed without flavor filtering * * @var int */ public $totalEntryCount = null; /** * count of entries that will appear in the feed (including all relevant filters) * * @var int */ public $actualEntryCount = null; /** * count of entries that requires transcoding in order to be included in feed * * @var int */ public $requireTranscodingCount = null; } class KalturaUiConf extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * Name of the uiConf, this is not a primary key * * @var string */ public $name = null; /** * * * @var string */ public $description = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var KalturaUiConfObjType */ public $objType = null; /** * * * @var string * @readonly */ public $objTypeAsString = null; /** * * * @var int */ public $width = null; /** * * * @var int */ public $height = null; /** * * * @var string */ public $htmlParams = null; /** * * * @var string */ public $swfUrl = null; /** * * * @var string * @readonly */ public $confFilePath = null; /** * * * @var string */ public $confFile = null; /** * * * @var string */ public $confFileFeatures = null; /** * * * @var string */ public $confVars = null; /** * * * @var bool */ public $useCdn = null; /** * * * @var string */ public $tags = null; /** * * * @var string */ public $swfUrlVersion = null; /** * Entry creation date as Unix timestamp (In seconds) * * @var int * @readonly */ public $createdAt = null; /** * Entry creation date as Unix timestamp (In seconds) * * @var int * @readonly */ public $updatedAt = null; /** * * * @var KalturaUiConfCreationMode */ public $creationMode = null; } class KalturaUiConfFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var string */ public $nameLike = null; /** * * * @var KalturaUiConfObjType */ public $objTypeEqual = null; /** * * * @var string */ public $tagsMultiLikeOr = null; /** * * * @var string */ public $tagsMultiLikeAnd = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $updatedAtGreaterThanOrEqual = null; /** * * * @var int */ public $updatedAtLessThanOrEqual = null; /** * * * @var KalturaUiConfCreationMode */ public $creationModeEqual = null; /** * * * @var string */ public $creationModeIn = null; } class KalturaUiConfListResponse extends KalturaObjectBase { /** * * * @var array of KalturaUiConf * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaUploadResponse extends KalturaObjectBase { /** * * * @var string */ public $uploadTokenId = null; /** * * * @var int */ public $fileSize = null; /** * * * @var KalturaUploadErrorCode */ public $errorCode = null; /** * * * @var string */ public $errorDescription = null; } class KalturaUploadToken extends KalturaObjectBase { /** * Upload token unique ID * * @var string * @readonly */ public $id = null; /** * Partner ID of the upload token * * @var int * @readonly */ public $partnerId = null; /** * User id for the upload token * * @var string * @readonly */ public $userId = null; /** * Status of the upload token * * @var KalturaUploadTokenStatus * @readonly */ public $status = null; /** * Name of the file for the upload token, can be empty when the upload token is created and will be updated internally after the file is uploaded * * @var string * @insertonly */ public $fileName = null; /** * File size in bytes, can be empty when the upload token is created and will be updated internally after the file is uploaded * * @var float * @insertonly */ public $fileSize = null; /** * Uploaded file size in bytes, can be used to identify how many bytes were uploaded before resuming * * @var float * @readonly */ public $uploadedFileSize = null; /** * Creation date as Unix timestamp (In seconds) * * @var int * @readonly */ public $createdAt = null; /** * Last update date as Unix timestamp (In seconds) * * @var int * @readonly */ public $updatedAt = null; } class KalturaUploadTokenFilter extends KalturaFilter { /** * * * @var string */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var string */ public $userIdEqual = null; /** * * * @var KalturaUploadTokenStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; } class KalturaUploadTokenListResponse extends KalturaObjectBase { /** * * * @var array of KalturaUploadToken * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaUser extends KalturaObjectBase { /** * * * @var string */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string */ public $screenName = null; /** * * * @var string */ public $fullName = null; /** * * * @var string */ public $email = null; /** * * * @var int */ public $dateOfBirth = null; /** * * * @var string */ public $country = null; /** * * * @var string */ public $state = null; /** * * * @var string */ public $city = null; /** * * * @var string */ public $zip = null; /** * * * @var string */ public $thumbnailUrl = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $tags = null; /** * Admin tags can be updated only by using an admin session * * @var string */ public $adminTags = null; /** * * * @var KalturaGender */ public $gender = null; /** * * * @var KalturaUserStatus */ public $status = null; /** * Creation date as Unix timestamp (In seconds) * * @var int * @readonly */ public $createdAt = null; /** * Last update date as Unix timestamp (In seconds) * * @var int * @readonly */ public $updatedAt = null; /** * Can be used to store various partner related data as a string * * @var string */ public $partnerData = null; /** * * * @var int */ public $indexedPartnerDataInt = null; /** * * * @var string */ public $indexedPartnerDataString = null; /** * * * @var int * @readonly */ public $storageSize = null; } class KalturaUserFilter extends KalturaFilter { /** * * * @var string */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var string */ public $screenNameLike = null; /** * * * @var string */ public $screenNameStartsWith = null; /** * * * @var string */ public $emailLike = null; /** * * * @var string */ public $emailStartsWith = null; /** * * * @var string */ public $tagsMultiLikeOr = null; /** * * * @var string */ public $tagsMultiLikeAnd = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; } class KalturaUserListResponse extends KalturaObjectBase { /** * * * @var array of KalturaUser * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaWidget extends KalturaObjectBase { /** * * * @var string * @readonly */ public $id = null; /** * * * @var string */ public $sourceWidgetId = null; /** * * * @var string * @readonly */ public $rootWidgetId = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string */ public $entryId = null; /** * * * @var int */ public $uiConfId = null; /** * * * @var KalturaWidgetSecurityType */ public $securityType = null; /** * * * @var int */ public $securityPolicy = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * Can be used to store various partner related data as a string * * @var string */ public $partnerData = null; /** * * * @var string * @readonly */ public $widgetHTML = null; } class KalturaWidgetFilter extends KalturaFilter { /** * * * @var string */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var string */ public $sourceWidgetIdEqual = null; /** * * * @var string */ public $rootWidgetIdEqual = null; /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var string */ public $entryIdEqual = null; /** * * * @var int */ public $uiConfIdEqual = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $updatedAtGreaterThanOrEqual = null; /** * * * @var int */ public $updatedAtLessThanOrEqual = null; /** * * * @var string */ public $partnerDataLike = null; } class KalturaWidgetListResponse extends KalturaObjectBase { /** * * * @var array of KalturaWidget * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSystemUser extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var string */ public $email = null; /** * * * @var string */ public $firstName = null; /** * * * @var string */ public $lastName = null; /** * * * @var string */ public $password = null; /** * * * @var int * @readonly */ public $createdBy = null; /** * * * @var KalturaSystemUserStatus */ public $status = null; /** * * * @var bool * @readonly */ public $isPrimary = null; /** * * * @var int * @readonly */ public $statusUpdatedAt = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var KalturaSystemUserRole */ public $role = null; } class KalturaSystemUserFilter extends KalturaFilter { } class KalturaSystemUserListResponse extends KalturaObjectBase { /** * * * @var array of KalturaSystemUser * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaPartnerFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var string */ public $idIn = null; /** * * * @var string */ public $nameLike = null; /** * * * @var string */ public $nameMultiLikeOr = null; /** * * * @var string */ public $nameMultiLikeAnd = null; /** * * * @var string */ public $nameEqual = null; /** * * * @var int */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; /** * * * @var string */ public $partnerNameDescriptionWebsiteAdminNameAdminEmailLike = null; } class KalturaSystemPartnerUsageFilter extends KalturaFilter { /** * Date range from * * * @var int */ public $fromDate = null; /** * Date range to * * * @var int */ public $toDate = null; } class KalturaSystemPartnerUsageItem extends KalturaObjectBase { /** * Partner ID * * * @var int */ public $partnerId = null; /** * Partner name * * * @var string */ public $partnerName = null; /** * Partner status * * * @var KalturaPartnerStatus */ public $partnerStatus = null; /** * Partner package * * * @var int */ public $partnerPackage = null; /** * Partner creation date (Unix timestamp) * * * @var int */ public $partnerCreatedAt = null; /** * Number of player loads in the specific date range * * * @var int */ public $views = null; /** * Number of plays in the specific date range * * * @var int */ public $plays = null; /** * Number of new entries created during specific date range * * * @var int */ public $entriesCount = null; /** * Total number of entries * * * @var int */ public $totalEntriesCount = null; /** * Number of new video entries created during specific date range * * * @var int */ public $videoEntriesCount = null; /** * Number of new image entries created during specific date range * * * @var int */ public $imageEntriesCount = null; /** * Number of new audio entries created during specific date range * * * @var int */ public $audioEntriesCount = null; /** * Number of new mix entries created during specific date range * * * @var int */ public $mixEntriesCount = null; /** * The total bandwidth usage during the given date range (in MB) * * * @var float */ public $bandwidth = null; /** * The total storage consumption (in MB) * * * @var float */ public $totalStorage = null; /** * The change in storage consumption (new uploads) during the given date range (in MB) * * * @var float */ public $storage = null; } class KalturaSystemPartnerUsageListResponse extends KalturaObjectBase { /** * * * @var array of KalturaSystemPartnerUsageItem */ public $objects; /** * * * @var int */ public $totalCount = null; } class KalturaPartnerListResponse extends KalturaObjectBase { /** * * * @var array of KalturaPartner * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaSystemPartnerConfiguration extends KalturaObjectBase { /** * * * @var string */ public $host = null; /** * * * @var string */ public $cdnHost = null; /** * * * @var int */ public $maxBulkSize = null; /** * * * @var int */ public $partnerPackage = null; /** * * * @var bool */ public $liveStreamEnabled = null; /** * * * @var bool */ public $moderateContent = null; /** * * * @var string */ public $rtmpUrl = null; /** * * * @var bool */ public $storageDeleteFromKaltura = null; /** * * * @var KalturaStorageServePriority */ public $storageServePriority = null; /** * * * @var int */ public $kmcVersion = null; /** * * * @var bool */ public $enableAnalyticsTab = null; /** * * * @var bool */ public $enableSilverLight = null; } class KalturaSystemPartnerPackage extends KalturaObjectBase { /** * * * @var int */ public $id = null; /** * * * @var string */ public $name = null; } class KalturaFileSyncFilter extends KalturaFilter { /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var KalturaFileSyncObjectType */ public $objectTypeEqual = null; /** * * * @var string */ public $objectTypeIn = null; /** * * * @var string */ public $objectIdEqual = null; /** * * * @var string */ public $objectIdIn = null; /** * * * @var string */ public $versionEqual = null; /** * * * @var string */ public $versionIn = null; /** * * * @var int */ public $objectSubTypeEqual = null; /** * * * @var string */ public $objectSubTypeIn = null; /** * * * @var string */ public $dcEqual = null; /** * * * @var string */ public $dcIn = null; /** * * * @var int */ public $originalEqual = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $updatedAtGreaterThanOrEqual = null; /** * * * @var int */ public $updatedAtLessThanOrEqual = null; /** * * * @var int */ public $readyAtGreaterThanOrEqual = null; /** * * * @var int */ public $readyAtLessThanOrEqual = null; /** * * * @var int */ public $syncTimeGreaterThanOrEqual = null; /** * * * @var int */ public $syncTimeLessThanOrEqual = null; /** * * * @var KalturaFileSyncStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; /** * * * @var KalturaFileSyncType */ public $fileTypeEqual = null; /** * * * @var string */ public $fileTypeIn = null; /** * * * @var int */ public $linkedIdEqual = null; /** * * * @var int */ public $linkCountGreaterThanOrEqual = null; /** * * * @var int */ public $linkCountLessThanOrEqual = null; /** * * * @var int */ public $fileSizeGreaterThanOrEqual = null; /** * * * @var int */ public $fileSizeLessThanOrEqual = null; } class KalturaFileSync extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var KalturaFileSyncObjectType * @readonly */ public $objectType = null; /** * * * @var string * @readonly */ public $objectId = null; /** * * * @var string * @readonly */ public $version = null; /** * * * @var int * @readonly */ public $objectSubType = null; /** * * * @var string * @readonly */ public $dc = null; /** * * * @var int * @readonly */ public $original = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var int * @readonly */ public $readyAt = null; /** * * * @var int * @readonly */ public $syncTime = null; /** * * * @var KalturaFileSyncStatus * @readonly */ public $status = null; /** * * * @var KalturaFileSyncType * @readonly */ public $fileType = null; /** * * * @var int * @readonly */ public $linkedId = null; /** * * * @var int * @readonly */ public $linkCount = null; /** * * * @var string * @readonly */ public $fileRoot = null; /** * * * @var string * @readonly */ public $filePath = null; /** * * * @var int * @readonly */ public $fileSize = null; /** * * * @var string * @readonly */ public $fileUrl = null; /** * * * @var string * @readonly */ public $fileContent = null; /** * * * @var int * @readonly */ public $fileDiscSize = null; } class KalturaFileSyncListResponse extends KalturaObjectBase { /** * * * @var array of KalturaFileSync * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaFlavorParamsOutputFilter extends KalturaFlavorParamsFilter { /** * * * @var int */ public $flavorParamsIdEqual = null; /** * * * @var string */ public $flavorParamsVersionEqual = null; /** * * * @var string */ public $flavorAssetIdEqual = null; /** * * * @var string */ public $flavorAssetVersionEqual = null; } class KalturaFlavorParamsOutput extends KalturaFlavorParams { /** * * * @var int */ public $flavorParamsId = null; /** * * * @var string */ public $commandLinesStr = null; /** * * * @var string */ public $flavorParamsVersion = null; /** * * * @var string */ public $flavorAssetId = null; /** * * * @var string */ public $flavorAssetVersion = null; /** * * * @var int */ public $readyBehavior = null; } class KalturaFlavorParamsOutputListResponse extends KalturaObjectBase { /** * * * @var array of KalturaFlavorParamsOutput * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMediaInfoFilter extends KalturaFilter { /** * * * @var string */ public $flavorAssetIdEqual = null; } class KalturaMediaInfoListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMediaInfo * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaStorageProfile extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string */ public $name = null; /** * * * @var string */ public $desciption = null; /** * * * @var KalturaStorageProfileStatus */ public $status = null; /** * * * @var KalturaStorageProfileProtocol */ public $protocol = null; /** * * * @var string */ public $storageUrl = null; /** * * * @var string */ public $storageBaseDir = null; /** * * * @var string */ public $storageUsername = null; /** * * * @var string */ public $storagePassword = null; /** * * * @var bool */ public $storageFtpPassiveMode = null; /** * * * @var string */ public $deliveryHttpBaseUrl = null; /** * * * @var string */ public $deliveryRmpBaseUrl = null; /** * * * @var string */ public $deliveryIisBaseUrl = null; /** * * * @var int */ public $minFileSize = null; /** * * * @var int */ public $maxFileSize = null; /** * * * @var string */ public $flavorParamsIds = null; /** * * * @var int */ public $maxConcurrentConnections = null; /** * * * @var string */ public $pathManagerClass = null; /** * * * @var string */ public $urlManagerClass = null; /** * TODO - remove after events manager is implemented * No need to create enum for temp field * * * @var int */ public $trigger = null; } class KalturaStorageProfileListResponse extends KalturaObjectBase { /** * * * @var array of KalturaStorageProfile * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMetadataFilter extends KalturaFilter { /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var int */ public $metadataProfileIdEqual = null; /** * * * @var int */ public $metadataProfileVersionEqual = null; /** * * * @var int */ public $metadataProfileVersionGreaterThanOrEqual = null; /** * * * @var int */ public $metadataProfileVersionLessThanOrEqual = null; /** * * * @var KalturaMetadataObjectType */ public $metadataObjectTypeEqual = null; /** * * * @var string */ public $objectIdEqual = null; /** * * * @var string */ public $objectIdIn = null; /** * * * @var int */ public $versionEqual = null; /** * * * @var int */ public $versionGreaterThanOrEqual = null; /** * * * @var int */ public $versionLessThanOrEqual = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $updatedAtGreaterThanOrEqual = null; /** * * * @var int */ public $updatedAtLessThanOrEqual = null; /** * * * @var KalturaMetadataStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; } class KalturaMetadata extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var int * @readonly */ public $metadataProfileId = null; /** * * * @var int * @readonly */ public $metadataProfileVersion = null; /** * * * @var KalturaMetadataObjectType * @readonly */ public $metadataObjectType = null; /** * * * @var string * @readonly */ public $objectId = null; /** * * * @var int * @readonly */ public $version = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var KalturaMetadataStatus * @readonly */ public $status = null; /** * * * @var string * @readonly */ public $xml = null; } class KalturaMetadataListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMetadata * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMetadataProfileFilter extends KalturaFilter { /** * * * @var int */ public $idEqual = null; /** * * * @var int */ public $partnerIdEqual = null; /** * * * @var KalturaMetadataObjectType */ public $metadataObjectTypeEqual = null; /** * * * @var int */ public $versionEqual = null; /** * * * @var int */ public $createdAtGreaterThanOrEqual = null; /** * * * @var int */ public $createdAtLessThanOrEqual = null; /** * * * @var int */ public $updatedAtGreaterThanOrEqual = null; /** * * * @var int */ public $updatedAtLessThanOrEqual = null; /** * * * @var KalturaMetadataProfileStatus */ public $statusEqual = null; /** * * * @var string */ public $statusIn = null; } class KalturaMetadataProfile extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var KalturaMetadataObjectType */ public $metadataObjectType = null; /** * * * @var int * @readonly */ public $version = null; /** * * * @var string */ public $name = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var KalturaMetadataProfileStatus * @readonly */ public $status = null; /** * * * @var string * @readonly */ public $xsd = null; /** * * * @var string * @readonly */ public $views = null; } class KalturaMetadataProfileListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMetadataProfile * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMetadataProfileField extends KalturaObjectBase { /** * * * @var int * @readonly */ public $id = null; /** * * * @var string * @readonly */ public $xPath = null; /** * * * @var string * @readonly */ public $key = null; /** * * * @var string * @readonly */ public $label = null; } class KalturaMetadataProfileFieldListResponse extends KalturaObjectBase { /** * * * @var array of KalturaMetadataProfileField * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; } class KalturaMetadataBatchJob extends KalturaBatchJob { } class KalturaTransformMetadataResponse extends KalturaObjectBase { /** * * * @var array of KalturaMetadata * @readonly */ public $objects; /** * * * @var int * @readonly */ public $totalCount = null; /** * * * @var int * @readonly */ public $lowerVersionCount = null; } class KalturaUpgradeMetadataResponse extends KalturaObjectBase { /** * * * @var int * @readonly */ public $totalCount = null; /** * * * @var int * @readonly */ public $lowerVersionCount = null; } class KalturaSearchCondition extends KalturaSearchItem { /** * * * @var string */ public $field = null; /** * * * @var string */ public $value = null; } class KalturaCountryRestriction extends KalturaBaseRestriction { /** * Country restriction type (Allow or deny) * * * @var KalturaCountryRestrictionType */ public $countryRestrictionType = null; /** * Comma separated list of country codes to allow to deny * * * @var string */ public $countryList = null; } class KalturaDirectoryRestriction extends KalturaBaseRestriction { /** * Kaltura directory restriction type * * * @var KalturaDirectoryRestrictionType */ public $directoryRestrictionType = null; } class KalturaSessionRestriction extends KalturaBaseRestriction { } class KalturaPreviewRestriction extends KalturaSessionRestriction { /** * The preview restriction length * * * @var int */ public $previewLength = null; } class KalturaSiteRestriction extends KalturaBaseRestriction { /** * The site restriction type (allow or deny) * * * @var KalturaSiteRestrictionType */ public $siteRestrictionType = null; /** * Comma separated list of sites (domains) to allow or deny * * * @var string */ public $siteList = null; } class KalturaMailJobFilter extends KalturaBaseJobFilter { } class KalturaNotificationFilter extends KalturaBaseJobFilter { } class KalturaLiveStreamAdminEntryFilter extends KalturaLiveStreamEntryFilter { } class KalturaGoogleVideoSyndicationFeedFilter extends KalturaBaseSyndicationFeedFilter { } class KalturaITunesSyndicationFeedFilter extends KalturaBaseSyndicationFeedFilter { } class KalturaTubeMogulSyndicationFeedFilter extends KalturaBaseSyndicationFeedFilter { } class KalturaYahooSyndicationFeedFilter extends KalturaBaseSyndicationFeedFilter { } class KalturaMailJob extends KalturaBaseJob { /** * * * @var KalturaMailType */ public $mailType = null; /** * * * @var int */ public $mailPriority = null; /** * * * @var KalturaMailJobStatus */ public $status = null; /** * * * @var string */ public $recipientName = null; /** * * * @var string */ public $recipientEmail = null; /** * kuserId * * @var int */ public $recipientId = null; /** * * * @var string */ public $fromName = null; /** * * * @var string */ public $fromEmail = null; /** * * * @var string */ public $bodyParams = null; /** * * * @var string */ public $subjectParams = null; /** * * * @var string */ public $templatePath = null; /** * * * @var int */ public $culture = null; /** * * * @var int */ public $campaignId = null; /** * * * @var int */ public $minSendDate = null; } class KalturaBulkDownloadJobData extends KalturaJobData { /** * Comma separated list of entry ids * * * @var string */ public $entryIds = null; /** * Flavor params id to use for conversion * * * @var int */ public $flavorParamsId = null; /** * The id of the requesting user * * * @var string */ public $puserId = null; } class KalturaBulkUploadJobData extends KalturaJobData { /** * * * @var int */ public $userId = null; /** * The screen name of the user * * * @var string */ public $uploadedBy = null; /** * Selected profile id for all bulk entries * * * @var int */ public $conversionProfileId = null; /** * Created by the API * * * @var string */ public $csvFilePath = null; /** * Created by the API * * * @var string */ public $resultsFileLocalPath = null; /** * Created by the API * * * @var string */ public $resultsFileUrl = null; /** * Number of created entries * * * @var int */ public $numOfEntries = null; /** * The version of the csv file * * * @var KalturaBulkUploadCsvVersion */ public $csvVersion = null; } class KalturaConvartableJobData extends KalturaJobData { /** * * * @var string */ public $srcFileSyncLocalPath = null; /** * The translated path as used by the scheduler * * @var string */ public $actualSrcFileSyncLocalPath = null; /** * * * @var string */ public $srcFileSyncRemoteUrl = null; /** * * * @var int */ public $engineVersion = null; /** * * * @var int */ public $flavorParamsOutputId = null; /** * * * @var KalturaFlavorParamsOutput */ public $flavorParamsOutput; /** * * * @var int */ public $mediaInfoId = null; /** * * * @var int */ public $currentOperationSet = null; /** * * * @var int */ public $currentOperationIndex = null; } class KalturaConvertCollectionJobData extends KalturaConvartableJobData { /** * * * @var string */ public $destDirLocalPath = null; /** * * * @var string */ public $destDirRemoteUrl = null; /** * * * @var string */ public $destFileName = null; /** * * * @var string */ public $inputXmlLocalPath = null; /** * * * @var string */ public $inputXmlRemoteUrl = null; /** * * * @var string */ public $commandLinesStr = null; /** * * * @var array of KalturaConvertCollectionFlavorData */ public $flavors; } class KalturaConvertJobData extends KalturaConvartableJobData { /** * * * @var string */ public $destFileSyncLocalPath = null; /** * * * @var string */ public $destFileSyncRemoteUrl = null; /** * * * @var string */ public $logFileSyncLocalPath = null; /** * * * @var string */ public $flavorAssetId = null; /** * * * @var string */ public $remoteMediaId = null; } class KalturaConvertProfileJobData extends KalturaJobData { /** * * * @var string */ public $inputFileSyncLocalPath = null; /** * The height of last created thumbnail, will be used to comapare if this thumbnail is the best we can have * * * @var int */ public $thumbHeight = null; /** * The bit rate of last created thumbnail, will be used to comapare if this thumbnail is the best we can have * * * @var int */ public $thumbBitrate = null; } class KalturaExtractMediaJobData extends KalturaConvartableJobData { /** * * * @var string */ public $flavorAssetId = null; } class KalturaFlattenJobData extends KalturaJobData { } class KalturaImportJobData extends KalturaJobData { /** * * * @var string */ public $srcFileUrl = null; /** * * * @var string */ public $destFileLocalPath = null; /** * * * @var string */ public $flavorAssetId = null; } class KalturaNotificationJobData extends KalturaJobData { /** * * * @var string */ public $userId = null; /** * * * @var KalturaNotificationType */ public $type = null; /** * * * @var string */ public $typeAsString = null; /** * * * @var string */ public $objectId = null; /** * * * @var KalturaNotificationStatus */ public $status = null; /** * * * @var string */ public $data = null; /** * * * @var int */ public $numberOfAttempts = null; /** * * * @var string */ public $notificationResult = null; /** * * * @var KalturaNotificationObjectType */ public $objType = null; } class KalturaPostConvertJobData extends KalturaConvartableJobData { /** * * * @var string */ public $flavorAssetId = null; /** * Indicates if a thumbnail should be created * * * @var bool */ public $createThumb = null; /** * The path of the created thumbnail * * * @var string */ public $thumbPath = null; /** * The position of the thumbnail in the media file * * * @var int */ public $thumbOffset = null; /** * The height of the movie, will be used to comapare if this thumbnail is the best we can have * * * @var int */ public $thumbHeight = null; /** * The bit rate of the movie, will be used to comapare if this thumbnail is the best we can have * * * @var int */ public $thumbBitrate = null; } class KalturaProvisionJobData extends KalturaJobData { /** * * * @var string */ public $streamID = null; /** * * * @var string */ public $backupStreamID = null; /** * * * @var string */ public $rtmp = null; /** * * * @var string */ public $encoderIP = null; /** * * * @var string */ public $backupEncoderIP = null; /** * * * @var string */ public $encoderPassword = null; /** * * * @var string */ public $encoderUsername = null; /** * * * @var int */ public $endDate = null; /** * * * @var string */ public $returnVal = null; } class KalturaPullJobData extends KalturaJobData { /** * * * @var string */ public $srcFileUrl = null; /** * * * @var string */ public $destFileLocalPath = null; } class KalturaRemoteConvertJobData extends KalturaConvartableJobData { /** * * * @var string */ public $srcFileUrl = null; /** * Should be set by the API * * * @var string */ public $destFileUrl = null; } class KalturaStorageJobData extends KalturaJobData { /** * * * @var string */ public $serverUrl = null; /** * * * @var string */ public $serverUsername = null; /** * * * @var string */ public $serverPassword = null; /** * * * @var bool */ public $ftpPassiveMode = null; /** * * * @var string */ public $srcFileSyncLocalPath = null; /** * * * @var string */ public $srcFileSyncId = null; } class KalturaStorageDeleteJobData extends KalturaStorageJobData { } class KalturaStorageExportJobData extends KalturaStorageJobData { /** * * * @var string */ public $destFileSyncStoredPath = null; /** * * * @var bool */ public $force = null; } class KalturaGoogleVideoSyndicationFeed extends KalturaBaseSyndicationFeed { /** * * * @var KalturaGoogleSyndicationFeedAdultValues */ public $adultContent = null; } class KalturaITunesSyndicationFeed extends KalturaBaseSyndicationFeed { /** * feed description * * * @var string */ public $feedDescription = null; /** * feed language * * * @var string */ public $language = null; /** * feed landing page (i.e publisher website) * * * @var string */ public $feedLandingPage = null; /** * author/publisher name * * * @var string */ public $ownerName = null; /** * publisher email * * * @var string */ public $ownerEmail = null; /** * podcast thumbnail * * * @var string */ public $feedImageUrl = null; /** * * * @var KalturaITunesSyndicationFeedCategories * @readonly */ public $category = null; /** * * * @var KalturaITunesSyndicationFeedAdultValues */ public $adultContent = null; /** * * * @var string */ public $feedAuthor = null; } class KalturaTubeMogulSyndicationFeed extends KalturaBaseSyndicationFeed { /** * * * @var KalturaTubeMogulSyndicationFeedCategories * @readonly */ public $category = null; } class KalturaYahooSyndicationFeed extends KalturaBaseSyndicationFeed { /** * * * @var KalturaYahooSyndicationFeedCategories * @readonly */ public $category = null; /** * * * @var KalturaYahooSyndicationFeedAdultValues */ public $adultContent = null; /** * feed description * * * @var string */ public $feedDescription = null; /** * feed landing page (i.e publisher website) * * * @var string */ public $feedLandingPage = null; } class KalturaAccessControlService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaAccessControl $accessControl) { $kparams = array(); $this->client->addParam($kparams, "accessControl", $accessControl->toParams()); $this->client->queueServiceActionCall("accesscontrol", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaAccessControl"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("accesscontrol", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaAccessControl"); return $resultObject; } function update($id, KalturaAccessControl $accessControl) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "accessControl", $accessControl->toParams()); $this->client->queueServiceActionCall("accesscontrol", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaAccessControl"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("accesscontrol", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaAccessControlFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("accesscontrol", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaAccessControlListResponse"); return $resultObject; } } class KalturaAdminUserService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function updatePassword($email, $password, $newEmail = "", $newPassword = "") { $kparams = array(); $this->client->addParam($kparams, "email", $email); $this->client->addParam($kparams, "password", $password); $this->client->addParam($kparams, "newEmail", $newEmail); $this->client->addParam($kparams, "newPassword", $newPassword); $this->client->queueServiceActionCall("adminuser", "updatePassword", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaAdminUser"); return $resultObject; } function resetPassword($email) { $kparams = array(); $this->client->addParam($kparams, "email", $email); $this->client->queueServiceActionCall("adminuser", "resetPassword", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function login($email, $password) { $kparams = array(); $this->client->addParam($kparams, "email", $email); $this->client->addParam($kparams, "password", $password); $this->client->queueServiceActionCall("adminuser", "login", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } } class KalturaBaseEntryService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function addFromUploadedFile(KalturaBaseEntry $entry, $uploadTokenId, $type = -1) { $kparams = array(); $this->client->addParam($kparams, "entry", $entry->toParams()); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->addParam($kparams, "type", $type); $this->client->queueServiceActionCall("baseentry", "addFromUploadedFile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("baseentry", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function update($entryId, KalturaBaseEntry $baseEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "baseEntry", $baseEntry->toParams()); $this->client->queueServiceActionCall("baseentry", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function getByIds($entryIds) { $kparams = array(); $this->client->addParam($kparams, "entryIds", $entryIds); $this->client->queueServiceActionCall("baseentry", "getByIds", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("baseentry", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaBaseEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("baseentry", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntryListResponse"); return $resultObject; } function count(KalturaBaseEntryFilter $filter = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("baseentry", "count", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function upload($fileData) { $kparams = array(); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("baseentry", "upload", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function updateThumbnailJpeg($entryId, $fileData) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("baseentry", "updateThumbnailJpeg", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function updateThumbnailFromUrl($entryId, $url) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("baseentry", "updateThumbnailFromUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function updateThumbnailFromSourceEntry($entryId, $sourceEntryId, $timeOffset) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "sourceEntryId", $sourceEntryId); $this->client->addParam($kparams, "timeOffset", $timeOffset); $this->client->queueServiceActionCall("baseentry", "updateThumbnailFromSourceEntry", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function flag(KalturaModerationFlag $moderationFlag) { $kparams = array(); $this->client->addParam($kparams, "moderationFlag", $moderationFlag->toParams()); $this->client->queueServiceActionCall("baseentry", "flag", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function reject($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("baseentry", "reject", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function approve($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("baseentry", "approve", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listFlags($entryId, KalturaFilterPager $pager = null) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("baseentry", "listFlags", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaModerationFlagListResponse"); return $resultObject; } function anonymousRank($entryId, $rank) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "rank", $rank); $this->client->queueServiceActionCall("baseentry", "anonymousRank", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function getContextData($entryId, KalturaEntryContextDataParams $contextDataParams) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "contextDataParams", $contextDataParams->toParams()); $this->client->queueServiceActionCall("baseentry", "getContextData", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaEntryContextDataResult"); return $resultObject; } } class KalturaBatchcontrolService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function reportStatus(KalturaScheduler $scheduler, array $schedulerStatuses, array $workerQueueFilters) { $kparams = array(); $this->client->addParam($kparams, "scheduler", $scheduler->toParams()); foreach($schedulerStatuses as $index => $obj) { $this->client->addParam($kparams, "schedulerStatuses:$index", $obj->toParams()); } foreach($workerQueueFilters as $index => $obj) { $this->client->addParam($kparams, "workerQueueFilters:$index", $obj->toParams()); } $this->client->queueServiceActionCall("batchcontrol", "reportStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSchedulerStatusResponse"); return $resultObject; } function configLoaded(KalturaScheduler $scheduler, $configParam, $configValue, $configParamPart = "", $workerConfigId = "", $workerName = "") { $kparams = array(); $this->client->addParam($kparams, "scheduler", $scheduler->toParams()); $this->client->addParam($kparams, "configParam", $configParam); $this->client->addParam($kparams, "configValue", $configValue); $this->client->addParam($kparams, "configParamPart", $configParamPart); $this->client->addParam($kparams, "workerConfigId", $workerConfigId); $this->client->addParam($kparams, "workerName", $workerName); $this->client->queueServiceActionCall("batchcontrol", "configLoaded", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSchedulerConfig"); return $resultObject; } function stopScheduler($schedulerId, $adminId, $cause) { $kparams = array(); $this->client->addParam($kparams, "schedulerId", $schedulerId); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "stopScheduler", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function stopWorker($workerId, $adminId, $cause) { $kparams = array(); $this->client->addParam($kparams, "workerId", $workerId); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "stopWorker", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function kill($workerId, $batchIndex, $adminId, $cause) { $kparams = array(); $this->client->addParam($kparams, "workerId", $workerId); $this->client->addParam($kparams, "batchIndex", $batchIndex); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "kill", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function startWorker($workerId, $adminId, $cause = "") { $kparams = array(); $this->client->addParam($kparams, "workerId", $workerId); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "startWorker", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function setSchedulerConfig($schedulerId, $adminId, $configParam, $configValue, $configParamPart = "", $cause = "") { $kparams = array(); $this->client->addParam($kparams, "schedulerId", $schedulerId); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "configParam", $configParam); $this->client->addParam($kparams, "configValue", $configValue); $this->client->addParam($kparams, "configParamPart", $configParamPart); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "setSchedulerConfig", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function setWorkerConfig($workerId, $adminId, $configParam, $configValue, $configParamPart = "", $cause = "") { $kparams = array(); $this->client->addParam($kparams, "workerId", $workerId); $this->client->addParam($kparams, "adminId", $adminId); $this->client->addParam($kparams, "configParam", $configParam); $this->client->addParam($kparams, "configValue", $configValue); $this->client->addParam($kparams, "configParamPart", $configParamPart); $this->client->addParam($kparams, "cause", $cause); $this->client->queueServiceActionCall("batchcontrol", "setWorkerConfig", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function setCommandResult($commandId, $status, $errorDescription = "") { $kparams = array(); $this->client->addParam($kparams, "commandId", $commandId); $this->client->addParam($kparams, "status", $status); $this->client->addParam($kparams, "errorDescription", $errorDescription); $this->client->queueServiceActionCall("batchcontrol", "setCommandResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function listCommands(KalturaControlPanelCommandFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("batchcontrol", "listCommands", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommandListResponse"); return $resultObject; } function getCommand($commandId) { $kparams = array(); $this->client->addParam($kparams, "commandId", $commandId); $this->client->queueServiceActionCall("batchcontrol", "getCommand", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } function listSchedulers() { $kparams = array(); $this->client->queueServiceActionCall("batchcontrol", "listSchedulers", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSchedulerListResponse"); return $resultObject; } function listWorkers() { $kparams = array(); $this->client->queueServiceActionCall("batchcontrol", "listWorkers", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSchedulerWorkerListResponse"); return $resultObject; } function getFullStatus() { $kparams = array(); $this->client->queueServiceActionCall("batchcontrol", "getFullStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaControlPanelCommand"); return $resultObject; } } class KalturaBatchService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function getExclusiveImportJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveImportJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveImportJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveImportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveImportJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveImportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveBulkUploadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveBulkUploadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneBulkUploadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneBulkUploadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveBulkUploadJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("batch", "updateExclusiveBulkUploadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveBulkUploadJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveBulkUploadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function addBulkUploadResult(KalturaBulkUploadResult $bulkUploadResult, array $pluginDataArray = null) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadResult", $bulkUploadResult->toParams()); if ($pluginDataArray !== null) foreach($pluginDataArray as $index => $obj) { $this->client->addParam($kparams, "pluginDataArray:$index", $obj->toParams()); } $this->client->queueServiceActionCall("batch", "addBulkUploadResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUploadResult"); return $resultObject; } function getBulkUploadLastResult($bulkUploadJobId) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadJobId", $bulkUploadJobId); $this->client->queueServiceActionCall("batch", "getBulkUploadLastResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUploadResult"); return $resultObject; } function updateBulkUploadResults($bulkUploadJobId) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadJobId", $bulkUploadJobId); $this->client->queueServiceActionCall("batch", "updateBulkUploadResults", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function getExclusiveAlmostDoneRemoteConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneRemoteConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveRemoteConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveRemoteConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveRemoteConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveRemoteConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveAlmostDoneConvertCollectionJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneConvertCollectionJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneConvertProfileJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneConvertProfileJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveConvertCollectionJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "", array $flavorsData = null) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); if ($flavorsData !== null) foreach($flavorsData as $index => $obj) { $this->client->addParam($kparams, "flavorsData:$index", $obj->toParams()); } $this->client->queueServiceActionCall("batch", "updateExclusiveConvertCollectionJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function updateExclusiveConvertProfileJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveConvertProfileJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveConvertCollectionJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveConvertCollectionJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function freeExclusiveConvertProfileJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveConvertProfileJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveConvertCollectionJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveConvertCollectionJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function updateExclusiveConvertJobSubType($id, KalturaExclusiveLockKey $lockKey, $subType) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "subType", $subType); $this->client->queueServiceActionCall("batch", "updateExclusiveConvertJobSubType", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusivePostConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusivePostConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusivePostConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusivePostConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusivePostConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusivePostConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusivePullJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusivePullJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusivePullJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("batch", "updateExclusivePullJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusivePullJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusivePullJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveExtractMediaJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveExtractMediaJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveExtractMediaJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveExtractMediaJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function addMediaInfo(KalturaMediaInfo $mediaInfo) { $kparams = array(); $this->client->addParam($kparams, "mediaInfo", $mediaInfo->toParams()); $this->client->queueServiceActionCall("batch", "addMediaInfo", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaInfo"); return $resultObject; } function freeExclusiveExtractMediaJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveExtractMediaJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveStorageExportJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveStorageExportJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveStorageExportJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveStorageExportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveStorageExportJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveStorageExportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveStorageDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveStorageDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveStorageDeleteJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveStorageDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveStorageDeleteJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveStorageDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveNotificationJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveNotificationJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchGetExclusiveNotificationJobsResponse"); return $resultObject; } function updateExclusiveNotificationJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveNotificationJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveNotificationJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveNotificationJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveMailJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveMailJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveMailJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveMailJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveMailJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveMailJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveBulkDownloadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveBulkDownloadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneBulkDownloadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneBulkDownloadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveBulkDownloadJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("batch", "updateExclusiveBulkDownloadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveBulkDownloadJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveBulkDownloadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveProvisionProvideJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveProvisionProvideJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneProvisionProvideJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneProvisionProvideJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveProvisionProvideJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("batch", "updateExclusiveProvisionProvideJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveProvisionProvideJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveProvisionProvideJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveProvisionDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveProvisionDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneProvisionDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDoneProvisionDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveProvisionDeleteJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("batch", "updateExclusiveProvisionDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveProvisionDeleteJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveProvisionDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function resetJobExecutionAttempts($id, KalturaExclusiveLockKey $lockKey, $jobType) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("batch", "resetJobExecutionAttempts", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function freeExclusiveJob($id, KalturaExclusiveLockKey $lockKey, $jobType, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("batch", "freeExclusiveJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getQueueSize(KalturaWorkerQueueFilter $workerQueueFilter) { $kparams = array(); $this->client->addParam($kparams, "workerQueueFilter", $workerQueueFilter->toParams()); $this->client->queueServiceActionCall("batch", "getQueueSize", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function getExclusiveJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null, $jobType) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("batch", "getExclusiveJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDone(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null, $jobType) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("batch", "getExclusiveAlmostDone", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("batch", "updateExclusiveJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function cleanExclusiveJobs() { $kparams = array(); $this->client->queueServiceActionCall("batch", "cleanExclusiveJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function logConversion($flavorAssetId, $data) { $kparams = array(); $this->client->addParam($kparams, "flavorAssetId", $flavorAssetId); $this->client->addParam($kparams, "data", $data); $this->client->queueServiceActionCall("batch", "logConversion", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function checkFileExists($localPath, $size) { $kparams = array(); $this->client->addParam($kparams, "localPath", $localPath); $this->client->addParam($kparams, "size", $size); $this->client->queueServiceActionCall("batch", "checkFileExists", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFileExistsResponse"); return $resultObject; } } class KalturaBulkUploadService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add($conversionProfileId, $csvFileData) { $kparams = array(); $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); $kfiles = array(); $this->client->addParam($kfiles, "csvFileData", $csvFileData); $this->client->queueServiceActionCall("bulkupload", "add", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("bulkupload", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); return $resultObject; } function listAction(KalturaFilterPager $pager = null) { $kparams = array(); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("bulkupload", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUploadListResponse"); return $resultObject; } } class KalturaCategoryService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaCategory $category) { $kparams = array(); $this->client->addParam($kparams, "category", $category->toParams()); $this->client->queueServiceActionCall("category", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaCategory"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("category", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaCategory"); return $resultObject; } function update($id, KalturaCategory $category) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "category", $category->toParams()); $this->client->queueServiceActionCall("category", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaCategory"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("category", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaCategoryFilter $filter = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("category", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaCategoryListResponse"); return $resultObject; } } class KalturaConversionProfileService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaConversionProfile $conversionProfile) { $kparams = array(); $this->client->addParam($kparams, "conversionProfile", $conversionProfile->toParams()); $this->client->queueServiceActionCall("conversionprofile", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("conversionprofile", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); return $resultObject; } function update($id, KalturaConversionProfile $conversionProfile) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "conversionProfile", $conversionProfile->toParams()); $this->client->queueServiceActionCall("conversionprofile", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("conversionprofile", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaConversionProfileFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("conversionprofile", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaConversionProfileListResponse"); return $resultObject; } } class KalturaDataService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaDataEntry $dataEntry) { $kparams = array(); $this->client->addParam($kparams, "dataEntry", $dataEntry->toParams()); $this->client->queueServiceActionCall("data", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDataEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("data", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDataEntry"); return $resultObject; } function update($entryId, KalturaDataEntry $documentEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "documentEntry", $documentEntry->toParams()); $this->client->queueServiceActionCall("data", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDataEntry"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("data", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaDataEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("data", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDataListResponse"); return $resultObject; } } class KalturaDocumentService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function addFromUploadedFile(KalturaDocumentEntry $documentEntry, $uploadTokenId) { $kparams = array(); $this->client->addParam($kparams, "documentEntry", $documentEntry->toParams()); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->queueServiceActionCall("document", "addFromUploadedFile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDocumentEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("document", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDocumentEntry"); return $resultObject; } function update($entryId, KalturaDocumentEntry $documentEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "documentEntry", $documentEntry->toParams()); $this->client->queueServiceActionCall("document", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDocumentEntry"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("document", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaDocumentEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("document", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDocumentListResponse"); return $resultObject; } function upload($fileData) { $kparams = array(); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("document", "upload", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function convertPptToSwf($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("document", "convertPptToSwf", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } } class KalturaEmailIngestionProfileService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaEmailIngestionProfile $EmailIP) { $kparams = array(); $this->client->addParam($kparams, "EmailIP", $EmailIP->toParams()); $this->client->queueServiceActionCall("emailingestionprofile", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); return $resultObject; } function getByEmailAddress($emailAddress) { $kparams = array(); $this->client->addParam($kparams, "emailAddress", $emailAddress); $this->client->queueServiceActionCall("emailingestionprofile", "getByEmailAddress", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("emailingestionprofile", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); return $resultObject; } function update($id, KalturaEmailIngestionProfile $EmailIP) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "EmailIP", $EmailIP->toParams()); $this->client->queueServiceActionCall("emailingestionprofile", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("emailingestionprofile", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function addMediaEntry(KalturaMediaEntry $mediaEntry, $uploadTokenId, $emailProfId, $fromAddress, $emailMsgId) { $kparams = array(); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->addParam($kparams, "emailProfId", $emailProfId); $this->client->addParam($kparams, "fromAddress", $fromAddress); $this->client->addParam($kparams, "emailMsgId", $emailMsgId); $this->client->queueServiceActionCall("emailingestionprofile", "addMediaEntry", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } } class KalturaFlavorAssetService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorasset", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); return $resultObject; } function getByEntryId($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("flavorasset", "getByEntryId", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getWebPlayableByEntryId($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("flavorasset", "getWebPlayableByEntryId", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function convert($entryId, $flavorParamsId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); $this->client->queueServiceActionCall("flavorasset", "convert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function reconvert($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorasset", "reconvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorasset", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function getDownloadUrl($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorasset", "getDownloadUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function getFlavorAssetsWithParams($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("flavorasset", "getFlavorAssetsWithParams", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } } class KalturaFlavorParamsService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaFlavorParams $flavorParams) { $kparams = array(); $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); $this->client->queueServiceActionCall("flavorparams", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorparams", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); return $resultObject; } function update($id, KalturaFlavorParams $flavorParams) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); $this->client->queueServiceActionCall("flavorparams", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("flavorparams", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaFlavorParamsFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("flavorparams", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorParamsListResponse"); return $resultObject; } function getByConversionProfileId($conversionProfileId) { $kparams = array(); $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); $this->client->queueServiceActionCall("flavorparams", "getByConversionProfileId", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } } class KalturaJobsService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function getImportStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getImportStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteImport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteImport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortImport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortImport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryImport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryImport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getProvisionProvideStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getProvisionProvideStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteProvisionProvide($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteProvisionProvide", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortProvisionProvide($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortProvisionProvide", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryProvisionProvide($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryProvisionProvide", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getProvisionDeleteStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getProvisionDeleteStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteProvisionDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteProvisionDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortProvisionDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortProvisionDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryProvisionDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryProvisionDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getBulkUploadStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getBulkUploadStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteBulkUpload($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteBulkUpload", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortBulkUpload($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortBulkUpload", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryBulkUpload($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryBulkUpload", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getConvertStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getConvertStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getConvertCollectionStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getConvertCollectionStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getConvertProfileStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getConvertProfileStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function addConvertProfileJob($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("jobs", "addConvertProfileJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getRemoteConvertStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getRemoteConvertStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteRemoteConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteRemoteConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortRemoteConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortRemoteConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryRemoteConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryRemoteConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteConvertCollection($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteConvertCollection", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteConvertProfile($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteConvertProfile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortConvertCollection($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortConvertCollection", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortConvertProfile($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortConvertProfile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryConvertCollection($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryConvertCollection", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryConvertProfile($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryConvertProfile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getPostConvertStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getPostConvertStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deletePostConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deletePostConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortPostConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortPostConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryPostConvert($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryPostConvert", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getPullStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getPullStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deletePull($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deletePull", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortPull($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortPull", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryPull($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryPull", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getExtractMediaStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getExtractMediaStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteExtractMedia($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteExtractMedia", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortExtractMedia($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortExtractMedia", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryExtractMedia($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryExtractMedia", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getStorageExportStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getStorageExportStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteStorageExport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteStorageExport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortStorageExport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortStorageExport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryStorageExport($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryStorageExport", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getStorageDeleteStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getStorageDeleteStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteStorageDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteStorageDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortStorageDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortStorageDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryStorageDelete($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryStorageDelete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getNotificationStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getNotificationStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteNotification($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteNotification", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortNotification($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortNotification", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryNotification($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryNotification", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function getMailStatus($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "getMailStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteMail($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "deleteMail", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortMail($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "abortMail", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryMail($jobId) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->queueServiceActionCall("jobs", "retryMail", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function addMailJob(KalturaMailJobData $mailJobData) { $kparams = array(); $this->client->addParam($kparams, "mailJobData", $mailJobData->toParams()); $this->client->queueServiceActionCall("jobs", "addMailJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function addBatchJob(KalturaBatchJob $batchJob) { $kparams = array(); $this->client->addParam($kparams, "batchJob", $batchJob->toParams()); $this->client->queueServiceActionCall("jobs", "addBatchJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function getStatus($jobId, $jobType) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("jobs", "getStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function deleteJob($jobId, $jobType) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("jobs", "deleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function abortJob($jobId, $jobType) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("jobs", "abortJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function retryJob($jobId, $jobType) { $kparams = array(); $this->client->addParam($kparams, "jobId", $jobId); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("jobs", "retryJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobResponse"); return $resultObject; } function listBatchJobs(KalturaBatchJobFilterExt $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("jobs", "listBatchJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJobListResponse"); return $resultObject; } } class KalturaLiveStreamService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaLiveStreamAdminEntry $liveStreamEntry) { $kparams = array(); $this->client->addParam($kparams, "liveStreamEntry", $liveStreamEntry->toParams()); $this->client->queueServiceActionCall("livestream", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamAdminEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("livestream", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); return $resultObject; } function update($entryId, KalturaLiveStreamAdminEntry $liveStreamEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "liveStreamEntry", $liveStreamEntry->toParams()); $this->client->queueServiceActionCall("livestream", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamAdminEntry"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("livestream", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaLiveStreamEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("livestream", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamListResponse"); return $resultObject; } function updateOfflineThumbnailJpeg($entryId, $fileData) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("livestream", "updateOfflineThumbnailJpeg", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); return $resultObject; } function updateOfflineThumbnailFromUrl($entryId, $url) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("livestream", "updateOfflineThumbnailFromUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); return $resultObject; } } class KalturaMediaService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function addFromBulk(KalturaMediaEntry $mediaEntry, $url, $bulkUploadId, array $pluginDataArray = null) { $kparams = array(); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->addParam($kparams, "url", $url); $this->client->addParam($kparams, "bulkUploadId", $bulkUploadId); if ($pluginDataArray !== null) foreach($pluginDataArray as $index => $obj) { $this->client->addParam($kparams, "pluginDataArray:$index", $obj->toParams()); } $this->client->queueServiceActionCall("media", "addFromBulk", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function addFromUrl(KalturaMediaEntry $mediaEntry, $url) { $kparams = array(); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("media", "addFromUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function addFromSearchResult(KalturaMediaEntry $mediaEntry = null, KalturaSearchResult $searchResult = null) { $kparams = array(); if ($mediaEntry !== null) $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); if ($searchResult !== null) $this->client->addParam($kparams, "searchResult", $searchResult->toParams()); $this->client->queueServiceActionCall("media", "addFromSearchResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function addFromUploadedFile(KalturaMediaEntry $mediaEntry, $uploadTokenId) { $kparams = array(); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->queueServiceActionCall("media", "addFromUploadedFile", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function addFromRecordedWebcam(KalturaMediaEntry $mediaEntry, $webcamTokenId) { $kparams = array(); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->addParam($kparams, "webcamTokenId", $webcamTokenId); $this->client->queueServiceActionCall("media", "addFromRecordedWebcam", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("media", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function update($entryId, KalturaMediaEntry $mediaEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); $this->client->queueServiceActionCall("media", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("media", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaMediaEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("media", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaListResponse"); return $resultObject; } function count(KalturaMediaEntryFilter $filter = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("media", "count", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function upload($fileData) { $kparams = array(); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("media", "upload", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function updateThumbnail($entryId, $timeOffset) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "timeOffset", $timeOffset); $this->client->queueServiceActionCall("media", "updateThumbnail", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function updateThumbnailFromSourceEntry($entryId, $sourceEntryId, $timeOffset) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "sourceEntryId", $sourceEntryId); $this->client->addParam($kparams, "timeOffset", $timeOffset); $this->client->queueServiceActionCall("media", "updateThumbnailFromSourceEntry", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function updateThumbnailJpeg($entryId, $fileData) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("media", "updateThumbnailJpeg", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); return $resultObject; } function updateThumbnailFromUrl($entryId, $url) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("media", "updateThumbnailFromUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } function requestConversion($entryId, $fileFormat) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "fileFormat", $fileFormat); $this->client->queueServiceActionCall("media", "requestConversion", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function flag(KalturaModerationFlag $moderationFlag) { $kparams = array(); $this->client->addParam($kparams, "moderationFlag", $moderationFlag->toParams()); $this->client->queueServiceActionCall("media", "flag", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function reject($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("media", "reject", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function approve($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("media", "approve", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listFlags($entryId, KalturaFilterPager $pager = null) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("media", "listFlags", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaModerationFlagListResponse"); return $resultObject; } function anonymousRank($entryId, $rank) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "rank", $rank); $this->client->queueServiceActionCall("media", "anonymousRank", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } } class KalturaMixingService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaMixEntry $mixEntry) { $kparams = array(); $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); $this->client->queueServiceActionCall("mixing", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixEntry"); return $resultObject; } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("mixing", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixEntry"); return $resultObject; } function update($entryId, KalturaMixEntry $mixEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); $this->client->queueServiceActionCall("mixing", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixEntry"); return $resultObject; } function delete($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("mixing", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaMixEntryFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("mixing", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixListResponse"); return $resultObject; } function count(KalturaMediaEntryFilter $filter = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("mixing", "count", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function cloneAction($entryId) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->queueServiceActionCall("mixing", "clone", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixEntry"); return $resultObject; } function appendMediaEntry($mixEntryId, $mediaEntryId) { $kparams = array(); $this->client->addParam($kparams, "mixEntryId", $mixEntryId); $this->client->addParam($kparams, "mediaEntryId", $mediaEntryId); $this->client->queueServiceActionCall("mixing", "appendMediaEntry", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMixEntry"); return $resultObject; } function requestFlattening($entryId, $fileFormat, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "fileFormat", $fileFormat); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("mixing", "requestFlattening", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function getMixesByMediaId($mediaEntryId) { $kparams = array(); $this->client->addParam($kparams, "mediaEntryId", $mediaEntryId); $this->client->queueServiceActionCall("mixing", "getMixesByMediaId", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getReadyMediaEntries($mixId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "mixId", $mixId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("mixing", "getReadyMediaEntries", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function anonymousRank($entryId, $rank) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "rank", $rank); $this->client->queueServiceActionCall("mixing", "anonymousRank", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } } class KalturaNotificationService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function getClientNotification($entryId, $type) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "type", $type); $this->client->queueServiceActionCall("notification", "getClientNotification", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaClientNotification"); return $resultObject; } } class KalturaPartnerService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function register(KalturaPartner $partner, $cmsPassword = "") { $kparams = array(); $this->client->addParam($kparams, "partner", $partner->toParams()); $this->client->addParam($kparams, "cmsPassword", $cmsPassword); $this->client->queueServiceActionCall("partner", "register", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartner"); return $resultObject; } function update(KalturaPartner $partner, $allowEmpty = false) { $kparams = array(); $this->client->addParam($kparams, "partner", $partner->toParams()); $this->client->addParam($kparams, "allowEmpty", $allowEmpty); $this->client->queueServiceActionCall("partner", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartner"); return $resultObject; } function getSecrets($partnerId, $adminEmail, $cmsPassword) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->addParam($kparams, "adminEmail", $adminEmail); $this->client->addParam($kparams, "cmsPassword", $cmsPassword); $this->client->queueServiceActionCall("partner", "getSecrets", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartner"); return $resultObject; } function getInfo() { $kparams = array(); $this->client->queueServiceActionCall("partner", "getInfo", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartner"); return $resultObject; } function getUsage($year = "", $month = 1, $resolution = "days") { $kparams = array(); $this->client->addParam($kparams, "year", $year); $this->client->addParam($kparams, "month", $month); $this->client->addParam($kparams, "resolution", $resolution); $this->client->queueServiceActionCall("partner", "getUsage", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartnerUsage"); return $resultObject; } } class KalturaPlaylistService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaPlaylist $playlist, $updateStats = false) { $kparams = array(); $this->client->addParam($kparams, "playlist", $playlist->toParams()); $this->client->addParam($kparams, "updateStats", $updateStats); $this->client->queueServiceActionCall("playlist", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPlaylist"); return $resultObject; } function get($id, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("playlist", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPlaylist"); return $resultObject; } function update($id, KalturaPlaylist $playlist, $updateStats = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "playlist", $playlist->toParams()); $this->client->addParam($kparams, "updateStats", $updateStats); $this->client->queueServiceActionCall("playlist", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPlaylist"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("playlist", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaPlaylistFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("playlist", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPlaylistListResponse"); return $resultObject; } function execute($id, $detailed = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "detailed", $detailed); $this->client->queueServiceActionCall("playlist", "execute", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function executeFromContent($playlistType, $playlistContent, $detailed = "") { $kparams = array(); $this->client->addParam($kparams, "playlistType", $playlistType); $this->client->addParam($kparams, "playlistContent", $playlistContent); $this->client->addParam($kparams, "detailed", $detailed); $this->client->queueServiceActionCall("playlist", "executeFromContent", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function executeFromFilters(array $filters, $totalResults, $detailed = "") { $kparams = array(); foreach($filters as $index => $obj) { $this->client->addParam($kparams, "filters:$index", $obj->toParams()); } $this->client->addParam($kparams, "totalResults", $totalResults); $this->client->addParam($kparams, "detailed", $detailed); $this->client->queueServiceActionCall("playlist", "executeFromFilters", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getStatsFromContent($playlistType, $playlistContent) { $kparams = array(); $this->client->addParam($kparams, "playlistType", $playlistType); $this->client->addParam($kparams, "playlistContent", $playlistContent); $this->client->queueServiceActionCall("playlist", "getStatsFromContent", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPlaylist"); return $resultObject; } } class KalturaReportService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function getGraphs($reportType, KalturaReportInputFilter $reportInputFilter, $dimension = "", $objectIds = "") { $kparams = array(); $this->client->addParam($kparams, "reportType", $reportType); $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); $this->client->addParam($kparams, "dimension", $dimension); $this->client->addParam($kparams, "objectIds", $objectIds); $this->client->queueServiceActionCall("report", "getGraphs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getTotal($reportType, KalturaReportInputFilter $reportInputFilter, $objectIds = "") { $kparams = array(); $this->client->addParam($kparams, "reportType", $reportType); $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); $this->client->addParam($kparams, "objectIds", $objectIds); $this->client->queueServiceActionCall("report", "getTotal", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaReportTotal"); return $resultObject; } function getTable($reportType, KalturaReportInputFilter $reportInputFilter, KalturaFilterPager $pager, $order = "", $objectIds = "") { $kparams = array(); $this->client->addParam($kparams, "reportType", $reportType); $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->addParam($kparams, "order", $order); $this->client->addParam($kparams, "objectIds", $objectIds); $this->client->queueServiceActionCall("report", "getTable", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaReportTable"); return $resultObject; } function getUrlForReportAsCsv($reportTitle, $reportText, $headers, $reportType, KalturaReportInputFilter $reportInputFilter, $dimension = "", KalturaFilterPager $pager = null, $order = "", $objectIds = "") { $kparams = array(); $this->client->addParam($kparams, "reportTitle", $reportTitle); $this->client->addParam($kparams, "reportText", $reportText); $this->client->addParam($kparams, "headers", $headers); $this->client->addParam($kparams, "reportType", $reportType); $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); $this->client->addParam($kparams, "dimension", $dimension); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->addParam($kparams, "order", $order); $this->client->addParam($kparams, "objectIds", $objectIds); $this->client->queueServiceActionCall("report", "getUrlForReportAsCsv", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } } class KalturaSearchService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function search(KalturaSearch $search, KalturaFilterPager $pager = null) { $kparams = array(); $this->client->addParam($kparams, "search", $search->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("search", "search", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSearchResultResponse"); return $resultObject; } function getMediaInfo(KalturaSearchResult $searchResult) { $kparams = array(); $this->client->addParam($kparams, "searchResult", $searchResult->toParams()); $this->client->queueServiceActionCall("search", "getMediaInfo", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSearchResult"); return $resultObject; } function searchUrl($mediaType, $url) { $kparams = array(); $this->client->addParam($kparams, "mediaType", $mediaType); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("search", "searchUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSearchResult"); return $resultObject; } function externalLogin($searchSource, $userName, $password) { $kparams = array(); $this->client->addParam($kparams, "searchSource", $searchSource); $this->client->addParam($kparams, "userName", $userName); $this->client->addParam($kparams, "password", $password); $this->client->queueServiceActionCall("search", "externalLogin", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSearchAuthData"); return $resultObject; } } class KalturaSessionService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function start($secret, $userId = "", $type = 0, $partnerId = -1, $expiry = 86400, $privileges = "") { $kparams = array(); $this->client->addParam($kparams, "secret", $secret); $this->client->addParam($kparams, "userId", $userId); $this->client->addParam($kparams, "type", $type); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->addParam($kparams, "expiry", $expiry); $this->client->addParam($kparams, "privileges", $privileges); $this->client->queueServiceActionCall("session", "start", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function startWidgetSession($widgetId, $expiry = 86400) { $kparams = array(); $this->client->addParam($kparams, "widgetId", $widgetId); $this->client->addParam($kparams, "expiry", $expiry); $this->client->queueServiceActionCall("session", "startWidgetSession", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaStartWidgetSessionResponse"); return $resultObject; } } class KalturaStatsService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function collect(KalturaStatsEvent $event) { $kparams = array(); $this->client->addParam($kparams, "event", $event->toParams()); $this->client->queueServiceActionCall("stats", "collect", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function kmcCollect(KalturaStatsKmcEvent $kmcEvent) { $kparams = array(); $this->client->addParam($kparams, "kmcEvent", $kmcEvent->toParams()); $this->client->queueServiceActionCall("stats", "kmcCollect", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function reportKceError(KalturaCEError $kalturaCEError) { $kparams = array(); $this->client->addParam($kparams, "kalturaCEError", $kalturaCEError->toParams()); $this->client->queueServiceActionCall("stats", "reportKceError", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaCEError"); return $resultObject; } } class KalturaSyndicationFeedService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaBaseSyndicationFeed $syndicationFeed) { $kparams = array(); $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); $this->client->queueServiceActionCall("syndicationfeed", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("syndicationfeed", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); return $resultObject; } function update($id, KalturaBaseSyndicationFeed $syndicationFeed) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); $this->client->queueServiceActionCall("syndicationfeed", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("syndicationfeed", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaBaseSyndicationFeedFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("syndicationfeed", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeedListResponse"); return $resultObject; } function getEntryCount($feedId) { $kparams = array(); $this->client->addParam($kparams, "feedId", $feedId); $this->client->queueServiceActionCall("syndicationfeed", "getEntryCount", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSyndicationFeedEntryCount"); return $resultObject; } function requestConversion($feedId) { $kparams = array(); $this->client->addParam($kparams, "feedId", $feedId); $this->client->queueServiceActionCall("syndicationfeed", "requestConversion", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } } class KalturaSystemService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function ping() { $kparams = array(); $this->client->queueServiceActionCall("system", "ping", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "bool"); return $resultObject; } } class KalturaUiConfService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaUiConf $uiConf) { $kparams = array(); $this->client->addParam($kparams, "uiConf", $uiConf->toParams()); $this->client->queueServiceActionCall("uiconf", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConf"); return $resultObject; } function update($id, KalturaUiConf $uiConf) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "uiConf", $uiConf->toParams()); $this->client->queueServiceActionCall("uiconf", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConf"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("uiconf", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConf"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("uiconf", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function cloneAction($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("uiconf", "clone", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConf"); return $resultObject; } function listTemplates(KalturaUiConfFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("uiconf", "listTemplates", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConfListResponse"); return $resultObject; } function listAction(KalturaUiConfFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("uiconf", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUiConfListResponse"); return $resultObject; } } class KalturaUploadService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function upload($fileData) { $kparams = array(); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("upload", "upload", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function getUploadedFileTokenByFileName($fileName) { $kparams = array(); $this->client->addParam($kparams, "fileName", $fileName); $this->client->queueServiceActionCall("upload", "getUploadedFileTokenByFileName", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUploadResponse"); return $resultObject; } } class KalturaUploadTokenService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaUploadToken $uploadToken = null) { $kparams = array(); if ($uploadToken !== null) $this->client->addParam($kparams, "uploadToken", $uploadToken->toParams()); $this->client->queueServiceActionCall("uploadtoken", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUploadToken"); return $resultObject; } function get($uploadTokenId) { $kparams = array(); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->queueServiceActionCall("uploadtoken", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUploadToken"); return $resultObject; } function upload($uploadTokenId, $fileData, $resume = false, $finalChunk = true, $resumeAt = -1) { $kparams = array(); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->addParam($kparams, "resume", $resume); $this->client->addParam($kparams, "finalChunk", $finalChunk); $this->client->addParam($kparams, "resumeAt", $resumeAt); $this->client->queueServiceActionCall("uploadtoken", "upload", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUploadToken"); return $resultObject; } function delete($uploadTokenId) { $kparams = array(); $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); $this->client->queueServiceActionCall("uploadtoken", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaUploadTokenFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("uploadtoken", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUploadTokenListResponse"); return $resultObject; } } class KalturaUserService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaUser $user) { $kparams = array(); $this->client->addParam($kparams, "user", $user->toParams()); $this->client->queueServiceActionCall("user", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUser"); return $resultObject; } function update($userId, KalturaUser $user) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->addParam($kparams, "user", $user->toParams()); $this->client->queueServiceActionCall("user", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUser"); return $resultObject; } function get($userId) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->queueServiceActionCall("user", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUser"); return $resultObject; } function delete($userId) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->queueServiceActionCall("user", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUser"); return $resultObject; } function listAction(KalturaUserFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("user", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUserListResponse"); return $resultObject; } function notifyBan($userId) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->queueServiceActionCall("user", "notifyBan", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } } class KalturaWidgetService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function add(KalturaWidget $widget) { $kparams = array(); $this->client->addParam($kparams, "widget", $widget->toParams()); $this->client->queueServiceActionCall("widget", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaWidget"); return $resultObject; } function update($id, KalturaWidget $widget) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "widget", $widget->toParams()); $this->client->queueServiceActionCall("widget", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaWidget"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("widget", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaWidget"); return $resultObject; } function cloneAction(KalturaWidget $widget) { $kparams = array(); $this->client->addParam($kparams, "widget", $widget->toParams()); $this->client->queueServiceActionCall("widget", "clone", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaWidget"); return $resultObject; } function listAction(KalturaWidgetFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("widget", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaWidgetListResponse"); return $resultObject; } } class KalturaXInternalService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function xAddBulkDownload($entryIds, $flavorParamsId = "") { $kparams = array(); $this->client->addParam($kparams, "entryIds", $entryIds); $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); $this->client->queueServiceActionCall("xinternal", "xAddBulkDownload", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } } class KalturaSystemUserService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function verifyPassword($email, $password) { $kparams = array(); $this->client->addParam($kparams, "email", $email); $this->client->addParam($kparams, "password", $password); $this->client->queueServiceActionCall("systemuser_systemuser", "verifyPassword", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUser"); return $resultObject; } function generateNewPassword() { $kparams = array(); $this->client->queueServiceActionCall("systemuser_systemuser", "generateNewPassword", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function setNewPassword($userId, $password) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->addParam($kparams, "password", $password); $this->client->queueServiceActionCall("systemuser_systemuser", "setNewPassword", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function add(KalturaSystemUser $systemUser) { $kparams = array(); $this->client->addParam($kparams, "systemUser", $systemUser->toParams()); $this->client->queueServiceActionCall("systemuser_systemuser", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUser"); return $resultObject; } function get($userId) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->queueServiceActionCall("systemuser_systemuser", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUser"); return $resultObject; } function getByEmail($email) { $kparams = array(); $this->client->addParam($kparams, "email", $email); $this->client->queueServiceActionCall("systemuser_systemuser", "getByEmail", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUser"); return $resultObject; } function update($userId, KalturaSystemUser $systemUser) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->addParam($kparams, "systemUser", $systemUser->toParams()); $this->client->queueServiceActionCall("systemuser_systemuser", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUser"); return $resultObject; } function delete($userId) { $kparams = array(); $this->client->addParam($kparams, "userId", $userId); $this->client->queueServiceActionCall("systemuser_systemuser", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function listAction(KalturaSystemUserFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("systemuser_systemuser", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemUserListResponse"); return $resultObject; } } class KalturaSystemPartnerService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function get($partnerId) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->queueServiceActionCall("systempartner_systempartner", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartner"); return $resultObject; } function getUsage(KalturaPartnerFilter $partnerFilter = null, KalturaSystemPartnerUsageFilter $usageFilter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($partnerFilter !== null) $this->client->addParam($kparams, "partnerFilter", $partnerFilter->toParams()); if ($usageFilter !== null) $this->client->addParam($kparams, "usageFilter", $usageFilter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("systempartner_systempartner", "getUsage", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemPartnerUsageListResponse"); return $resultObject; } function listAction(KalturaPartnerFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("systempartner_systempartner", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaPartnerListResponse"); return $resultObject; } function updateStatus($partnerId, $status) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->addParam($kparams, "status", $status); $this->client->queueServiceActionCall("systempartner_systempartner", "updateStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function getAdminSession($partnerId) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->queueServiceActionCall("systempartner_systempartner", "getAdminSession", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "string"); return $resultObject; } function updateConfiguration($partnerId, KalturaSystemPartnerConfiguration $configuration) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->addParam($kparams, "configuration", $configuration->toParams()); $this->client->queueServiceActionCall("systempartner_systempartner", "updateConfiguration", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function getConfiguration($partnerId) { $kparams = array(); $this->client->addParam($kparams, "partnerId", $partnerId); $this->client->queueServiceActionCall("systempartner_systempartner", "getConfiguration", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaSystemPartnerConfiguration"); return $resultObject; } function getPackages() { $kparams = array(); $this->client->queueServiceActionCall("systempartner_systempartner", "getPackages", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } } class KalturaFileSyncService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listAction(KalturaFileSyncFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("filesync_filesync", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFileSyncListResponse"); return $resultObject; } function sync($fileSyncId, $fileData) { $kparams = array(); $this->client->addParam($kparams, "fileSyncId", $fileSyncId); $kfiles = array(); $this->client->addParam($kfiles, "fileData", $fileData); $this->client->queueServiceActionCall("filesync_filesync", "sync", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFileSync"); return $resultObject; } } class KalturaFlavorParamsOutputService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listAction(KalturaFlavorParamsOutputFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("adminconsole_flavorparamsoutput", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFlavorParamsOutputListResponse"); return $resultObject; } } class KalturaMediaInfoService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listAction(KalturaMediaInfoFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("adminconsole_mediainfo", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaInfoListResponse"); return $resultObject; } } class KalturaEntryAdminService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function get($entryId, $version = -1) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "version", $version); $this->client->queueServiceActionCall("adminconsole_entryadmin", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); return $resultObject; } } class KalturaStorageProfileService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listByPartner(KalturaPartnerFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("storageprofile_storageprofile", "listByPartner", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaStorageProfileListResponse"); return $resultObject; } function updateStatus($storageId, $status) { $kparams = array(); $this->client->addParam($kparams, "storageId", $storageId); $this->client->addParam($kparams, "status", $status); $this->client->queueServiceActionCall("storageprofile_storageprofile", "updateStatus", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function get($storageProfileId) { $kparams = array(); $this->client->addParam($kparams, "storageProfileId", $storageProfileId); $this->client->queueServiceActionCall("storageprofile_storageprofile", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); return $resultObject; } function update($storageProfileId, KalturaStorageProfile $storageProfile) { $kparams = array(); $this->client->addParam($kparams, "storageProfileId", $storageProfileId); $this->client->addParam($kparams, "storageProfile", $storageProfile->toParams()); $this->client->queueServiceActionCall("storageprofile_storageprofile", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); return $resultObject; } function add(KalturaStorageProfile $storageProfile) { $kparams = array(); $this->client->addParam($kparams, "storageProfile", $storageProfile->toParams()); $this->client->queueServiceActionCall("storageprofile_storageprofile", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); return $resultObject; } } class KalturaMetadataService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listAction(KalturaMetadataFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("metadata_metadata", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataListResponse"); return $resultObject; } function add($metadataProfileId, $objectType, $objectId, $xmlData) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "objectType", $objectType); $this->client->addParam($kparams, "objectId", $objectId); $this->client->addParam($kparams, "xmlData", $xmlData); $this->client->queueServiceActionCall("metadata_metadata", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function addFromFile($metadataProfileId, $objectType, $objectId, $xmlFile) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "objectType", $objectType); $this->client->addParam($kparams, "objectId", $objectId); $kfiles = array(); $this->client->addParam($kfiles, "xmlFile", $xmlFile); $this->client->queueServiceActionCall("metadata_metadata", "addFromFile", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function addFromUrl($metadataProfileId, $objectType, $objectId, $url) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "objectType", $objectType); $this->client->addParam($kparams, "objectId", $objectId); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("metadata_metadata", "addFromUrl", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function addFromBulk($metadataProfileId, $objectType, $objectId, $url) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "objectType", $objectType); $this->client->addParam($kparams, "objectId", $objectId); $this->client->addParam($kparams, "url", $url); $this->client->queueServiceActionCall("metadata_metadata", "addFromBulk", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("metadata_metadata", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function invalidate($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("metadata_metadata", "invalidate", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("metadata_metadata", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function update($id, $xmlData = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "xmlData", $xmlData); $this->client->queueServiceActionCall("metadata_metadata", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } function updateFromFile($id, $xmlFile = null) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $kfiles = array(); $this->client->addParam($kfiles, "xmlFile", $xmlFile); $this->client->queueServiceActionCall("metadata_metadata", "updateFromFile", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadata"); return $resultObject; } } class KalturaMetadataProfileService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function listAction(KalturaMetadataProfileFilter $filter = null, KalturaFilterPager $pager = null) { $kparams = array(); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("metadata_metadataprofile", "list", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfileListResponse"); return $resultObject; } function listFields($metadataProfileId) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->queueServiceActionCall("metadata_metadataprofile", "listFields", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfileFieldListResponse"); return $resultObject; } function add(KalturaMetadataProfile $metadataProfile, $xsdData, $viewsData = "") { $kparams = array(); $this->client->addParam($kparams, "metadataProfile", $metadataProfile->toParams()); $this->client->addParam($kparams, "xsdData", $xsdData); $this->client->addParam($kparams, "viewsData", $viewsData); $this->client->queueServiceActionCall("metadata_metadataprofile", "add", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } function addFromFile(KalturaMetadataProfile $metadataProfile, $xsdFile, $viewsFile = null) { $kparams = array(); $this->client->addParam($kparams, "metadataProfile", $metadataProfile->toParams()); $kfiles = array(); $this->client->addParam($kfiles, "xsdFile", $xsdFile); $this->client->addParam($kfiles, "viewsFile", $viewsFile); $this->client->queueServiceActionCall("metadata_metadataprofile", "addFromFile", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } function delete($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("metadata_metadataprofile", "delete", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function get($id) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->queueServiceActionCall("metadata_metadataprofile", "get", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } function update($id, KalturaMetadataProfile $metadataProfile, $xsdData = "", $viewsData = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "metadataProfile", $metadataProfile->toParams()); $this->client->addParam($kparams, "xsdData", $xsdData); $this->client->addParam($kparams, "viewsData", $viewsData); $this->client->queueServiceActionCall("metadata_metadataprofile", "update", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } function updateDefinitionFromFile($id, $xsdFile) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $kfiles = array(); $this->client->addParam($kfiles, "xsdFile", $xsdFile); $this->client->queueServiceActionCall("metadata_metadataprofile", "updateDefinitionFromFile", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } function updateViewsFromFile($id, $viewsFile) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $kfiles = array(); $this->client->addParam($kfiles, "viewsFile", $viewsFile); $this->client->queueServiceActionCall("metadata_metadataprofile", "updateViewsFromFile", $kparams, $kfiles); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataProfile"); return $resultObject; } } class KalturaMetadataBatchService extends KalturaServiceBase { function __construct(KalturaClient $client) { parent::__construct($client); } function getExclusiveImportMetadataJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveImportMetadataJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveImportMetadataJob($id, KalturaExclusiveLockKey $lockKey, KalturaMetadataBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveImportMetadataJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataBatchJob"); return $resultObject; } function freeExclusiveImportMetadataJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveImportMetadataJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveTransformMetadataJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveTransformMetadataJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveTransformMetadataJob($id, KalturaExclusiveLockKey $lockKey, KalturaMetadataBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveTransformMetadataJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMetadataBatchJob"); return $resultObject; } function freeExclusiveTransformMetadataJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveTransformMetadataJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getTransformMetadataObjects($metadataProfileId, $srcVersion, $destVersion, KalturaFilterPager $pager = null) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "srcVersion", $srcVersion); $this->client->addParam($kparams, "destVersion", $destVersion); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getTransformMetadataObjects", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaTransformMetadataResponse"); return $resultObject; } function upgradeMetadataObjects($metadataProfileId, $srcVersion, $destVersion, KalturaFilterPager $pager = null) { $kparams = array(); $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); $this->client->addParam($kparams, "srcVersion", $srcVersion); $this->client->addParam($kparams, "destVersion", $destVersion); if ($pager !== null) $this->client->addParam($kparams, "pager", $pager->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "upgradeMetadataObjects", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaUpgradeMetadataResponse"); return $resultObject; } function getExclusiveJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null, $jobType) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveImportJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveImportJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveImportJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveImportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveImportJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveImportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveBulkUploadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveBulkUploadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneBulkUploadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneBulkUploadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveBulkUploadJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveBulkUploadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveBulkUploadJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveBulkUploadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function addBulkUploadResult(KalturaBulkUploadResult $bulkUploadResult, array $pluginDataArray = null) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadResult", $bulkUploadResult->toParams()); if ($pluginDataArray !== null) foreach($pluginDataArray as $index => $obj) { $this->client->addParam($kparams, "pluginDataArray:$index", $obj->toParams()); } $this->client->queueServiceActionCall("metadata_metadatabatch", "addBulkUploadResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUploadResult"); return $resultObject; } function getBulkUploadLastResult($bulkUploadJobId) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadJobId", $bulkUploadJobId); $this->client->queueServiceActionCall("metadata_metadatabatch", "getBulkUploadLastResult", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBulkUploadResult"); return $resultObject; } function updateBulkUploadResults($bulkUploadJobId) { $kparams = array(); $this->client->addParam($kparams, "bulkUploadJobId", $bulkUploadJobId); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateBulkUploadResults", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function getExclusiveAlmostDoneRemoteConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneRemoteConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveRemoteConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveRemoteConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveRemoteConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveRemoteConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveAlmostDoneConvertCollectionJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneConvertCollectionJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneConvertProfileJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneConvertProfileJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveConvertCollectionJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "", array $flavorsData = null) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); if ($flavorsData !== null) foreach($flavorsData as $index => $obj) { $this->client->addParam($kparams, "flavorsData:$index", $obj->toParams()); } $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveConvertCollectionJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function updateExclusiveConvertProfileJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveConvertProfileJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveConvertCollectionJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveConvertCollectionJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function freeExclusiveConvertProfileJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveConvertProfileJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveConvertCollectionJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveConvertCollectionJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function updateExclusiveConvertJobSubType($id, KalturaExclusiveLockKey $lockKey, $subType) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "subType", $subType); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveConvertJobSubType", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusivePostConvertJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusivePostConvertJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusivePostConvertJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusivePostConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusivePostConvertJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusivePostConvertJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusivePullJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusivePullJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusivePullJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusivePullJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusivePullJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusivePullJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveExtractMediaJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveExtractMediaJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveExtractMediaJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveExtractMediaJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function addMediaInfo(KalturaMediaInfo $mediaInfo) { $kparams = array(); $this->client->addParam($kparams, "mediaInfo", $mediaInfo->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "addMediaInfo", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaMediaInfo"); return $resultObject; } function freeExclusiveExtractMediaJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveExtractMediaJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveStorageExportJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveStorageExportJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveStorageExportJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveStorageExportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveStorageExportJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveStorageExportJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveStorageDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveStorageDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveStorageDeleteJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveStorageDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveStorageDeleteJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveStorageDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveNotificationJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveNotificationJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchGetExclusiveNotificationJobsResponse"); return $resultObject; } function updateExclusiveNotificationJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveNotificationJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveNotificationJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveNotificationJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveMailJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveMailJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveMailJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveMailJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveMailJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveMailJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveBulkDownloadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveBulkDownloadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneBulkDownloadJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneBulkDownloadJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveBulkDownloadJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveBulkDownloadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveBulkDownloadJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveBulkDownloadJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveProvisionProvideJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveProvisionProvideJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneProvisionProvideJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneProvisionProvideJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveProvisionProvideJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveProvisionProvideJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveProvisionProvideJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveProvisionProvideJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getExclusiveProvisionDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveProvisionDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function getExclusiveAlmostDoneProvisionDeleteJobs(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDoneProvisionDeleteJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveProvisionDeleteJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveProvisionDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function freeExclusiveProvisionDeleteJob($id, KalturaExclusiveLockKey $lockKey, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveProvisionDeleteJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function resetJobExecutionAttempts($id, KalturaExclusiveLockKey $lockKey, $jobType) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("metadata_metadatabatch", "resetJobExecutionAttempts", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function freeExclusiveJob($id, KalturaExclusiveLockKey $lockKey, $jobType, $resetExecutionAttempts = false) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->addParam($kparams, "resetExecutionAttempts", $resetExecutionAttempts); $this->client->queueServiceActionCall("metadata_metadatabatch", "freeExclusiveJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFreeJobResponse"); return $resultObject; } function getQueueSize(KalturaWorkerQueueFilter $workerQueueFilter) { $kparams = array(); $this->client->addParam($kparams, "workerQueueFilter", $workerQueueFilter->toParams()); $this->client->queueServiceActionCall("metadata_metadatabatch", "getQueueSize", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function getExclusiveAlmostDone(KalturaExclusiveLockKey $lockKey, $maxExecutionTime, $numberOfJobs, KalturaBatchJobFilter $filter = null, $jobType) { $kparams = array(); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "maxExecutionTime", $maxExecutionTime); $this->client->addParam($kparams, "numberOfJobs", $numberOfJobs); if ($filter !== null) $this->client->addParam($kparams, "filter", $filter->toParams()); $this->client->addParam($kparams, "jobType", $jobType); $this->client->queueServiceActionCall("metadata_metadatabatch", "getExclusiveAlmostDone", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "array"); return $resultObject; } function updateExclusiveJob($id, KalturaExclusiveLockKey $lockKey, KalturaBatchJob $job, $entryStatus = "") { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "lockKey", $lockKey->toParams()); $this->client->addParam($kparams, "job", $job->toParams()); $this->client->addParam($kparams, "entryStatus", $entryStatus); $this->client->queueServiceActionCall("metadata_metadatabatch", "updateExclusiveJob", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaBatchJob"); return $resultObject; } function cleanExclusiveJobs() { $kparams = array(); $this->client->queueServiceActionCall("metadata_metadatabatch", "cleanExclusiveJobs", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "integer"); return $resultObject; } function logConversion($flavorAssetId, $data) { $kparams = array(); $this->client->addParam($kparams, "flavorAssetId", $flavorAssetId); $this->client->addParam($kparams, "data", $data); $this->client->queueServiceActionCall("metadata_metadatabatch", "logConversion", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "null"); return $resultObject; } function checkFileExists($localPath, $size) { $kparams = array(); $this->client->addParam($kparams, "localPath", $localPath); $this->client->addParam($kparams, "size", $size); $this->client->queueServiceActionCall("metadata_metadatabatch", "checkFileExists", $kparams); if ($this->client->isMultiRequest()) return null; $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaFileExistsResponse"); return $resultObject; } } class KalturaClient extends KalturaClientBase { /** * Add & Manage Access Controls * * @var KalturaAccessControlService */ public $accessControl = null; /** * Manage details for the administrative user * * @var KalturaAdminUserService */ public $adminUser = null; /** * Base Entry Service * * @var KalturaBaseEntryService */ public $baseEntry = null; /** * batch service lets you handle different batch process from remote machines. * As oppesed to other ojects in the system, locking mechanism is critical in this case. * For this reason the GetExclusiveXX, UpdateExclusiveXX and FreeExclusiveXX actions are important for the system's intergity. * In general - updating batch object should be done only using the UpdateExclusiveXX which in turn can be called only after * acuiring a batch objet properly (using GetExclusiveXX). * If an object was aquired and should be returned to the pool in it's initial state - use the FreeExclusiveXX action * * * @var KalturaBatchcontrolService */ public $batchcontrol = null; /** * batch service lets you handle different batch process from remote machines. * As oppesed to other ojects in the system, locking mechanism is critical in this case. * For this reason the GetExclusiveXX, UpdateExclusiveXX and FreeExclusiveXX actions are important for the system's intergity. * In general - updating batch object should be done only using the UpdateExclusiveXX which in turn can be called only after * acuiring a batch objet properly (using GetExclusiveXX). * If an object was aquired and should be returned to the pool in it's initial state - use the FreeExclusiveXX action * * * @var KalturaBatchService */ public $batch = null; /** * Bulk upload service is used to upload & manage bulk uploads using CSV files * * @var KalturaBulkUploadService */ public $bulkUpload = null; /** * Add & Manage Categories * * @var KalturaCategoryService */ public $category = null; /** * Add & Manage Conversion Profiles * * @var KalturaConversionProfileService */ public $conversionProfile = null; /** * Data service lets you manage data content (textual content) * * @var KalturaDataService */ public $data = null; /** * Document service lets you upload and manage document files * * @var KalturaDocumentService */ public $document = null; /** * EmailIngestionProfile service lets you manage email ingestion profile records * * @var KalturaEmailIngestionProfileService */ public $EmailIngestionProfile = null; /** * Retrieve information and invoke actions on Flavor Asset * * @var KalturaFlavorAssetService */ public $flavorAsset = null; /** * Add & Manage Flavor Params * * @var KalturaFlavorParamsService */ public $flavorParams = null; /** * batch service lets you handle different batch process from remote machines. * As oppesed to other ojects in the system, locking mechanism is critical in this case. * For this reason the GetExclusiveXX, UpdateExclusiveXX and FreeExclusiveXX actions are important for the system's intergity. * In general - updating batch object should be done only using the UpdateExclusiveXX which in turn can be called only after * acuiring a batch objet properly (using GetExclusiveXX). * If an object was aquired and should be returned to the pool in it's initial state - use the FreeExclusiveXX action * * * @var KalturaJobsService */ public $jobs = null; /** * Live Stream service lets you manage live stream channels * * @var KalturaLiveStreamService */ public $liveStream = null; /** * Media service lets you upload and manage media files (images / videos & audio) * * @var KalturaMediaService */ public $media = null; /** * A Mix is an XML unique format invented by Kaltura, it allows the user to create a mix of videos and images, in and out points, transitions, text overlays, soundtrack, effects and much more... * Mixing service lets you create a new mix, manage its metadata and make basic manipulations. * * @var KalturaMixingService */ public $mixing = null; /** * Notification Service * * @var KalturaNotificationService */ public $notification = null; /** * partner service allows you to change/manage your partner personal details and settings as well * * @var KalturaPartnerService */ public $partner = null; /** * Playlist service lets you create,manage and play your playlists * Playlists could be static (containing a fixed list of entries) or dynamic (baseed on a filter) * * @var KalturaPlaylistService */ public $playlist = null; /** * api for getting reports data by the report type and some inputFilter * * @var KalturaReportService */ public $report = null; /** * Search service allows you to search for media in various media providers * This service is being used mostly by the CW component * * @var KalturaSearchService */ public $search = null; /** * Session service * * @var KalturaSessionService */ public $session = null; /** * Stats Service * * @var KalturaStatsService */ public $stats = null; /** * Add & Manage Syndication Feeds * * @var KalturaSyndicationFeedService */ public $syndicationFeed = null; /** * System service is used for internal system helpers & to retrieve system level information * * @var KalturaSystemService */ public $system = null; /** * UiConf service lets you create and manage your UIConfs for the various flash components * This service is used by the KMC-ApplicationStudio * * @var KalturaUiConfService */ public $uiConf = null; /** * * * @var KalturaUploadService */ public $upload = null; /** * * * @var KalturaUploadTokenService */ public $uploadToken = null; /** * Manage partner users on Kaltura's side * The userId in kaltura is the unique Id in the partner's system, and the [partnerId,Id] couple are unique key in kaltura's DB * * @var KalturaUserService */ public $user = null; /** * widget service for full widget management * * @var KalturaWidgetService */ public $widget = null; /** * Internal Service is used for actions that are used internally in Kaltura applications and might be changed in the future without any notice. * * @var KalturaXInternalService */ public $xInternal = null; /** * System user service * * @var KalturaSystemUserService */ public $systemUser = null; /** * System partner service * * @var KalturaSystemPartnerService */ public $systemPartner = null; /** * System user service * * @var KalturaFileSyncService */ public $fileSync = null; /** * Flavor Params Output service * * @var KalturaFlavorParamsOutputService */ public $flavorParamsOutput = null; /** * Media Info service * * @var KalturaMediaInfoService */ public $mediaInfo = null; /** * Entry Admin service * * @var KalturaEntryAdminService */ public $entryAdmin = null; /** * Storage Profiles service * * @var KalturaStorageProfileService */ public $storageProfile = null; /** * Metadata service * * @var KalturaMetadataService */ public $metadata = null; /** * Metadata Profile service * * @var KalturaMetadataProfileService */ public $metadataProfile = null; /** * * * @var KalturaMetadataBatchService */ public $metadataBatch = null; public function __construct(KalturaConfiguration $config) { parent::__construct($config); $this->accessControl = new KalturaAccessControlService($this); $this->adminUser = new KalturaAdminUserService($this); $this->baseEntry = new KalturaBaseEntryService($this); $this->batchcontrol = new KalturaBatchcontrolService($this); $this->batch = new KalturaBatchService($this); $this->bulkUpload = new KalturaBulkUploadService($this); $this->category = new KalturaCategoryService($this); $this->conversionProfile = new KalturaConversionProfileService($this); $this->data = new KalturaDataService($this); $this->document = new KalturaDocumentService($this); $this->EmailIngestionProfile = new KalturaEmailIngestionProfileService($this); $this->flavorAsset = new KalturaFlavorAssetService($this); $this->flavorParams = new KalturaFlavorParamsService($this); $this->jobs = new KalturaJobsService($this); $this->liveStream = new KalturaLiveStreamService($this); $this->media = new KalturaMediaService($this); $this->mixing = new KalturaMixingService($this); $this->notification = new KalturaNotificationService($this); $this->partner = new KalturaPartnerService($this); $this->playlist = new KalturaPlaylistService($this); $this->report = new KalturaReportService($this); $this->search = new KalturaSearchService($this); $this->session = new KalturaSessionService($this); $this->stats = new KalturaStatsService($this); $this->syndicationFeed = new KalturaSyndicationFeedService($this); $this->system = new KalturaSystemService($this); $this->uiConf = new KalturaUiConfService($this); $this->upload = new KalturaUploadService($this); $this->uploadToken = new KalturaUploadTokenService($this); $this->user = new KalturaUserService($this); $this->widget = new KalturaWidgetService($this); $this->xInternal = new KalturaXInternalService($this); $this->systemUser = new KalturaSystemUserService($this); $this->systemPartner = new KalturaSystemPartnerService($this); $this->fileSync = new KalturaFileSyncService($this); $this->flavorParamsOutput = new KalturaFlavorParamsOutputService($this); $this->mediaInfo = new KalturaMediaInfoService($this); $this->entryAdmin = new KalturaEntryAdminService($this); $this->storageProfile = new KalturaStorageProfileService($this); $this->metadata = new KalturaMetadataService($this); $this->metadataProfile = new KalturaMetadataProfileService($this); $this->metadataBatch = new KalturaMetadataBatchService($this); } }