Class: Kaltura::KalturaCodeCuePoint

Inherits:
KalturaCuePoint show all
Defined in:
lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaCuePoint

#created_at, #cue_point_type, #entry_id, #force_stop, #id, #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

#camelcase, #to_b, #to_params

Instance Attribute Details

#codeObject

Returns the value of attribute code.



51
52
53
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 51

def code
  @code
end

#descriptionObject

Returns the value of attribute description.



52
53
54
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 52

def description
  @description
end

#durationObject

Duration in milliseconds



56
57
58
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 56

def duration
  @duration
end

#end_timeObject

Returns the value of attribute end_time.



53
54
55
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 53

def end_time
  @end_time
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



65
66
67
68
69
70
71
# File 'lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb', line 65

def from_xml(xml_element)
	super
	self.code = xml_element.elements['code'].text
	self.description = xml_element.elements['description'].text
	self.end_time = xml_element.elements['endTime'].text
	self.duration = xml_element.elements['duration'].text
end