Class: Kaltura::KalturaSyndicationFeedService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSyndicationFeedService
- Defined in:
- lib/kaltura_client.rb
Overview
Add & Manage Syndication Feeds
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#add(syndication_feed) ⇒ KalturaBaseSyndicationFeed
Add new Syndication Feed.
-
#delete(id) ⇒ Object
Delete Syndication Feed by ID.
-
#get(id) ⇒ KalturaBaseSyndicationFeed
Get Syndication Feed by ID.
-
#get_entry_count(feed_id) ⇒ KalturaSyndicationFeedEntryCount
get entry count for a syndication feed.
-
#initialize(client) ⇒ KalturaSyndicationFeedService
constructor
A new instance of KalturaSyndicationFeedService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaBaseSyndicationFeedListResponse
List Syndication Feeds by filter with paging support.
-
#request_conversion(feed_id) ⇒ string
request conversion for all entries that doesn’t have the required flavor param returns a comma-separated ids of conversion jobs.
-
#update(id, syndication_feed) ⇒ KalturaBaseSyndicationFeed
Update Syndication Feed by ID.
Constructor Details
#initialize(client) ⇒ KalturaSyndicationFeedService
Returns a new instance of KalturaSyndicationFeedService.
4676 4677 4678 |
# File 'lib/kaltura_client.rb', line 4676 def initialize(client) super(client) end |
Instance Method Details
#add(syndication_feed) ⇒ KalturaBaseSyndicationFeed
Add new Syndication Feed
4682 4683 4684 4685 4686 4687 4688 4689 4690 |
# File 'lib/kaltura_client.rb', line 4682 def add() kparams = {} client.add_param(kparams, 'syndicationFeed', ) client.queue_service_action_call('syndicationfeed', 'add', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#delete(id) ⇒ Object
Delete Syndication Feed by ID
4694 4695 4696 4697 4698 4699 4700 4701 4702 |
# File 'lib/kaltura_client.rb', line 4694 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('syndicationfeed', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get(id) ⇒ KalturaBaseSyndicationFeed
Get Syndication Feed by ID
4706 4707 4708 4709 4710 4711 4712 4713 4714 |
# File 'lib/kaltura_client.rb', line 4706 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('syndicationfeed', 'get', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_entry_count(feed_id) ⇒ KalturaSyndicationFeedEntryCount
get entry count for a syndication feed
4718 4719 4720 4721 4722 4723 4724 4725 4726 |
# File 'lib/kaltura_client.rb', line 4718 def get_entry_count(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id) client.queue_service_action_call('syndicationfeed', 'getEntryCount', 'KalturaSyndicationFeedEntryCount', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaBaseSyndicationFeedListResponse
List Syndication Feeds by filter with paging support
4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'lib/kaltura_client.rb', line 4730 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('syndicationfeed', 'list', 'KalturaBaseSyndicationFeedListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#request_conversion(feed_id) ⇒ string
request conversion for all entries that doesn’t have the required flavor param returns a comma-separated ids of conversion jobs
4744 4745 4746 4747 4748 4749 4750 4751 4752 |
# File 'lib/kaltura_client.rb', line 4744 def request_conversion(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id) client.queue_service_action_call('syndicationfeed', 'requestConversion', 'string', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, syndication_feed) ⇒ KalturaBaseSyndicationFeed
Update Syndication Feed by ID
4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 |
# File 'lib/kaltura_client.rb', line 4756 def update(id, ) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'syndicationFeed', ) client.queue_service_action_call('syndicationfeed', 'update', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |