class Kaltura::KalturaResponseProfileService

Manage response profiles

Public Class Methods

new(client) click to toggle source
Calls superclass method
# File lib/kaltura_client.rb, line 4060
def initialize(client)
        super(client)
end

Public Instance Methods

add(add_response_profile) click to toggle source

Add new response profile @return [KalturaResponseProfile]

# File lib/kaltura_client.rb, line 4066
def add(add_response_profile)
        kparams = {}
        client.add_param(kparams, 'addResponseProfile', add_response_profile)
        client.queue_service_action_call('responseprofile', 'add', 'KalturaResponseProfile', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
clone(id, profile) click to toggle source

Clone an existing response profile @return [KalturaResponseProfile]

# File lib/kaltura_client.rb, line 4078
def clone(id, profile)
        kparams = {}
        client.add_param(kparams, 'id', id)
        client.add_param(kparams, 'profile', profile)
        client.queue_service_action_call('responseprofile', 'clone', 'KalturaResponseProfile', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
delete(id) click to toggle source

Delete response profile by id @return []

# File lib/kaltura_client.rb, line 4091
def delete(id)
        kparams = {}
        client.add_param(kparams, 'id', id)
        client.queue_service_action_call('responseprofile', 'delete', '', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
get(id) click to toggle source

Get response profile by id @return [KalturaResponseProfile]

# File lib/kaltura_client.rb, line 4103
def get(id)
        kparams = {}
        client.add_param(kparams, 'id', id)
        client.queue_service_action_call('responseprofile', 'get', 'KalturaResponseProfile', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) click to toggle source

List response profiles by filter and pager @return [KalturaResponseProfileListResponse]

# File lib/kaltura_client.rb, line 4115
def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
        kparams = {}
        client.add_param(kparams, 'filter', filter)
        client.add_param(kparams, 'pager', pager)
        client.queue_service_action_call('responseprofile', 'list', 'KalturaResponseProfileListResponse', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
recalculate(options) click to toggle source

Recalculate response profile cached objects @return [KalturaResponseProfileCacheRecalculateResults]

# File lib/kaltura_client.rb, line 4128
def recalculate(options)
        kparams = {}
        client.add_param(kparams, 'options', options)
        client.queue_service_action_call('responseprofile', 'recalculate', 'KalturaResponseProfileCacheRecalculateResults', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
update(id, update_response_profile) click to toggle source

Update response profile by id @return [KalturaResponseProfile]

# File lib/kaltura_client.rb, line 4140
def update(id, update_response_profile)
        kparams = {}
        client.add_param(kparams, 'id', id)
        client.add_param(kparams, 'updateResponseProfile', update_response_profile)
        client.queue_service_action_call('responseprofile', 'update', 'KalturaResponseProfile', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end
update_status(id, status) click to toggle source

Update response profile status by id @return [KalturaResponseProfile]

# File lib/kaltura_client.rb, line 4153
def update_status(id, status)
        kparams = {}
        client.add_param(kparams, 'id', id)
        client.add_param(kparams, 'status', status)
        client.queue_service_action_call('responseprofile', 'updateStatus', 'KalturaResponseProfile', kparams)
        if (client.is_multirequest)
                return nil
        end
        return client.do_queue()
end