Class: Kaltura::KalturaClipDescription
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaClipDescription
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#offset_in_destination ⇒ Object
Returns the value of attribute offset_in_destination.
-
#source_entry_id ⇒ Object
Returns the value of attribute source_entry_id.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
3114 3115 3116 |
# File 'lib/kaltura_types.rb', line 3114 def duration @duration end |
#offset_in_destination ⇒ Object
Returns the value of attribute offset_in_destination.
3115 3116 3117 |
# File 'lib/kaltura_types.rb', line 3115 def offset_in_destination @offset_in_destination end |
#source_entry_id ⇒ Object
Returns the value of attribute source_entry_id.
3112 3113 3114 |
# File 'lib/kaltura_types.rb', line 3112 def source_entry_id @source_entry_id end |
#start_time ⇒ Object
Returns the value of attribute start_time.
3113 3114 3115 |
# File 'lib/kaltura_types.rb', line 3113 def start_time @start_time end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 |
# File 'lib/kaltura_types.rb', line 3127 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 |