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.



14121
14122
14123
# File 'lib/kaltura_types.rb', line 14121

def body_params
  @body_params
end

#campaign_idObject

Returns the value of attribute campaign_id.



14125
14126
14127
# File 'lib/kaltura_types.rb', line 14125

def campaign_id
  @campaign_id
end

#from_emailObject

Returns the value of attribute from_email.



14120
14121
14122
# File 'lib/kaltura_types.rb', line 14120

def from_email
  @from_email
end

#from_nameObject

Returns the value of attribute from_name.



14119
14120
14121
# File 'lib/kaltura_types.rb', line 14119

def from_name
  @from_name
end

#is_htmlObject

Returns the value of attribute is_html.



14127
14128
14129
# File 'lib/kaltura_types.rb', line 14127

def is_html
  @is_html
end

#languageObject

Returns the value of attribute language.



14124
14125
14126
# File 'lib/kaltura_types.rb', line 14124

def language
  @language
end

#mail_priorityObject

Returns the value of attribute mail_priority.



14113
14114
14115
# File 'lib/kaltura_types.rb', line 14113

def mail_priority
  @mail_priority
end

#mail_typeObject

Returns the value of attribute mail_type.



14112
14113
14114
# File 'lib/kaltura_types.rb', line 14112

def mail_type
  @mail_type
end

#min_send_dateObject

Returns the value of attribute min_send_date.



14126
14127
14128
# File 'lib/kaltura_types.rb', line 14126

def min_send_date
  @min_send_date
end

#recipient_emailObject

Returns the value of attribute recipient_email.



14116
14117
14118
# File 'lib/kaltura_types.rb', line 14116

def recipient_email
  @recipient_email
end

#recipient_idObject

kuserId



14118
14119
14120
# File 'lib/kaltura_types.rb', line 14118

def recipient_id
  @recipient_id
end

#recipient_nameObject

Returns the value of attribute recipient_name.



14115
14116
14117
# File 'lib/kaltura_types.rb', line 14115

def recipient_name
  @recipient_name
end

#separatorObject

Returns the value of attribute separator.



14128
14129
14130
# File 'lib/kaltura_types.rb', line 14128

def separator
  @separator
end

#statusObject

Returns the value of attribute status.



14114
14115
14116
# File 'lib/kaltura_types.rb', line 14114

def status
  @status
end

#subject_paramsObject

Returns the value of attribute subject_params.



14122
14123
14124
# File 'lib/kaltura_types.rb', line 14122

def subject_params
  @subject_params
end

#template_pathObject

Returns the value of attribute template_path.



14123
14124
14125
# File 'lib/kaltura_types.rb', line 14123

def template_path
  @template_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
# File 'lib/kaltura_types.rb', line 14149

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