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.



14250
14251
14252
# File 'lib/kaltura_types.rb', line 14250

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



14255
14256
14257
# File 'lib/kaltura_types.rb', line 14255

def campaign_id
  @campaign_id
end

#dynamic_email_contentsObject

Returns the value of attribute dynamic_email_contents.



14252
14253
14254
# File 'lib/kaltura_types.rb', line 14252

def dynamic_email_contents
  @dynamic_email_contents
end

#from_emailObject

Returns the value of attribute from_email.



14249
14250
14251
# File 'lib/kaltura_types.rb', line 14249

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



14248
14249
14250
# File 'lib/kaltura_types.rb', line 14248

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



14257
14258
14259
# File 'lib/kaltura_types.rb', line 14257

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



14254
14255
14256
# File 'lib/kaltura_types.rb', line 14254

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



14242
14243
14244
# File 'lib/kaltura_types.rb', line 14242

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



14241
14242
14243
# File 'lib/kaltura_types.rb', line 14241

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



14256
14257
14258
# File 'lib/kaltura_types.rb', line 14256

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



14245
14246
14247
# File 'lib/kaltura_types.rb', line 14245

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



14247
14248
14249
# File 'lib/kaltura_types.rb', line 14247

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



14244
14245
14246
# File 'lib/kaltura_types.rb', line 14244

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



14258
14259
14260
# File 'lib/kaltura_types.rb', line 14258

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



14243
14244
14245
# File 'lib/kaltura_types.rb', line 14243

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



14251
14252
14253
# File 'lib/kaltura_types.rb', line 14251

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



14253
14254
14255
# File 'lib/kaltura_types.rb', line 14253

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
# File 'lib/kaltura_types.rb', line 14279

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['dynamicEmailContents'] != nil
		self.dynamic_email_contents = KalturaClientBase.object_from_xml(xml_element.elements['dynamicEmailContents'], 'KalturaDynamicEmailContents')
	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