You are here

function KalturaClient::addDvdEntry in Kaltura 6

Same name and namespace in other branches
  1. 5 kaltura_client/kaltura_client.php \KalturaClient::addDvdEntry()

File

kaltura_client/kaltura_client.php, line 473

Class

KalturaClient

Code

function addDvdEntry($kalturaSessionUser, $dvdEntry) {
  $params = array();
  $this
    ->addOptionalParam($params, "dvdEntry_name", $dvdEntry->name);
  $this
    ->addOptionalParam($params, "dvdEntry_tags", $dvdEntry->tags);
  $this
    ->addOptionalParam($params, "dvdEntry_type", $dvdEntry->type);
  $this
    ->addOptionalParam($params, "dvdEntry_mediaType", $dvdEntry->mediaType);
  $this
    ->addOptionalParam($params, "dvdEntry_source", $dvdEntry->source);
  $this
    ->addOptionalParam($params, "dvdEntry_sourceId", $dvdEntry->sourceId);
  $this
    ->addOptionalParam($params, "dvdEntry_sourceLink", $dvdEntry->sourceLink);
  $this
    ->addOptionalParam($params, "dvdEntry_licenseType", $dvdEntry->licenseType);
  $this
    ->addOptionalParam($params, "dvdEntry_credit", $dvdEntry->credit);
  $this
    ->addOptionalParam($params, "dvdEntry_groupId", $dvdEntry->groupId);
  $this
    ->addOptionalParam($params, "dvdEntry_partnerData", $dvdEntry->partnerData);
  $this
    ->addOptionalParam($params, "dvdEntry_conversionQuality", $dvdEntry->conversionQuality);
  $this
    ->addOptionalParam($params, "dvdEntry_permissions", $dvdEntry->permissions);
  $this
    ->addOptionalParam($params, "dvdEntry_dataContent", $dvdEntry->dataContent);
  $this
    ->addOptionalParam($params, "dvdEntry_desiredVersion", $dvdEntry->desiredVersion);
  $this
    ->addOptionalParam($params, "dvdEntry_url", $dvdEntry->url);
  $this
    ->addOptionalParam($params, "dvdEntry_thumbUrl", $dvdEntry->thumbUrl);
  $this
    ->addOptionalParam($params, "dvdEntry_filename", $dvdEntry->filename);
  $this
    ->addOptionalParam($params, "dvdEntry_realFilename", $dvdEntry->realFilename);
  $this
    ->addOptionalParam($params, "dvdEntry_indexedCustomData1", $dvdEntry->indexedCustomData1);
  $this
    ->addOptionalParam($params, "dvdEntry_thumbOffset", $dvdEntry->thumbOffset);
  $this
    ->addOptionalParam($params, "dvdEntry_mediaId", $dvdEntry->mediaId);
  $this
    ->addOptionalParam($params, "dvdEntry_screenName", $dvdEntry->screenName);
  $this
    ->addOptionalParam($params, "dvdEntry_siteUrl", $dvdEntry->siteUrl);
  $this
    ->addOptionalParam($params, "dvdEntry_description", $dvdEntry->description);
  $this
    ->addOptionalParam($params, "dvdEntry_mediaDate", $dvdEntry->mediaDate);
  $this
    ->addOptionalParam($params, "dvdEntry_adminTags", $dvdEntry->adminTags);
  $result = $this
    ->hit("adddvdentry", $kalturaSessionUser, $params);
  return $result;
}