Class: Kaltura::KalturaConversionProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaConversionProfile
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#calculate_complexity ⇒ Object
Should calculate file conversion complexity.
-
#clip_duration ⇒ Object
Clipping duration (in miliseconds).
-
#clip_start ⇒ Object
Clipping start position (in miliseconds).
-
#collection_tags ⇒ Object
Defines the tags that should be used to define ‘collective’/group/multi-flavor processing, like ‘mbr’ or ‘ism’.
-
#conditional_profiles ⇒ Object
JSON string with array of “condition,profile-id” pairs.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#crop_dimensions ⇒ Object
Cropping dimensions.
-
#default_audio_lang ⇒ Object
Returns the value of attribute default_audio_lang.
-
#default_entry_id ⇒ Object
ID of the default entry to be used for template data.
-
#default_replacement_options ⇒ Object
Default replacement options to be applied to entries.
-
#description ⇒ Object
The description of the Conversion Profile.
-
#detect_gop ⇒ Object
When set, the ExtractMedia job should detect the source file GOP using this value as the max calculated period.
-
#flavor_params_ids ⇒ Object
List of included flavor ids (comma separated).
-
#id ⇒ Object
The id of the Conversion Profile.
-
#is_default ⇒ Object
Indicates that this conversion profile is system default.
-
#is_partner_default ⇒ Object
Indicates that this conversion profile is partner default.
-
#media_info_xsl_transformation ⇒ Object
XSL to transform ingestion Media Info XML.
-
#media_parser_type ⇒ Object
Media parser type to be used for extract media.
-
#name ⇒ Object
The name of the Conversion Profile.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#storage_profile_id ⇒ Object
ID of default storage profile to be used for linked net-storage file syncs.
-
#system_name ⇒ Object
System name of the Conversion Profile.
-
#tags ⇒ Object
Comma separated tags.
-
#type ⇒ Object
Returns the value of attribute type.
-
#xsl_transformation ⇒ Object
XSL to transform ingestion MRSS XML.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#calculate_complexity ⇒ Object
Should calculate file conversion complexity
3235 3236 3237 |
# File 'lib/kaltura_types.rb', line 3235 def calculate_complexity @calculate_complexity end |
#clip_duration ⇒ Object
Clipping duration (in miliseconds)
3227 3228 3229 |
# File 'lib/kaltura_types.rb', line 3227 def clip_duration @clip_duration end |
#clip_start ⇒ Object
Clipping start position (in miliseconds)
3225 3226 3227 |
# File 'lib/kaltura_types.rb', line 3225 def clip_start @clip_start end |
#collection_tags ⇒ Object
Defines the tags that should be used to define ‘collective’/group/multi-flavor processing, like ‘mbr’ or ‘ism’
3238 3239 3240 |
# File 'lib/kaltura_types.rb', line 3238 def @collection_tags end |
#conditional_profiles ⇒ Object
JSON string with array of “condition,profile-id” pairs.
3240 3241 3242 |
# File 'lib/kaltura_types.rb', line 3240 def conditional_profiles @conditional_profiles end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
3215 3216 3217 |
# File 'lib/kaltura_types.rb', line 3215 def created_at @created_at end |
#crop_dimensions ⇒ Object
Cropping dimensions
3223 3224 3225 |
# File 'lib/kaltura_types.rb', line 3223 def crop_dimensions @crop_dimensions end |
#default_audio_lang ⇒ Object
Returns the value of attribute default_audio_lang.
3247 3248 3249 |
# File 'lib/kaltura_types.rb', line 3247 def default_audio_lang @default_audio_lang end |
#default_entry_id ⇒ Object
ID of the default entry to be used for template data
3213 3214 3215 |
# File 'lib/kaltura_types.rb', line 3213 def default_entry_id @default_entry_id end |
#default_replacement_options ⇒ Object
Default replacement options to be applied to entries
3246 3247 3248 |
# File 'lib/kaltura_types.rb', line 3246 def @default_replacement_options end |
#description ⇒ Object
The description of the Conversion Profile
3211 3212 3213 |
# File 'lib/kaltura_types.rb', line 3211 def description @description end |
#detect_gop ⇒ Object
When set, the ExtractMedia job should detect the source file GOP using this value as the max calculated period
3242 3243 3244 |
# File 'lib/kaltura_types.rb', line 3242 def detect_gop @detect_gop end |
#flavor_params_ids ⇒ Object
List of included flavor ids (comma separated)
3217 3218 3219 |
# File 'lib/kaltura_types.rb', line 3217 def flavor_params_ids @flavor_params_ids end |
#id ⇒ Object
The id of the Conversion Profile
3200 3201 3202 |
# File 'lib/kaltura_types.rb', line 3200 def id @id end |
#is_default ⇒ Object
Indicates that this conversion profile is system default
3219 3220 3221 |
# File 'lib/kaltura_types.rb', line 3219 def is_default @is_default end |
#is_partner_default ⇒ Object
Indicates that this conversion profile is partner default
3221 3222 3223 |
# File 'lib/kaltura_types.rb', line 3221 def is_partner_default @is_partner_default end |
#media_info_xsl_transformation ⇒ Object
XSL to transform ingestion Media Info XML
3244 3245 3246 |
# File 'lib/kaltura_types.rb', line 3244 def media_info_xsl_transformation @media_info_xsl_transformation end |
#media_parser_type ⇒ Object
Media parser type to be used for extract media
3233 3234 3235 |
# File 'lib/kaltura_types.rb', line 3233 def media_parser_type @media_parser_type end |
#name ⇒ Object
The name of the Conversion Profile
3205 3206 3207 |
# File 'lib/kaltura_types.rb', line 3205 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
3201 3202 3203 |
# File 'lib/kaltura_types.rb', line 3201 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
3202 3203 3204 |
# File 'lib/kaltura_types.rb', line 3202 def status @status end |
#storage_profile_id ⇒ Object
ID of default storage profile to be used for linked net-storage file syncs
3231 3232 3233 |
# File 'lib/kaltura_types.rb', line 3231 def storage_profile_id @storage_profile_id end |
#system_name ⇒ Object
System name of the Conversion Profile
3207 3208 3209 |
# File 'lib/kaltura_types.rb', line 3207 def system_name @system_name end |
#tags ⇒ Object
Comma separated tags
3209 3210 3211 |
# File 'lib/kaltura_types.rb', line 3209 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
3203 3204 3205 |
# File 'lib/kaltura_types.rb', line 3203 def type @type end |
#xsl_transformation ⇒ Object
XSL to transform ingestion MRSS XML
3229 3230 3231 |
# File 'lib/kaltura_types.rb', line 3229 def xsl_transformation @xsl_transformation end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 |
# File 'lib/kaltura_types.rb', line 3280 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. = 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. = 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. = 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 |