Class: Kaltura::KalturaClipAttributes
- Inherits:
-
KalturaOperationAttributes
- Object
- KalturaObjectBase
- KalturaOperationAttributes
- Kaltura::KalturaClipAttributes
- Defined in:
- lib/kaltura_types.rb
Overview
Clip operation attributes
Instance Attribute Summary collapse
-
#duration ⇒ Object
Duration in milliseconds.
-
#effect_array ⇒ Object
global Offset In Destination in milliseconds.
-
#global_offset_in_destination ⇒ Object
global Offset In Destination in milliseconds.
-
#offset ⇒ Object
Offset in milliseconds.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#duration ⇒ Object
Duration in milliseconds
12251 12252 12253 |
# File 'lib/kaltura_types.rb', line 12251 def duration @duration end |
#effect_array ⇒ Object
global Offset In Destination in milliseconds
12255 12256 12257 |
# File 'lib/kaltura_types.rb', line 12255 def effect_array @effect_array end |
#global_offset_in_destination ⇒ Object
global Offset In Destination in milliseconds
12253 12254 12255 |
# File 'lib/kaltura_types.rb', line 12253 def global_offset_in_destination @global_offset_in_destination end |
#offset ⇒ Object
Offset in milliseconds
12249 12250 12251 |
# File 'lib/kaltura_types.rb', line 12249 def offset @offset end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 |
# File 'lib/kaltura_types.rb', line 12267 def from_xml(xml_element) super if xml_element.elements['offset'] != nil self.offset = xml_element.elements['offset'].text end if xml_element.elements['duration'] != nil self.duration = xml_element.elements['duration'].text end if xml_element.elements['globalOffsetInDestination'] != nil self.global_offset_in_destination = xml_element.elements['globalOffsetInDestination'].text end if xml_element.elements['effectArray'] != nil self.effect_array = KalturaClientBase.object_from_xml(xml_element.elements['effectArray'], 'KalturaEffect') end end |