Beispiel #1
0
        public KalturaCaptionAssetItemListResponse Search(KalturaBaseEntryFilter entryFilter, KalturaCaptionAssetItemFilter captionAssetItemFilter, KalturaFilterPager captionAssetItemPager)
        {
            KalturaParams kparams = new KalturaParams();

            if (entryFilter != null)
            {
                kparams.Add("entryFilter", entryFilter.ToParams());
            }
            if (captionAssetItemFilter != null)
            {
                kparams.Add("captionAssetItemFilter", captionAssetItemFilter.ToParams());
            }
            if (captionAssetItemPager != null)
            {
                kparams.Add("captionAssetItemPager", captionAssetItemPager.ToParams());
            }
            _Client.QueueServiceCall("captionsearch_captionassetitem", "search", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaCaptionAssetItemListResponse)KalturaObjectFactory.Create(result));
        }
        public int Count(KalturaBaseEntryFilter filter)
        {
            KalturaParams kparams = new KalturaParams();

            if (filter != null)
            {
                kparams.Add("filter", filter.ToParams());
            }
            _Client.QueueServiceCall("baseentry", "count", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(0);
            }
            XmlElement result = _Client.DoQueue();

            return(int.Parse(result.InnerText));
        }
        public KalturaBaseEntryListResponse List(KalturaBaseEntryFilter filter, KalturaFilterPager pager)
        {
            KalturaParams kparams = new KalturaParams();

            if (filter != null)
            {
                kparams.Add("filter", filter.ToParams());
            }
            if (pager != null)
            {
                kparams.Add("pager", pager.ToParams());
            }
            _Client.QueueServiceCall("baseentry", "list", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaBaseEntryListResponse)KalturaObjectFactory.Create(result));
        }
 public KalturaBaseEntryListResponse List(KalturaBaseEntryFilter filter)
 {
     return(this.List(filter, null));
 }
Beispiel #5
0
 public KalturaCaptionAssetItemListResponse Search(KalturaBaseEntryFilter entryFilter, KalturaCaptionAssetItemFilter captionAssetItemFilter)
 {
     return(this.Search(entryFilter, captionAssetItemFilter, null));
 }