Class: Kaltura::KalturaNotificationJobData

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

#dataObject

Returns the value of attribute data.



14034
14035
14036
# File 'lib/kaltura_types.rb', line 14034

def data
  @data
end

#notification_resultObject

Returns the value of attribute notification_result.



14036
14037
14038
# File 'lib/kaltura_types.rb', line 14036

def notification_result
  @notification_result
end

#number_of_attemptsObject

Returns the value of attribute number_of_attempts.



14035
14036
14037
# File 'lib/kaltura_types.rb', line 14035

def number_of_attempts
  @number_of_attempts
end

#obj_typeObject

Returns the value of attribute obj_type.



14037
14038
14039
# File 'lib/kaltura_types.rb', line 14037

def obj_type
  @obj_type
end

#object_idObject

Returns the value of attribute object_id.



14032
14033
14034
# File 'lib/kaltura_types.rb', line 14032

def object_id
  @object_id
end

#statusObject

Returns the value of attribute status.



14033
14034
14035
# File 'lib/kaltura_types.rb', line 14033

def status
  @status
end

#typeObject

Returns the value of attribute type.



14030
14031
14032
# File 'lib/kaltura_types.rb', line 14030

def type
  @type
end

#type_as_stringObject

Returns the value of attribute type_as_string.



14031
14032
14033
# File 'lib/kaltura_types.rb', line 14031

def type_as_string
  @type_as_string
end

#user_idObject

Returns the value of attribute user_id.



14029
14030
14031
# File 'lib/kaltura_types.rb', line 14029

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
# File 'lib/kaltura_types.rb', line 14052

def from_xml(xml_element)
  super
  if xml_element.elements['userId'] != nil
    self.user_id = xml_element.elements['userId'].text
  end
  if xml_element.elements['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['typeAsString'] != nil
    self.type_as_string = xml_element.elements['typeAsString'].text
  end
  if xml_element.elements['objectId'] != nil
    self.object_id = xml_element.elements['objectId'].text
  end
  if xml_element.elements['status'] != nil
    self.status = xml_element.elements['status'].text
  end
  if xml_element.elements['data'] != nil
    self.data = xml_element.elements['data'].text
  end
  if xml_element.elements['numberOfAttempts'] != nil
    self.number_of_attempts = xml_element.elements['numberOfAttempts'].text
  end
  if xml_element.elements['notificationResult'] != nil
    self.notification_result = xml_element.elements['notificationResult'].text
  end
  if xml_element.elements['objType'] != nil
    self.obj_type = xml_element.elements['objType'].text
  end
end