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.



13992
13993
13994
# File 'lib/kaltura_types.rb', line 13992

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



13996
13997
13998
# File 'lib/kaltura_types.rb', line 13996

def campaign_id
  @campaign_id
end

#from_emailObject

Returns the value of attribute from_email.



13991
13992
13993
# File 'lib/kaltura_types.rb', line 13991

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



13990
13991
13992
# File 'lib/kaltura_types.rb', line 13990

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



13998
13999
14000
# File 'lib/kaltura_types.rb', line 13998

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



13995
13996
13997
# File 'lib/kaltura_types.rb', line 13995

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



13984
13985
13986
# File 'lib/kaltura_types.rb', line 13984

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



13983
13984
13985
# File 'lib/kaltura_types.rb', line 13983

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



13997
13998
13999
# File 'lib/kaltura_types.rb', line 13997

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



13987
13988
13989
# File 'lib/kaltura_types.rb', line 13987

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



13989
13990
13991
# File 'lib/kaltura_types.rb', line 13989

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



13986
13987
13988
# File 'lib/kaltura_types.rb', line 13986

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



13999
14000
14001
# File 'lib/kaltura_types.rb', line 13999

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



13985
13986
13987
# File 'lib/kaltura_types.rb', line 13985

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



13993
13994
13995
# File 'lib/kaltura_types.rb', line 13993

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



13994
13995
13996
# File 'lib/kaltura_types.rb', line 13994

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
# File 'lib/kaltura_types.rb', line 14020

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