Class: Kaltura::KalturaMailJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#body_paramsObject

Returns the value of attribute body_params.



13492
13493
13494
# File 'lib/kaltura_types.rb', line 13492

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



13496
13497
13498
# File 'lib/kaltura_types.rb', line 13496

def campaign_id
  @campaign_id
end

#from_emailObject

Returns the value of attribute from_email.



13491
13492
13493
# File 'lib/kaltura_types.rb', line 13491

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



13490
13491
13492
# File 'lib/kaltura_types.rb', line 13490

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



13498
13499
13500
# File 'lib/kaltura_types.rb', line 13498

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



13495
13496
13497
# File 'lib/kaltura_types.rb', line 13495

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



13484
13485
13486
# File 'lib/kaltura_types.rb', line 13484

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



13483
13484
13485
# File 'lib/kaltura_types.rb', line 13483

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



13497
13498
13499
# File 'lib/kaltura_types.rb', line 13497

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



13487
13488
13489
# File 'lib/kaltura_types.rb', line 13487

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



13489
13490
13491
# File 'lib/kaltura_types.rb', line 13489

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



13486
13487
13488
# File 'lib/kaltura_types.rb', line 13486

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



13499
13500
13501
# File 'lib/kaltura_types.rb', line 13499

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



13485
13486
13487
# File 'lib/kaltura_types.rb', line 13485

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



13493
13494
13495
# File 'lib/kaltura_types.rb', line 13493

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



13494
13495
13496
# File 'lib/kaltura_types.rb', line 13494

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
# File 'lib/kaltura_types.rb', line 13520

def from_xml(xml_element)
	super
	if xml_element.elements['mailType'] != nil
		self.mail_type = xml_element.elements['mailType'].text
	end
	if xml_element.elements['mailPriority'] != nil
		self.mail_priority = xml_element.elements['mailPriority'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['recipientName'] != nil
		self.recipient_name = xml_element.elements['recipientName'].text
	end
	if xml_element.elements['recipientEmail'] != nil
		self.recipient_email = xml_element.elements['recipientEmail'].text
	end
	if xml_element.elements['recipientId'] != nil
		self.recipient_id = xml_element.elements['recipientId'].text
	end
	if xml_element.elements['fromName'] != nil
		self.from_name = xml_element.elements['fromName'].text
	end
	if xml_element.elements['fromEmail'] != nil
		self.from_email = xml_element.elements['fromEmail'].text
	end
	if xml_element.elements['bodyParams'] != nil
		self.body_params = xml_element.elements['bodyParams'].text
	end
	if xml_element.elements['subjectParams'] != nil
		self.subject_params = xml_element.elements['subjectParams'].text
	end
	if xml_element.elements['templatePath'] != nil
		self.template_path = xml_element.elements['templatePath'].text
	end
	if xml_element.elements['language'] != nil
		self.language = xml_element.elements['language'].text
	end
	if xml_element.elements['campaignId'] != nil
		self.campaign_id = xml_element.elements['campaignId'].text
	end
	if xml_element.elements['minSendDate'] != nil
		self.min_send_date = xml_element.elements['minSendDate'].text
	end
	if xml_element.elements['isHtml'] != nil
		self.is_html = xml_element.elements['isHtml'].text
	end
	if xml_element.elements['separator'] != nil
		self.separator = xml_element.elements['separator'].text
	end
end