class Kaltura::KalturaAnnotation
Attributes
children_count[RW]
Number of all descendants
depth[RW]
Depth in the tree
direct_children_count[RW]
Number of children, first generation only.
duration[RW]
Duration in milliseconds
end_time[RW]
End time in milliseconds
is_public[RW]
Is the annotation public.
parent_id[RW]
searchable_on_entry[RW]
Should the cue point get indexed on the entry.
text[RW]
Public Instance Methods
children_count=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 79 def children_count=(val) @children_count = val.to_i end
depth=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 76 def depth=(val) @depth = val.to_i end
direct_children_count=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 82 def direct_children_count=(val) @direct_children_count = val.to_i end
duration=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 73 def duration=(val) @duration = val.to_i end
end_time=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 70 def end_time=(val) @end_time = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 92 def from_xml(xml_element) super if xml_element.elements['parentId'] != nil self.parent_id = xml_element.elements['parentId'].text end if xml_element.elements['text'] != nil self.text = xml_element.elements['text'].text end if xml_element.elements['endTime'] != nil self.end_time = xml_element.elements['endTime'].text end if xml_element.elements['duration'] != nil self.duration = xml_element.elements['duration'].text end if xml_element.elements['depth'] != nil self.depth = xml_element.elements['depth'].text end if xml_element.elements['childrenCount'] != nil self.children_count = xml_element.elements['childrenCount'].text end if xml_element.elements['directChildrenCount'] != nil self.direct_children_count = xml_element.elements['directChildrenCount'].text end if xml_element.elements['isPublic'] != nil self.is_public = xml_element.elements['isPublic'].text end if xml_element.elements['searchableOnEntry'] != nil self.searchable_on_entry = xml_element.elements['searchableOnEntry'].text end end
is_public=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 85 def is_public=(val) @is_public = val.to_i end
searchable_on_entry=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_annotation_client_plugin.rb, line 88 def searchable_on_entry=(val) @searchable_on_entry = val.to_i end