Class: Kaltura::KalturaFlavorParamsService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaFlavorParamsService
- Defined in:
- lib/kaltura_client.rb
Overview
Add & Manage Flavor Params
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#add(flavor_params) ⇒ KalturaFlavorParams
Add new Flavor Params.
-
#delete(id) ⇒ Object
Delete Flavor Params by ID.
-
#get(id) ⇒ KalturaFlavorParams
Get Flavor Params by ID.
-
#get_by_conversion_profile_id(conversion_profile_id) ⇒ array
Get Flavor Params by Conversion Profile ID.
-
#initialize(client) ⇒ KalturaFlavorParamsService
constructor
A new instance of KalturaFlavorParamsService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaFlavorParamsListResponse
List Flavor Params by filter with paging support (By default - all system default params will be listed too).
-
#update(id, flavor_params) ⇒ KalturaFlavorParams
Update Flavor Params by ID.
Constructor Details
#initialize(client) ⇒ KalturaFlavorParamsService
Returns a new instance of KalturaFlavorParamsService.
2033 2034 2035 |
# File 'lib/kaltura_client.rb', line 2033 def initialize(client) super(client) end |
Instance Method Details
#add(flavor_params) ⇒ KalturaFlavorParams
Add new Flavor Params
2039 2040 2041 2042 2043 2044 2045 2046 2047 |
# File 'lib/kaltura_client.rb', line 2039 def add(flavor_params) kparams = {} client.add_param(kparams, 'flavorParams', flavor_params) client.queue_service_action_call('flavorparams', 'add', 'KalturaFlavorParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#delete(id) ⇒ Object
Delete Flavor Params by ID
2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'lib/kaltura_client.rb', line 2051 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('flavorparams', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get(id) ⇒ KalturaFlavorParams
Get Flavor Params by ID
2063 2064 2065 2066 2067 2068 2069 2070 2071 |
# File 'lib/kaltura_client.rb', line 2063 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('flavorparams', 'get', 'KalturaFlavorParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_by_conversion_profile_id(conversion_profile_id) ⇒ array
Get Flavor Params by Conversion Profile ID
2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'lib/kaltura_client.rb', line 2075 def get_by_conversion_profile_id(conversion_profile_id) kparams = {} client.add_param(kparams, 'conversionProfileId', conversion_profile_id) client.queue_service_action_call('flavorparams', 'getByConversionProfileId', 'KalturaFlavorParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaFlavorParamsListResponse
List Flavor Params by filter with paging support (By default - all system default params will be listed too)
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/kaltura_client.rb', line 2087 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('flavorparams', 'list', 'KalturaFlavorParamsListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, flavor_params) ⇒ KalturaFlavorParams
Update Flavor Params by ID
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'lib/kaltura_client.rb', line 2100 def update(id, flavor_params) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'flavorParams', flavor_params) client.queue_service_action_call('flavorparams', 'update', 'KalturaFlavorParams', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |