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.



14180
14181
14182
# File 'lib/kaltura_types.rb', line 14180

def data
  @data
end

#notification_resultObject

Returns the value of attribute notification_result.



14182
14183
14184
# File 'lib/kaltura_types.rb', line 14182

def notification_result
  @notification_result
end

#number_of_attemptsObject

Returns the value of attribute number_of_attempts.



14181
14182
14183
# File 'lib/kaltura_types.rb', line 14181

def number_of_attempts
  @number_of_attempts
end

#obj_typeObject

Returns the value of attribute obj_type.



14183
14184
14185
# File 'lib/kaltura_types.rb', line 14183

def obj_type
  @obj_type
end

#object_idObject

Returns the value of attribute object_id.



14178
14179
14180
# File 'lib/kaltura_types.rb', line 14178

def object_id
  @object_id
end

#statusObject

Returns the value of attribute status.



14179
14180
14181
# File 'lib/kaltura_types.rb', line 14179

def status
  @status
end

#typeObject

Returns the value of attribute type.



14176
14177
14178
# File 'lib/kaltura_types.rb', line 14176

def type
  @type
end

#type_as_stringObject

Returns the value of attribute type_as_string.



14177
14178
14179
# File 'lib/kaltura_types.rb', line 14177

def type_as_string
  @type_as_string
end

#user_idObject

Returns the value of attribute user_id.



14175
14176
14177
# File 'lib/kaltura_types.rb', line 14175

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
# File 'lib/kaltura_types.rb', line 14198

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