Class: Kaltura::KalturaConversionProfileAssetParamsService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Manage the connection between Conversion Profiles and Asset Params

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaConversionProfileAssetParamsService

Returns a new instance of KalturaConversionProfileAssetParamsService.



1205
1206
1207
# File 'lib/kaltura_client.rb', line 1205

def initialize(client)
	super(client)
end

Instance Method Details

#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaConversionProfileAssetParamsListResponse

Lists asset parmas of conversion profile by ID



1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
# File 'lib/kaltura_client.rb', line 1211

def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
	kparams = {}
	client.add_param(kparams, 'filter', filter)
	client.add_param(kparams, 'pager', pager)
	client.queue_service_action_call('conversionprofileassetparams', 'list', 'KalturaConversionProfileAssetParamsListResponse', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#update(conversion_profile_id, asset_params_id, conversion_profile_asset_params) ⇒ KalturaConversionProfileAssetParams

Update asset parmas of conversion profile by ID



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
# File 'lib/kaltura_client.rb', line 1224

def update(conversion_profile_id, asset_params_id, conversion_profile_asset_params)
	kparams = {}
	client.add_param(kparams, 'conversionProfileId', conversion_profile_id)
	client.add_param(kparams, 'assetParamsId', asset_params_id)
	client.add_param(kparams, 'conversionProfileAssetParams', conversion_profile_asset_params)
	client.queue_service_action_call('conversionprofileassetparams', 'update', 'KalturaConversionProfileAssetParams', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end