Class: Kaltura::KalturaBulkUploadService

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

Returns a new instance of KalturaBulkUploadService.



3603
3604
3605
# File 'lib/kaltura_client.rb', line 3603

def initialize(client)
	super(client)
end

Instance Method Details

#add(conversion_profile_id, csv_file_data) ⇒ Object



3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
# File 'lib/kaltura_client.rb', line 3607

def add(conversion_profile_id, csv_file_data)
	kparams = {}
	client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
	client.add_param(kparams, 'csvFileData', csv_file_data);
	client.queue_service_action_call('bulkUpload', 'add', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get(id) ⇒ Object



3618
3619
3620
3621
3622
3623
3624
3625
3626
# File 'lib/kaltura_client.rb', line 3618

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

#list(pager = nil) ⇒ Object



3628
3629
3630
3631
3632
3633
3634
3635
3636
# File 'lib/kaltura_client.rb', line 3628

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