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.



13757
13758
13759
# File 'lib/kaltura_types.rb', line 13757

def data
  @data
end

#notification_resultObject

Returns the value of attribute notification_result.



13759
13760
13761
# File 'lib/kaltura_types.rb', line 13759

def notification_result
  @notification_result
end

#number_of_attemptsObject

Returns the value of attribute number_of_attempts.



13758
13759
13760
# File 'lib/kaltura_types.rb', line 13758

def number_of_attempts
  @number_of_attempts
end

#obj_typeObject

Returns the value of attribute obj_type.



13760
13761
13762
# File 'lib/kaltura_types.rb', line 13760

def obj_type
  @obj_type
end

#object_idObject

Returns the value of attribute object_id.



13755
13756
13757
# File 'lib/kaltura_types.rb', line 13755

def object_id
  @object_id
end

#statusObject

Returns the value of attribute status.



13756
13757
13758
# File 'lib/kaltura_types.rb', line 13756

def status
  @status
end

#typeObject

Returns the value of attribute type.



13753
13754
13755
# File 'lib/kaltura_types.rb', line 13753

def type
  @type
end

#type_as_stringObject

Returns the value of attribute type_as_string.



13754
13755
13756
# File 'lib/kaltura_types.rb', line 13754

def type_as_string
  @type_as_string
end

#user_idObject

Returns the value of attribute user_id.



13752
13753
13754
# File 'lib/kaltura_types.rb', line 13752

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
# File 'lib/kaltura_types.rb', line 13775

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