Class: Kaltura::KalturaCodeCuePoint
- Inherits:
-
KalturaCuePoint
- Object
- KalturaObjectBase
- KalturaCuePoint
- Kaltura::KalturaCodeCuePoint
- Defined in:
- lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#duration ⇒ Object
Duration in milliseconds.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
Attributes inherited from KalturaCuePoint
#copied_from, #created_at, #cue_point_type, #entry_id, #force_stop, #id, #int_id, #is_momentary, #partner_data, #partner_id, #partner_sort_value, #start_time, #status, #system_name, #tags, #thumb_offset, #triggered_at, #updated_at, #user_id
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
53 54 55 |
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 53 def code @code end |
#description ⇒ Object
Returns the value of attribute description.
54 55 56 |
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 54 def description @description end |
#duration ⇒ Object
Duration in milliseconds
57 58 59 |
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 57 def duration @duration end |
#end_time ⇒ Object
Returns the value of attribute end_time.
55 56 57 |
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 55 def end_time @end_time end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 66 def from_xml(xml_element) super if xml_element.elements['code'] != nil self.code = xml_element.elements['code'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].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 end |