Class: Kaltura::KalturaFlavorParamsService

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

Returns a new instance of KalturaFlavorParamsService.



3972
3973
3974
# File 'lib/kaltura_client.rb', line 3972

def initialize(client)
	super(client)
end

Instance Method Details

#add(flavor_params) ⇒ Object



3976
3977
3978
3979
3980
3981
3982
3983
3984
# File 'lib/kaltura_client.rb', line 3976

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

#delete(id) ⇒ Object



4007
4008
4009
4010
4011
4012
4013
4014
4015
# File 'lib/kaltura_client.rb', line 4007

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

#get(id) ⇒ Object



3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'lib/kaltura_client.rb', line 3986

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

#get_by_conversion_profile_id(conversion_profile_id) ⇒ Object



4028
4029
4030
4031
4032
4033
4034
4035
4036
# File 'lib/kaltura_client.rb', line 4028

def get_by_conversion_profile_id(conversion_profile_id)
	kparams = {}
	client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
	client.queue_service_action_call('flavorParams', 'getByConversionProfileId', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

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



4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'lib/kaltura_client.rb', line 4017

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

#update(id, flavor_params) ⇒ Object



3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
# File 'lib/kaltura_client.rb', line 3996

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