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.



14572
14573
14574
# File 'lib/kaltura_types.rb', line 14572

def data
  @data
end

#notification_resultObject

Returns the value of attribute notification_result.



14574
14575
14576
# File 'lib/kaltura_types.rb', line 14574

def notification_result
  @notification_result
end

#number_of_attemptsObject

Returns the value of attribute number_of_attempts.



14573
14574
14575
# File 'lib/kaltura_types.rb', line 14573

def number_of_attempts
  @number_of_attempts
end

#obj_typeObject

Returns the value of attribute obj_type.



14575
14576
14577
# File 'lib/kaltura_types.rb', line 14575

def obj_type
  @obj_type
end

#object_idObject

Returns the value of attribute object_id.



14570
14571
14572
# File 'lib/kaltura_types.rb', line 14570

def object_id
  @object_id
end

#statusObject

Returns the value of attribute status.



14571
14572
14573
# File 'lib/kaltura_types.rb', line 14571

def status
  @status
end

#typeObject

Returns the value of attribute type.



14568
14569
14570
# File 'lib/kaltura_types.rb', line 14568

def type
  @type
end

#type_as_stringObject

Returns the value of attribute type_as_string.



14569
14570
14571
# File 'lib/kaltura_types.rb', line 14569

def type_as_string
  @type_as_string
end

#user_idObject

Returns the value of attribute user_id.



14567
14568
14569
# File 'lib/kaltura_types.rb', line 14567

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
# File 'lib/kaltura_types.rb', line 14590

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