Class: Kaltura::KalturaSystemPartnerService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSystemPartnerService
- Defined in:
- lib/kaltura_client.rb
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #get(partner_id) ⇒ Object
- #get_admin_session(partner_id) ⇒ Object
- #get_configuration(partner_id) ⇒ Object
- #get_packages ⇒ Object
- #get_usage(partner_filter = nil, usage_filter = nil, pager = nil) ⇒ Object
-
#initialize(client) ⇒ KalturaSystemPartnerService
constructor
A new instance of KalturaSystemPartnerService.
- #list(filter = nil, pager = nil) ⇒ Object
- #update_configuration(partner_id, configuration) ⇒ Object
- #update_status(partner_id, status) ⇒ Object
Constructor Details
#initialize(client) ⇒ KalturaSystemPartnerService
Returns a new instance of KalturaSystemPartnerService.
5296 5297 5298 |
# File 'lib/kaltura_client.rb', line 5296 def initialize(client) super(client) end |
Instance Method Details
#get(partner_id) ⇒ Object
5300 5301 5302 5303 5304 5305 5306 5307 5308 |
# File 'lib/kaltura_client.rb', line 5300 def get(partner_id) kparams = {} client.add_param(kparams, 'partnerId', partner_id); client.queue_service_action_call('systemPartner', 'get', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#get_admin_session(partner_id) ⇒ Object
5344 5345 5346 5347 5348 5349 5350 5351 5352 |
# File 'lib/kaltura_client.rb', line 5344 def get_admin_session(partner_id) kparams = {} client.add_param(kparams, 'partnerId', partner_id); client.queue_service_action_call('systemPartner', 'getAdminSession', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#get_configuration(partner_id) ⇒ Object
5365 5366 5367 5368 5369 5370 5371 5372 5373 |
# File 'lib/kaltura_client.rb', line 5365 def get_configuration(partner_id) kparams = {} client.add_param(kparams, 'partnerId', partner_id); client.queue_service_action_call('systemPartner', 'getConfiguration', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#get_packages ⇒ Object
5375 5376 5377 5378 5379 5380 5381 5382 |
# File 'lib/kaltura_client.rb', line 5375 def get_packages() kparams = {} client.queue_service_action_call('systemPartner', 'getPackages', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#get_usage(partner_filter = nil, usage_filter = nil, pager = nil) ⇒ Object
5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 |
# File 'lib/kaltura_client.rb', line 5310 def get_usage(partner_filter=nil, usage_filter=nil, pager=nil) kparams = {} client.add_param(kparams, 'partnerFilter', partner_filter); client.add_param(kparams, 'usageFilter', usage_filter); client.add_param(kparams, 'pager', pager); client.queue_service_action_call('systemPartner', 'getUsage', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#list(filter = nil, pager = nil) ⇒ Object
5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 |
# File 'lib/kaltura_client.rb', line 5322 def list(filter=nil, pager=nil) kparams = {} client.add_param(kparams, 'filter', filter); client.add_param(kparams, 'pager', pager); client.queue_service_action_call('systemPartner', 'list', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update_configuration(partner_id, configuration) ⇒ Object
5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 |
# File 'lib/kaltura_client.rb', line 5354 def update_configuration(partner_id, configuration) kparams = {} client.add_param(kparams, 'partnerId', partner_id); client.add_param(kparams, 'configuration', configuration); client.queue_service_action_call('systemPartner', 'updateConfiguration', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update_status(partner_id, status) ⇒ Object
5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 |
# File 'lib/kaltura_client.rb', line 5333 def update_status(partner_id, status) kparams = {} client.add_param(kparams, 'partnerId', partner_id); client.add_param(kparams, 'status', status); client.queue_service_action_call('systemPartner', 'updateStatus', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |