Class: Kaltura::KalturaThumbParamsService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaThumbParamsService
- Defined in:
- lib/kaltura_client.rb
Overview
Add & Manage Thumb Params
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#add(thumb_params) ⇒ KalturaThumbParams
Add new Thumb Params.
-
#delete(id) ⇒ Object
Delete Thumb Params by ID.
-
#get(id) ⇒ KalturaThumbParams
Get Thumb Params by ID.
-
#get_by_conversion_profile_id(conversion_profile_id) ⇒ array
Get Thumb Params by Conversion Profile ID.
-
#initialize(client) ⇒ KalturaThumbParamsService
constructor
A new instance of KalturaThumbParamsService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaThumbParamsListResponse
List Thumb Params by filter with paging support (By default - all system default params will be listed too).
-
#update(id, thumb_params) ⇒ KalturaThumbParams
Update Thumb Params by ID.
Constructor Details
#initialize(client) ⇒ KalturaThumbParamsService
Returns a new instance of KalturaThumbParamsService.
5086 5087 5088 |
# File 'lib/kaltura_client.rb', line 5086 def initialize(client) super(client) end |
Instance Method Details
#add(thumb_params) ⇒ KalturaThumbParams
Add new Thumb Params
5092 5093 5094 5095 5096 5097 5098 5099 5100 |
# File 'lib/kaltura_client.rb', line 5092 def add(thumb_params) kparams = {} client.add_param(kparams, 'thumbParams', thumb_params) client.queue_service_action_call('thumbparams', 'add', 'KalturaThumbParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#delete(id) ⇒ Object
Delete Thumb Params by ID
5104 5105 5106 5107 5108 5109 5110 5111 5112 |
# File 'lib/kaltura_client.rb', line 5104 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('thumbparams', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get(id) ⇒ KalturaThumbParams
Get Thumb Params by ID
5116 5117 5118 5119 5120 5121 5122 5123 5124 |
# File 'lib/kaltura_client.rb', line 5116 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('thumbparams', 'get', 'KalturaThumbParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_by_conversion_profile_id(conversion_profile_id) ⇒ array
Get Thumb Params by Conversion Profile ID
5128 5129 5130 5131 5132 5133 5134 5135 5136 |
# File 'lib/kaltura_client.rb', line 5128 def get_by_conversion_profile_id(conversion_profile_id) kparams = {} client.add_param(kparams, 'conversionProfileId', conversion_profile_id) client.queue_service_action_call('thumbparams', 'getByConversionProfileId', 'KalturaThumbParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaThumbParamsListResponse
List Thumb Params by filter with paging support (By default - all system default params will be listed too)
5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 |
# File 'lib/kaltura_client.rb', line 5140 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('thumbparams', 'list', 'KalturaThumbParamsListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, thumb_params) ⇒ KalturaThumbParams
Update Thumb Params by ID
5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 |
# File 'lib/kaltura_client.rb', line 5153 def update(id, thumb_params) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'thumbParams', thumb_params) client.queue_service_action_call('thumbparams', 'update', 'KalturaThumbParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |