Class: Kaltura::KalturaClipDescription

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#durationObject

Returns the value of attribute duration.



2913
2914
2915
# File 'lib/kaltura_types.rb', line 2913

def duration
  @duration
end

#offset_in_destinationObject

Returns the value of attribute offset_in_destination.



2914
2915
2916
# File 'lib/kaltura_types.rb', line 2914

def offset_in_destination
  @offset_in_destination
end

#source_entry_idObject

Returns the value of attribute source_entry_id.



2911
2912
2913
# File 'lib/kaltura_types.rb', line 2911

def source_entry_id
  @source_entry_id
end

#start_timeObject

Returns the value of attribute start_time.



2912
2913
2914
# File 'lib/kaltura_types.rb', line 2912

def start_time
  @start_time
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
# File 'lib/kaltura_types.rb', line 2926

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