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.



1188
1189
1190
# File 'lib/kaltura_client.rb', line 1188

def initialize(client)
	super(client)
end

Instance Method Details

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

Lists asset parmas of conversion profile by ID



1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
# File 'lib/kaltura_client.rb', line 1194

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



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
# File 'lib/kaltura_client.rb', line 1207

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