Class: Kaltura::KalturaAccessControlService

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

Returns a new instance of KalturaAccessControlService.



3317
3318
3319
# File 'lib/kaltura_client.rb', line 3317

def initialize(client)
	super(client)
end

Instance Method Details

#add(access_control) ⇒ Object



3321
3322
3323
3324
3325
3326
3327
3328
3329
# File 'lib/kaltura_client.rb', line 3321

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

#delete(id) ⇒ Object



3352
3353
3354
3355
3356
3357
3358
3359
3360
# File 'lib/kaltura_client.rb', line 3352

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

#get(id) ⇒ Object



3331
3332
3333
3334
3335
3336
3337
3338
3339
# File 'lib/kaltura_client.rb', line 3331

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

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



3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'lib/kaltura_client.rb', line 3362

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

#update(id, access_control) ⇒ Object



3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
# File 'lib/kaltura_client.rb', line 3341

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