Class: Kaltura::KalturaBaseInteractivity

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_interactivity_client_plugin.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.



34
35
36
# File 'lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb', line 34

def data
  @data
end

#entry_idObject

Returns the value of attribute entry_id.



36
37
38
# File 'lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb', line 36

def entry_id
  @entry_id
end

#updated_atObject

Interactivity update date as Unix timestamp (In seconds)



38
39
40
# File 'lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb', line 38

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



35
36
37
# File 'lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb', line 35

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb', line 47

def from_xml(xml_element)
	super
	if xml_element.elements['data'] != nil
		self.data = xml_element.elements['data'].text
	end
	if xml_element.elements['version'] != nil
		self.version = xml_element.elements['version'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
end