class Kaltura::KalturaClipAttributes

Clip operation attributes

Attributes

duration[RW]

Duration in milliseconds

effect_array[RW]

global Offset In Destination in milliseconds

global_offset_in_destination[RW]

global Offset In Destination in milliseconds

offset[RW]

Offset in milliseconds

Public Instance Methods

duration=(val) click to toggle source
# File lib/kaltura_types.rb, line 12033
def duration=(val)
        @duration = val.to_i
end
from_xml(xml_element) click to toggle source
# File lib/kaltura_types.rb, line 12040
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
global_offset_in_destination=(val) click to toggle source
# File lib/kaltura_types.rb, line 12036
def global_offset_in_destination=(val)
        @global_offset_in_destination = val.to_i
end
offset=(val) click to toggle source
# File lib/kaltura_types.rb, line 12030
def offset=(val)
        @offset = val.to_i
end