Class: Kaltura::KalturaFlavorAssetService

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

Returns a new instance of KalturaFlavorAssetService.



3885
3886
3887
# File 'lib/kaltura_client.rb', line 3885

def initialize(client)
	super(client)
end

Instance Method Details

#convert(entry_id, flavor_params_id) ⇒ Object



3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
# File 'lib/kaltura_client.rb', line 3919

def convert(entry_id, flavor_params_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.add_param(kparams, 'flavorParamsId', flavor_params_id);
	client.queue_service_action_call('flavorAsset', 'convert', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#delete(id) ⇒ Object



3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/kaltura_client.rb', line 3940

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

#get(id) ⇒ Object



3889
3890
3891
3892
3893
3894
3895
3896
3897
# File 'lib/kaltura_client.rb', line 3889

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

#get_by_entry_id(entry_id) ⇒ Object



3899
3900
3901
3902
3903
3904
3905
3906
3907
# File 'lib/kaltura_client.rb', line 3899

def get_by_entry_id(entry_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.queue_service_action_call('flavorAsset', 'getByEntryId', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get_download_url(id) ⇒ Object



3950
3951
3952
3953
3954
3955
3956
3957
3958
# File 'lib/kaltura_client.rb', line 3950

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

#get_flavor_assets_with_params(entry_id) ⇒ Object



3960
3961
3962
3963
3964
3965
3966
3967
3968
# File 'lib/kaltura_client.rb', line 3960

def get_flavor_assets_with_params(entry_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.queue_service_action_call('flavorAsset', 'getFlavorAssetsWithParams', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#get_web_playable_by_entry_id(entry_id) ⇒ Object



3909
3910
3911
3912
3913
3914
3915
3916
3917
# File 'lib/kaltura_client.rb', line 3909

def get_web_playable_by_entry_id(entry_id)
	kparams = {}
	client.add_param(kparams, 'entryId', entry_id);
	client.queue_service_action_call('flavorAsset', 'getWebPlayableByEntryId', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#reconvert(id) ⇒ Object



3930
3931
3932
3933
3934
3935
3936
3937
3938
# File 'lib/kaltura_client.rb', line 3930

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