Class: Kaltura::KalturaConversionProfileService

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

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaConversionProfileService

Returns a new instance of KalturaConversionProfileService.



3697
3698
3699
# File 'lib/kaltura_client.rb', line 3697

def initialize(client)
	super(client)
end

Instance Method Details

#add(conversion_profile) ⇒ Object



3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'lib/kaltura_client.rb', line 3701

def add(conversion_profile)
	kparams = {}
	client.add_param(kparams, 'conversionProfile', conversion_profile);
	client.queue_service_action_call('conversionProfile', 'add', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#delete(id) ⇒ Object



3732
3733
3734
3735
3736
3737
3738
3739
3740
# File 'lib/kaltura_client.rb', line 3732

def delete(id)
	kparams = {}
	client.add_param(kparams, 'id', id);
	client.queue_service_action_call('conversionProfile', 'delete', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get(id) ⇒ Object



3711
3712
3713
3714
3715
3716
3717
3718
3719
# File 'lib/kaltura_client.rb', line 3711

def get(id)
	kparams = {}
	client.add_param(kparams, 'id', id);
	client.queue_service_action_call('conversionProfile', 'get', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

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



3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
# File 'lib/kaltura_client.rb', line 3742

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

#update(id, conversion_profile) ⇒ Object



3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
# File 'lib/kaltura_client.rb', line 3721

def update(id, conversion_profile)
	kparams = {}
	client.add_param(kparams, 'id', id);
	client.add_param(kparams, 'conversionProfile', conversion_profile);
	client.queue_service_action_call('conversionProfile', 'update', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end