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.



13963
13964
13965
# File 'lib/kaltura_types.rb', line 13963

def data
  @data
end

#notification_resultObject

Returns the value of attribute notification_result.



13965
13966
13967
# File 'lib/kaltura_types.rb', line 13965

def notification_result
  @notification_result
end

#number_of_attemptsObject

Returns the value of attribute number_of_attempts.



13964
13965
13966
# File 'lib/kaltura_types.rb', line 13964

def number_of_attempts
  @number_of_attempts
end

#obj_typeObject

Returns the value of attribute obj_type.



13966
13967
13968
# File 'lib/kaltura_types.rb', line 13966

def obj_type
  @obj_type
end

#object_idObject

Returns the value of attribute object_id.



13961
13962
13963
# File 'lib/kaltura_types.rb', line 13961

def object_id
  @object_id
end

#statusObject

Returns the value of attribute status.



13962
13963
13964
# File 'lib/kaltura_types.rb', line 13962

def status
  @status
end

#typeObject

Returns the value of attribute type.



13959
13960
13961
# File 'lib/kaltura_types.rb', line 13959

def type
  @type
end

#type_as_stringObject

Returns the value of attribute type_as_string.



13960
13961
13962
# File 'lib/kaltura_types.rb', line 13960

def type_as_string
  @type_as_string
end

#user_idObject

Returns the value of attribute user_id.



13958
13959
13960
# File 'lib/kaltura_types.rb', line 13958

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
# File 'lib/kaltura_types.rb', line 13981

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