Class: Kaltura::KalturaEmailIngestionProfileService

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

Returns a new instance of KalturaEmailIngestionProfileService.



3814
3815
3816
# File 'lib/kaltura_client.rb', line 3814

def initialize(client)
	super(client)
end

Instance Method Details

#add(email_ip) ⇒ Object



3818
3819
3820
3821
3822
3823
3824
3825
3826
# File 'lib/kaltura_client.rb', line 3818

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

#add_media_entry(media_entry, upload_token_id, email_prof_id, from_address, email_msg_id) ⇒ Object



3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
# File 'lib/kaltura_client.rb', line 3869

def add_media_entry(media_entry, upload_token_id, email_prof_id, from_address, email_msg_id)
	kparams = {}
	client.add_param(kparams, 'mediaEntry', media_entry);
	client.add_param(kparams, 'uploadTokenId', upload_token_id);
	client.add_param(kparams, 'emailProfId', email_prof_id);
	client.add_param(kparams, 'fromAddress', from_address);
	client.add_param(kparams, 'emailMsgId', email_msg_id);
	client.queue_service_action_call('EmailIngestionProfile', 'addMediaEntry', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#delete(id) ⇒ Object



3859
3860
3861
3862
3863
3864
3865
3866
3867
# File 'lib/kaltura_client.rb', line 3859

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

#get(id) ⇒ Object



3838
3839
3840
3841
3842
3843
3844
3845
3846
# File 'lib/kaltura_client.rb', line 3838

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

#get_by_email_address(email_address) ⇒ Object



3828
3829
3830
3831
3832
3833
3834
3835
3836
# File 'lib/kaltura_client.rb', line 3828

def get_by_email_address(email_address)
	kparams = {}
	client.add_param(kparams, 'emailAddress', email_address);
	client.queue_service_action_call('EmailIngestionProfile', 'getByEmailAddress', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#update(id, email_ip) ⇒ Object



3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
# File 'lib/kaltura_client.rb', line 3848

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