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.



1106
1107
1108
# File 'lib/kaltura_client.rb', line 1106

def initialize(client)
	super(client)
end

Instance Method Details

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

Lists asset parmas of conversion profile by ID



1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
# File 'lib/kaltura_client.rb', line 1112

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) ⇒ Object

Update asset parmas of conversion profile by ID



1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/kaltura_client.rb', line 1125

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