class Kaltura::KalturaPostConvertJobData

Attributes

create_thumb[RW]

Indicates if a thumbnail should be created

custom_data[RW]
flavor_asset_encryption_key[RW]
flavor_asset_id[RW]
thumb_bitrate[RW]

The bit rate of the movie, will be used to comapare if this thumbnail is the best we can have

thumb_height[RW]

The height of the movie, will be used to comapare if this thumbnail is the best we can have

thumb_offset[RW]

The position of the thumbnail in the media file

thumb_path[RW]

The path of the created thumbnail

Public Instance Methods

create_thumb=(val) click to toggle source
# File lib/kaltura_types.rb, line 17970
def create_thumb=(val)
        @create_thumb = to_b(val)
end
from_xml(xml_element) click to toggle source
# File lib/kaltura_types.rb, line 17983
def from_xml(xml_element)
        super
        if xml_element.elements['flavorAssetId'] != nil
                self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
        end
        if xml_element.elements['flavorAssetEncryptionKey'] != nil
                self.flavor_asset_encryption_key = xml_element.elements['flavorAssetEncryptionKey'].text
        end
        if xml_element.elements['createThumb'] != nil
                self.create_thumb = xml_element.elements['createThumb'].text
        end
        if xml_element.elements['thumbPath'] != nil
                self.thumb_path = xml_element.elements['thumbPath'].text
        end
        if xml_element.elements['thumbOffset'] != nil
                self.thumb_offset = xml_element.elements['thumbOffset'].text
        end
        if xml_element.elements['thumbHeight'] != nil
                self.thumb_height = xml_element.elements['thumbHeight'].text
        end
        if xml_element.elements['thumbBitrate'] != nil
                self.thumb_bitrate = xml_element.elements['thumbBitrate'].text
        end
        if xml_element.elements['customData'] != nil
                self.custom_data = xml_element.elements['customData'].text
        end
end
thumb_bitrate=(val) click to toggle source
# File lib/kaltura_types.rb, line 17979
def thumb_bitrate=(val)
        @thumb_bitrate = val.to_i
end
thumb_height=(val) click to toggle source
# File lib/kaltura_types.rb, line 17976
def thumb_height=(val)
        @thumb_height = val.to_i
end
thumb_offset=(val) click to toggle source
# File lib/kaltura_types.rb, line 17973
def thumb_offset=(val)
        @thumb_offset = val.to_i
end