Class: Kaltura::KalturaThumbCuePoint

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

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#asset_idObject

Returns the value of attribute asset_id.



60
61
62
# File 'lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb', line 60

def asset_id
  @asset_id
end

#descriptionObject

Returns the value of attribute description.



61
62
63
# File 'lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb', line 61

def description
  @description
end

#sub_typeObject

The sub type of the ThumbCuePoint



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

def sub_type
  @sub_type
end

#titleObject

Returns the value of attribute title.



62
63
64
# File 'lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb', line 62

def title
  @title
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb', line 70

def from_xml(xml_element)
	super
	if xml_element.elements['assetId'] != nil
		self.asset_id = xml_element.elements['assetId'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['title'] != nil
		self.title = xml_element.elements['title'].text
	end
	if xml_element.elements['subType'] != nil
		self.sub_type = xml_element.elements['subType'].text
	end
end