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.



13941
13942
13943
# File 'lib/kaltura_types.rb', line 13941

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



13945
13946
13947
# File 'lib/kaltura_types.rb', line 13945

def campaign_id
  @campaign_id
end

#from_emailObject

Returns the value of attribute from_email.



13940
13941
13942
# File 'lib/kaltura_types.rb', line 13940

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



13939
13940
13941
# File 'lib/kaltura_types.rb', line 13939

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



13947
13948
13949
# File 'lib/kaltura_types.rb', line 13947

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



13944
13945
13946
# File 'lib/kaltura_types.rb', line 13944

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



13933
13934
13935
# File 'lib/kaltura_types.rb', line 13933

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



13932
13933
13934
# File 'lib/kaltura_types.rb', line 13932

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



13946
13947
13948
# File 'lib/kaltura_types.rb', line 13946

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



13936
13937
13938
# File 'lib/kaltura_types.rb', line 13936

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



13938
13939
13940
# File 'lib/kaltura_types.rb', line 13938

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



13935
13936
13937
# File 'lib/kaltura_types.rb', line 13935

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



13948
13949
13950
# File 'lib/kaltura_types.rb', line 13948

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



13934
13935
13936
# File 'lib/kaltura_types.rb', line 13934

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



13942
13943
13944
# File 'lib/kaltura_types.rb', line 13942

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



13943
13944
13945
# File 'lib/kaltura_types.rb', line 13943

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
# File 'lib/kaltura_types.rb', line 13969

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