Class: Kaltura::KalturaAdCuePoint

Inherits:
KalturaCuePoint show all
Defined in:
lib/kaltura_plugins/kaltura_ad_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

#ad_typeObject

Returns the value of attribute ad_type.



65
66
67
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 65

def ad_type
  @ad_type
end

#durationObject

Duration in milliseconds



70
71
72
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 70

def duration
  @duration
end

#end_timeObject

Returns the value of attribute end_time.



67
68
69
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 67

def end_time
  @end_time
end

#protocol_typeObject

Returns the value of attribute protocol_type.



63
64
65
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 63

def protocol_type
  @protocol_type
end

#source_urlObject

Returns the value of attribute source_url.



64
65
66
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 64

def source_url
  @source_url
end

#titleObject

Returns the value of attribute title.



66
67
68
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 66

def title
  @title
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



79
80
81
82
83
84
85
86
87
# File 'lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb', line 79

def from_xml(xml_element)
	super
	self.protocol_type = xml_element.elements['protocolType'].text
	self.source_url = xml_element.elements['sourceUrl'].text
	self.ad_type = xml_element.elements['adType'].text
	self.title = xml_element.elements['title'].text
	self.end_time = xml_element.elements['endTime'].text
	self.duration = xml_element.elements['duration'].text
end