Class: Kaltura::KalturaCaptionAssetItemService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb

Overview

Search caption asset items

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaCaptionAssetItemService

Returns a new instance of KalturaCaptionAssetItemService.



95
96
97
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 95

def initialize(client)
	super(client)
end

Instance Method Details

#search(entry_filter = KalturaNotImplemented, caption_asset_item_filter = KalturaNotImplemented, caption_asset_item_pager = KalturaNotImplemented) ⇒ Object

Search caption asset items by filter, pager and free text



101
102
103
104
105
106
107
108
109
110
111
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 101

def search(entry_filter=KalturaNotImplemented, caption_asset_item_filter=KalturaNotImplemented, caption_asset_item_pager=KalturaNotImplemented)
	kparams = {}
	client.add_param(kparams, 'entryFilter', entry_filter);
	client.add_param(kparams, 'captionAssetItemFilter', caption_asset_item_filter);
	client.add_param(kparams, 'captionAssetItemPager', caption_asset_item_pager);
	client.queue_service_action_call('captionsearch_captionassetitem', 'search', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#search_entries(entry_filter = KalturaNotImplemented, caption_asset_item_filter = KalturaNotImplemented, caption_asset_item_pager = KalturaNotImplemented) ⇒ Object

Search caption asset items by filter, pager and free text



115
116
117
118
119
120
121
122
123
124
125
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 115

def search_entries(entry_filter=KalturaNotImplemented, caption_asset_item_filter=KalturaNotImplemented, caption_asset_item_pager=KalturaNotImplemented)
	kparams = {}
	client.add_param(kparams, 'entryFilter', entry_filter);
	client.add_param(kparams, 'captionAssetItemFilter', caption_asset_item_filter);
	client.add_param(kparams, 'captionAssetItemPager', caption_asset_item_pager);
	client.queue_service_action_call('captionsearch_captionassetitem', 'searchEntries', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end