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.



1149
1150
1151
# File 'lib/kaltura_client.rb', line 1149

def initialize(client)
  super(client)
end

Instance Method Details

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

Lists asset parmas of conversion profile by ID



1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
# File 'lib/kaltura_client.rb', line 1155

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



1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
# File 'lib/kaltura_client.rb', line 1168

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