Beispiel #1
0
        public KalturaDataEntry Add(KalturaDataEntry dataEntry)
        {
            KalturaParams kparams = new KalturaParams();

            if (dataEntry != null)
            {
                kparams.Add("dataEntry", dataEntry.ToParams());
            }
            _Client.QueueServiceCall("data", "add", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaDataEntry)KalturaObjectFactory.Create(result));
        }
Beispiel #2
0
        public KalturaDataEntry Update(string entryId, KalturaDataEntry documentEntry)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddStringIfNotNull("entryId", entryId);
            if (documentEntry != null)
            {
                kparams.Add("documentEntry", documentEntry.ToParams());
            }
            _Client.QueueServiceCall("data", "update", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaDataEntry)KalturaObjectFactory.Create(result));
        }