Class: Kaltura::KalturaConversionProfile

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#calculate_complexityObject

Should calculate file conversion complexity



3440
3441
3442
# File 'lib/kaltura_types.rb', line 3440

def calculate_complexity
  @calculate_complexity
end

#clip_durationObject

Clipping duration (in miliseconds)



3432
3433
3434
# File 'lib/kaltura_types.rb', line 3432

def clip_duration
  @clip_duration
end

#clip_startObject

Clipping start position (in miliseconds)



3430
3431
3432
# File 'lib/kaltura_types.rb', line 3430

def clip_start
  @clip_start
end

#collection_tagsObject

Defines the tags that should be used to define ‘collective’/group/multi-flavor processing, like ‘mbr’ or ‘ism’



3443
3444
3445
# File 'lib/kaltura_types.rb', line 3443

def collection_tags
  @collection_tags
end

#conditional_profilesObject

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



3445
3446
3447
# File 'lib/kaltura_types.rb', line 3445

def conditional_profiles
  @conditional_profiles
end

#created_atObject

Creation date as Unix timestamp (In seconds)



3420
3421
3422
# File 'lib/kaltura_types.rb', line 3420

def created_at
  @created_at
end

#crop_dimensionsObject

Cropping dimensions



3428
3429
3430
# File 'lib/kaltura_types.rb', line 3428

def crop_dimensions
  @crop_dimensions
end

#default_audio_langObject

Returns the value of attribute default_audio_lang.



3452
3453
3454
# File 'lib/kaltura_types.rb', line 3452

def default_audio_lang
  @default_audio_lang
end

#default_entry_idObject

ID of the default entry to be used for template data



3418
3419
3420
# File 'lib/kaltura_types.rb', line 3418

def default_entry_id
  @default_entry_id
end

#default_replacement_optionsObject

Default replacement options to be applied to entries



3451
3452
3453
# File 'lib/kaltura_types.rb', line 3451

def default_replacement_options
  @default_replacement_options
end

#descriptionObject

The description of the Conversion Profile



3416
3417
3418
# File 'lib/kaltura_types.rb', line 3416

def description
  @description
end

#detect_gopObject

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



3447
3448
3449
# File 'lib/kaltura_types.rb', line 3447

def detect_gop
  @detect_gop
end

#flavor_params_idsObject

List of included flavor ids (comma separated)



3422
3423
3424
# File 'lib/kaltura_types.rb', line 3422

def flavor_params_ids
  @flavor_params_ids
end

#idObject

The id of the Conversion Profile



3405
3406
3407
# File 'lib/kaltura_types.rb', line 3405

def id
  @id
end

#is_defaultObject

Indicates that this conversion profile is system default



3424
3425
3426
# File 'lib/kaltura_types.rb', line 3424

def is_default
  @is_default
end

#is_partner_defaultObject

Indicates that this conversion profile is partner default



3426
3427
3428
# File 'lib/kaltura_types.rb', line 3426

def is_partner_default
  @is_partner_default
end

#media_info_xsl_transformationObject

XSL to transform ingestion Media Info XML



3449
3450
3451
# File 'lib/kaltura_types.rb', line 3449

def media_info_xsl_transformation
  @media_info_xsl_transformation
end

#media_parser_typeObject

Media parser type to be used for extract media



3438
3439
3440
# File 'lib/kaltura_types.rb', line 3438

def media_parser_type
  @media_parser_type
end

#nameObject

The name of the Conversion Profile



3410
3411
3412
# File 'lib/kaltura_types.rb', line 3410

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



3406
3407
3408
# File 'lib/kaltura_types.rb', line 3406

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



3407
3408
3409
# File 'lib/kaltura_types.rb', line 3407

def status
  @status
end

#storage_profile_idObject

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



3436
3437
3438
# File 'lib/kaltura_types.rb', line 3436

def storage_profile_id
  @storage_profile_id
end

#system_nameObject

System name of the Conversion Profile



3412
3413
3414
# File 'lib/kaltura_types.rb', line 3412

def system_name
  @system_name
end

#tagsObject

Comma separated tags



3414
3415
3416
# File 'lib/kaltura_types.rb', line 3414

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



3408
3409
3410
# File 'lib/kaltura_types.rb', line 3408

def type
  @type
end

#xsl_transformationObject

XSL to transform ingestion MRSS XML



3434
3435
3436
# File 'lib/kaltura_types.rb', line 3434

def xsl_transformation
  @xsl_transformation
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
# File 'lib/kaltura_types.rb', line 3485

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