class Kaltura::KalturaConversionProfile

Attributes

calculate_complexity[RW]

Should calculate file conversion complexity

clip_duration[RW]

Clipping duration (in miliseconds)

clip_start[RW]

Clipping start position (in miliseconds)

collection_tags[RW]

Defines the tags that should be used to define 'collective'/group/multi-flavor processing,

like 'mbr' or 'ism'
conditional_profiles[RW]

JSON string with array of “condition,profile-id” pairs.

created_at[RW]

Creation date as Unix timestamp (In seconds)

crop_dimensions[RW]

Cropping dimensions

default_audio_lang[RW]
default_entry_id[RW]

ID of the default entry to be used for template data

default_replacement_options[RW]

Default replacement options to be applied to entries

description[RW]

The description of the Conversion Profile

detect_gop[RW]

When set, the ExtractMedia job should detect the source file GOP using this value as the max calculated period

flavor_params_ids[RW]

List of included flavor ids (comma separated)

id[RW]

The id of the Conversion Profile

is_default[RW]

Indicates that this conversion profile is system default

is_partner_default[RW]

Indicates that this conversion profile is partner default

media_info_xsl_transformation[RW]

XSL to transform ingestion Media Info XML

media_parser_type[RW]

Media parser type to be used for extract media

name[RW]

The name of the Conversion Profile

partner_id[RW]
status[RW]
storage_profile_id[RW]

ID of default storage profile to be used for linked net-storage file syncs

system_name[RW]

System name of the Conversion Profile

tags[RW]

Comma separated tags

type[RW]
xsl_transformation[RW]

XSL to transform ingestion MRSS XML

Public Instance Methods

calculate_complexity=(val) click to toggle source
# File lib/kaltura_types.rb, line 3404
def calculate_complexity=(val)
        @calculate_complexity = val.to_i
end
clip_duration=(val) click to toggle source
# File lib/kaltura_types.rb, line 3398
def clip_duration=(val)
        @clip_duration = val.to_i
end
clip_start=(val) click to toggle source
# File lib/kaltura_types.rb, line 3395
def clip_start=(val)
        @clip_start = val.to_i
end
created_at=(val) click to toggle source
# File lib/kaltura_types.rb, line 3386
def created_at=(val)
        @created_at = val.to_i
end
detect_gop=(val) click to toggle source
# File lib/kaltura_types.rb, line 3407
def detect_gop=(val)
        @detect_gop = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 3411
def from_xml(xml_element)
        super
        if xml_element.elements['id'] != nil
                self.id = xml_element.elements['id'].text
        end
        if xml_element.elements['partnerId'] != nil
                self.partner_id = xml_element.elements['partnerId'].text
        end
        if xml_element.elements['status'] != nil
                self.status = xml_element.elements['status'].text
        end
        if xml_element.elements['type'] != nil
                self.type = xml_element.elements['type'].text
        end
        if xml_element.elements['name'] != nil
                self.name = xml_element.elements['name'].text
        end
        if xml_element.elements['systemName'] != nil
                self.system_name = xml_element.elements['systemName'].text
        end
        if xml_element.elements['tags'] != nil
                self.tags = xml_element.elements['tags'].text
        end
        if xml_element.elements['description'] != nil
                self.description = xml_element.elements['description'].text
        end
        if xml_element.elements['defaultEntryId'] != nil
                self.default_entry_id = xml_element.elements['defaultEntryId'].text
        end
        if xml_element.elements['createdAt'] != nil
                self.created_at = xml_element.elements['createdAt'].text
        end
        if xml_element.elements['flavorParamsIds'] != nil
                self.flavor_params_ids = xml_element.elements['flavorParamsIds'].text
        end
        if xml_element.elements['isDefault'] != nil
                self.is_default = xml_element.elements['isDefault'].text
        end
        if xml_element.elements['isPartnerDefault'] != nil
                self.is_partner_default = xml_element.elements['isPartnerDefault'].text
        end
        if xml_element.elements['cropDimensions'] != nil
                self.crop_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['cropDimensions'], 'KalturaCropDimensions')
        end
        if xml_element.elements['clipStart'] != nil
                self.clip_start = xml_element.elements['clipStart'].text
        end
        if xml_element.elements['clipDuration'] != nil
                self.clip_duration = xml_element.elements['clipDuration'].text
        end
        if xml_element.elements['xslTransformation'] != nil
                self.xsl_transformation = xml_element.elements['xslTransformation'].text
        end
        if xml_element.elements['storageProfileId'] != nil
                self.storage_profile_id = xml_element.elements['storageProfileId'].text
        end
        if xml_element.elements['mediaParserType'] != nil
                self.media_parser_type = xml_element.elements['mediaParserType'].text
        end
        if xml_element.elements['calculateComplexity'] != nil
                self.calculate_complexity = xml_element.elements['calculateComplexity'].text
        end
        if xml_element.elements['collectionTags'] != nil
                self.collection_tags = xml_element.elements['collectionTags'].text
        end
        if xml_element.elements['conditionalProfiles'] != nil
                self.conditional_profiles = xml_element.elements['conditionalProfiles'].text
        end
        if xml_element.elements['detectGOP'] != nil
                self.detect_gop = xml_element.elements['detectGOP'].text
        end
        if xml_element.elements['mediaInfoXslTransformation'] != nil
                self.media_info_xsl_transformation = xml_element.elements['mediaInfoXslTransformation'].text
        end
        if xml_element.elements['defaultReplacementOptions'] != nil
                self.default_replacement_options = KalturaClientBase.object_from_xml(xml_element.elements['defaultReplacementOptions'], 'KalturaEntryReplacementOptions')
        end
        if xml_element.elements['defaultAudioLang'] != nil
                self.default_audio_lang = xml_element.elements['defaultAudioLang'].text
        end
end
id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3380
def id=(val)
        @id = val.to_i
end
is_default=(val) click to toggle source
# File lib/kaltura_types.rb, line 3389
def is_default=(val)
        @is_default = val.to_i
end
is_partner_default=(val) click to toggle source
# File lib/kaltura_types.rb, line 3392
def is_partner_default=(val)
        @is_partner_default = to_b(val)
end
partner_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3383
def partner_id=(val)
        @partner_id = val.to_i
end
storage_profile_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3401
def storage_profile_id=(val)
        @storage_profile_id = val.to_i
end