class Kaltura::KalturaClipDescription
Attributes
duration[RW]
offset_in_destination[RW]
source_entry_id[RW]
start_time[RW]
Public Instance Methods
duration=(val)
click to toggle source
# File lib/kaltura_types.rb, line 3046 def duration=(val) @duration = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 3053 def from_xml(xml_element) super if xml_element.elements['sourceEntryId'] != nil self.source_entry_id = xml_element.elements['sourceEntryId'].text end if xml_element.elements['startTime'] != nil self.start_time = xml_element.elements['startTime'].text end if xml_element.elements['duration'] != nil self.duration = xml_element.elements['duration'].text end if xml_element.elements['offsetInDestination'] != nil self.offset_in_destination = xml_element.elements['offsetInDestination'].text end end
offset_in_destination=(val)
click to toggle source
# File lib/kaltura_types.rb, line 3049 def offset_in_destination=(val) @offset_in_destination = val.to_i end
start_time=(val)
click to toggle source
# File lib/kaltura_types.rb, line 3043 def start_time=(val) @start_time = val.to_i end