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.



1165
1166
1167
# File 'lib/kaltura_client.rb', line 1165

def initialize(client)
  super(client)
end

Instance Method Details

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

Lists asset parmas of conversion profile by ID



1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
# File 'lib/kaltura_client.rb', line 1171

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



1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
# File 'lib/kaltura_client.rb', line 1184

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