Class: Kaltura::Service::FileSyncService

Inherits:
BaseService show all
Defined in:
lib/kaltura/service.rb

Overview

FileSyncService is a system user service.

Examples:

List up to 100 file sync objects with an error status:

client = Kaltura::Client.new
filter = Kaltura::Filter::FileSyncFilter.new
filter.status_equal = Kaltura::Constants::FileSync::Status::ERROR
pager = Kaltura::FilterPager.new
pager.page_size = 100
client.file_sync_service.list(filter,pager)

Instance Attribute Summary

Attributes inherited from BaseService

#client

Instance Method Summary collapse

Methods inherited from BaseService

#initialize, #perform_request

Constructor Details

This class inherits a constructor from Kaltura::Service::BaseService

Instance Method Details

#list(filter = nil, pager = nil) ⇒ Kaltura::Response::FileSyncListResponse

Lists file sync objects by a filter and a pager.

Parameters:

Returns:

Raises:



63
64
65
66
67
68
# File 'lib/kaltura/service.rb', line 63

def list(filter=nil, pager=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter)
	client.add_param(kparams, 'pager', pager)
	perform_request('fileSync','list',kparams,false)
end