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
3393 3394 3395 |
# File 'lib/kaltura_types.rb', line 3393 def calculate_complexity @calculate_complexity end |
#clip_duration ⇒ Object
Clipping duration (in miliseconds)
3385 3386 3387 |
# File 'lib/kaltura_types.rb', line 3385 def clip_duration @clip_duration end |
#clip_start ⇒ Object
Clipping start position (in miliseconds)
3383 3384 3385 |
# File 'lib/kaltura_types.rb', line 3383 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’
3396 3397 3398 |
# File 'lib/kaltura_types.rb', line 3396 def end |
#conditional_profiles ⇒ Object
JSON string with array of “condition,profile-id” pairs.
3398 3399 3400 |
# File 'lib/kaltura_types.rb', line 3398 def conditional_profiles @conditional_profiles end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
3373 3374 3375 |
# File 'lib/kaltura_types.rb', line 3373 def created_at @created_at end |
#crop_dimensions ⇒ Object
Cropping dimensions
3381 3382 3383 |
# File 'lib/kaltura_types.rb', line 3381 def crop_dimensions @crop_dimensions end |
#default_audio_lang ⇒ Object
Returns the value of attribute default_audio_lang.
3405 3406 3407 |
# File 'lib/kaltura_types.rb', line 3405 def default_audio_lang @default_audio_lang end |
#default_entry_id ⇒ Object
ID of the default entry to be used for template data
3371 3372 3373 |
# File 'lib/kaltura_types.rb', line 3371 def default_entry_id @default_entry_id end |
#default_replacement_options ⇒ Object
Default replacement options to be applied to entries
3404 3405 3406 |
# File 'lib/kaltura_types.rb', line 3404 def end |
#description ⇒ Object
The description of the Conversion Profile
3369 3370 3371 |
# File 'lib/kaltura_types.rb', line 3369 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
3400 3401 3402 |
# File 'lib/kaltura_types.rb', line 3400 def detect_gop @detect_gop end |
#flavor_params_ids ⇒ Object
List of included flavor ids (comma separated)
3375 3376 3377 |
# File 'lib/kaltura_types.rb', line 3375 def flavor_params_ids @flavor_params_ids end |
#id ⇒ Object
The id of the Conversion Profile
3358 3359 3360 |
# File 'lib/kaltura_types.rb', line 3358 def id @id end |
#is_default ⇒ Object
Indicates that this conversion profile is system default
3377 3378 3379 |
# File 'lib/kaltura_types.rb', line 3377 def is_default @is_default end |
#is_partner_default ⇒ Object
Indicates that this conversion profile is partner default
3379 3380 3381 |
# File 'lib/kaltura_types.rb', line 3379 def is_partner_default @is_partner_default end |
#media_info_xsl_transformation ⇒ Object
XSL to transform ingestion Media Info XML
3402 3403 3404 |
# File 'lib/kaltura_types.rb', line 3402 def media_info_xsl_transformation @media_info_xsl_transformation end |
#media_parser_type ⇒ Object
Media parser type to be used for extract media
3391 3392 3393 |
# File 'lib/kaltura_types.rb', line 3391 def media_parser_type @media_parser_type end |
#name ⇒ Object
The name of the Conversion Profile
3363 3364 3365 |
# File 'lib/kaltura_types.rb', line 3363 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
3359 3360 3361 |
# File 'lib/kaltura_types.rb', line 3359 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
3360 3361 3362 |
# File 'lib/kaltura_types.rb', line 3360 def status @status end |
#storage_profile_id ⇒ Object
ID of default storage profile to be used for linked net-storage file syncs
3389 3390 3391 |
# File 'lib/kaltura_types.rb', line 3389 def storage_profile_id @storage_profile_id end |
#system_name ⇒ Object
System name of the Conversion Profile
3365 3366 3367 |
# File 'lib/kaltura_types.rb', line 3365 def system_name @system_name end |
#tags ⇒ Object
Comma separated tags
3367 3368 3369 |
# File 'lib/kaltura_types.rb', line 3367 def end |
#type ⇒ Object
Returns the value of attribute type.
3361 3362 3363 |
# File 'lib/kaltura_types.rb', line 3361 def type @type end |
#xsl_transformation ⇒ Object
XSL to transform ingestion MRSS XML
3387 3388 3389 |
# File 'lib/kaltura_types.rb', line 3387 def xsl_transformation @xsl_transformation end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 |
# File 'lib/kaltura_types.rb', line 3438 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 |