Class: Kaltura::KalturaEventNotificationScope

Inherits:
KalturaScope show all
Defined in:
lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb

Direct Known Subclasses

KalturaEventNotificationDispatchScope

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

#object_idObject

Returns the value of attribute object_id.



304
305
306
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 304

def object_id
  @object_id
end

#scope_object_typeObject

Returns the value of attribute scope_object_type.



305
306
307
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 305

def scope_object_type
  @scope_object_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



308
309
310
311
312
313
314
315
316
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 308

def from_xml(xml_element)
	super
	if xml_element.elements['objectId'] != nil
		self.object_id = xml_element.elements['objectId'].text
	end
	if xml_element.elements['scopeObjectType'] != nil
		self.scope_object_type = xml_element.elements['scopeObjectType'].text
	end
end