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.



3075
3076
3077
# File 'lib/kaltura_types.rb', line 3075

def duration
  @duration
end

#offset_in_destinationObject

Returns the value of attribute offset_in_destination.



3076
3077
3078
# File 'lib/kaltura_types.rb', line 3076

def offset_in_destination
  @offset_in_destination
end

#source_entry_idObject

Returns the value of attribute source_entry_id.



3073
3074
3075
# File 'lib/kaltura_types.rb', line 3073

def source_entry_id
  @source_entry_id
end

#start_timeObject

Returns the value of attribute start_time.



3074
3075
3076
# File 'lib/kaltura_types.rb', line 3074

def start_time
  @start_time
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
# File 'lib/kaltura_types.rb', line 3088

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