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.



13724
13725
13726
# File 'lib/kaltura_types.rb', line 13724

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



13728
13729
13730
# File 'lib/kaltura_types.rb', line 13728

def campaign_id
  @campaign_id
end

#from_emailObject

Returns the value of attribute from_email.



13723
13724
13725
# File 'lib/kaltura_types.rb', line 13723

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



13722
13723
13724
# File 'lib/kaltura_types.rb', line 13722

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



13730
13731
13732
# File 'lib/kaltura_types.rb', line 13730

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



13727
13728
13729
# File 'lib/kaltura_types.rb', line 13727

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



13716
13717
13718
# File 'lib/kaltura_types.rb', line 13716

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



13715
13716
13717
# File 'lib/kaltura_types.rb', line 13715

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



13729
13730
13731
# File 'lib/kaltura_types.rb', line 13729

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



13719
13720
13721
# File 'lib/kaltura_types.rb', line 13719

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



13721
13722
13723
# File 'lib/kaltura_types.rb', line 13721

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



13718
13719
13720
# File 'lib/kaltura_types.rb', line 13718

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



13731
13732
13733
# File 'lib/kaltura_types.rb', line 13731

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



13717
13718
13719
# File 'lib/kaltura_types.rb', line 13717

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



13725
13726
13727
# File 'lib/kaltura_types.rb', line 13725

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



13726
13727
13728
# File 'lib/kaltura_types.rb', line 13726

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
# File 'lib/kaltura_types.rb', line 13752

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