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.



184
185
186
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 184

def initialize(client)
	super(client)
end

Instance Method Details

#list(caption_asset_id, caption_asset_item_filter = KalturaNotImplemented, caption_asset_item_pager = KalturaNotImplemented) ⇒ KalturaCaptionAssetItemListResponse

List caption asset items by filter and pager



190
191
192
193
194
195
196
197
198
199
200
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 190

def list(caption_asset_id, caption_asset_item_filter=KalturaNotImplemented, caption_asset_item_pager=KalturaNotImplemented)
	kparams = {}
	client.add_param(kparams, 'captionAssetId', caption_asset_id)
	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', 'list', 'KalturaCaptionAssetItemListResponse', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

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

Search caption asset items by filter, pager and free text



204
205
206
207
208
209
210
211
212
213
214
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 204

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', 'KalturaCaptionAssetItemListResponse', 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) ⇒ KalturaBaseEntryListResponse

Search caption asset items by filter, pager and free text



218
219
220
221
222
223
224
225
226
227
228
# File 'lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb', line 218

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', 'KalturaBaseEntryListResponse', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end