Class: Kaltura::KalturaDistributionProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Direct Known Subclasses
KalturaConfigurableDistributionProfile, KalturaFreewheelDistributionProfile, KalturaGenericDistributionProfile, KalturaPodcastDistributionProfile, KalturaSyndicationDistributionProfile
Instance Attribute Summary collapse
-
#auto_create_flavors ⇒ Object
Comma separated flavor params ids that should be auto converted.
-
#auto_create_thumb ⇒ Object
Comma separated thumbnail params ids that should be auto generated.
-
#created_at ⇒ Object
Profile creation date as Unix timestamp (In seconds).
-
#delete_enabled ⇒ Object
Returns the value of attribute delete_enabled.
-
#distribute_trigger ⇒ Object
The event that trigger the automatic distribute.
-
#id ⇒ Object
Auto generated unique id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#optional_asset_distribution_rules ⇒ Object
Asset Distribution Rules for assets that should be submitted if ready.
-
#optional_flavor_params_ids ⇒ Object
Comma separated flavor params ids that should be submitted if ready.
-
#optional_thumb_dimensions ⇒ Object
Thumbnail dimensions that should be submitted if ready.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#provider_type ⇒ Object
Returns the value of attribute provider_type.
-
#recommended_dc_for_download ⇒ Object
The best Kaltura data center to be used to download the asset files to.
-
#recommended_dc_for_execute ⇒ Object
The best Kaltura data center to be used to execute the distribution job.
-
#recommended_storage_profile_for_download ⇒ Object
The best external storage to be used to download the asset files from.
-
#report_enabled ⇒ Object
Returns the value of attribute report_enabled.
-
#required_asset_distribution_rules ⇒ Object
Assets Asset Distribution Rules for assets that are required to be ready before submission.
-
#required_flavor_params_ids ⇒ Object
Comma separated flavor params ids that required to be ready before submission.
-
#required_thumb_dimensions ⇒ Object
Thumbnail dimensions that required to be readt before submission.
-
#status ⇒ Object
Returns the value of attribute status.
-
#submit_enabled ⇒ Object
Returns the value of attribute submit_enabled.
-
#sunrise_default_offset ⇒ Object
If entry distribution sunrise not specified that will be the default since entry creation time, in seconds.
-
#sunset_default_offset ⇒ Object
If entry distribution sunset not specified that will be the default since entry creation time, in seconds.
-
#support_image_entry ⇒ Object
Returns the value of attribute support_image_entry.
-
#update_enabled ⇒ Object
Returns the value of attribute update_enabled.
-
#updated_at ⇒ Object
Profile last update date as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#auto_create_flavors ⇒ Object
Comma separated flavor params ids that should be auto converted
359 360 361 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 359 def auto_create_flavors @auto_create_flavors end |
#auto_create_thumb ⇒ Object
Comma separated thumbnail params ids that should be auto generated
361 362 363 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 361 def auto_create_thumb @auto_create_thumb end |
#created_at ⇒ Object
Profile creation date as Unix timestamp (In seconds)
347 348 349 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 347 def created_at @created_at end |
#delete_enabled ⇒ Object
Returns the value of attribute delete_enabled.
356 357 358 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 356 def delete_enabled @delete_enabled end |
#distribute_trigger ⇒ Object
The event that trigger the automatic distribute
385 386 387 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 385 def distribute_trigger @distribute_trigger end |
#id ⇒ Object
Auto generated unique id
345 346 347 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 345 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
352 353 354 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 352 def name @name end |
#optional_asset_distribution_rules ⇒ Object
Asset Distribution Rules for assets that should be submitted if ready
371 372 373 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 371 def optional_asset_distribution_rules @optional_asset_distribution_rules end |
#optional_flavor_params_ids ⇒ Object
Comma separated flavor params ids that should be submitted if ready
363 364 365 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 363 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Thumbnail dimensions that should be submitted if ready
367 368 369 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 367 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
350 351 352 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 350 def partner_id @partner_id end |
#provider_type ⇒ Object
Returns the value of attribute provider_type.
351 352 353 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 351 def provider_type @provider_type end |
#recommended_dc_for_download ⇒ Object
The best Kaltura data center to be used to download the asset files to
381 382 383 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 381 def recommended_dc_for_download @recommended_dc_for_download end |
#recommended_dc_for_execute ⇒ Object
The best Kaltura data center to be used to execute the distribution job
383 384 385 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 383 def recommended_dc_for_execute @recommended_dc_for_execute end |
#recommended_storage_profile_for_download ⇒ Object
The best external storage to be used to download the asset files from
379 380 381 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 379 def recommended_storage_profile_for_download @recommended_storage_profile_for_download end |
#report_enabled ⇒ Object
Returns the value of attribute report_enabled.
357 358 359 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 357 def report_enabled @report_enabled end |
#required_asset_distribution_rules ⇒ Object
Assets Asset Distribution Rules for assets that are required to be ready before submission
373 374 375 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 373 def required_asset_distribution_rules @required_asset_distribution_rules end |
#required_flavor_params_ids ⇒ Object
Comma separated flavor params ids that required to be ready before submission
365 366 367 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 365 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Thumbnail dimensions that required to be readt before submission
369 370 371 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 369 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
353 354 355 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 353 def status @status end |
#submit_enabled ⇒ Object
Returns the value of attribute submit_enabled.
354 355 356 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 354 def submit_enabled @submit_enabled end |
#sunrise_default_offset ⇒ Object
If entry distribution sunrise not specified that will be the default since entry creation time, in seconds
375 376 377 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 375 def sunrise_default_offset @sunrise_default_offset end |
#sunset_default_offset ⇒ Object
If entry distribution sunset not specified that will be the default since entry creation time, in seconds
377 378 379 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 377 def sunset_default_offset @sunset_default_offset end |
#support_image_entry ⇒ Object
Returns the value of attribute support_image_entry.
386 387 388 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 386 def support_image_entry @support_image_entry end |
#update_enabled ⇒ Object
Returns the value of attribute update_enabled.
355 356 357 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 355 def update_enabled @update_enabled end |
#updated_at ⇒ Object
Profile last update date as Unix timestamp (In seconds)
349 350 351 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 349 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 437 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['providerType'] != nil self.provider_type = xml_element.elements['providerType'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['submitEnabled'] != nil self.submit_enabled = xml_element.elements['submitEnabled'].text end if xml_element.elements['updateEnabled'] != nil self.update_enabled = xml_element.elements['updateEnabled'].text end if xml_element.elements['deleteEnabled'] != nil self.delete_enabled = xml_element.elements['deleteEnabled'].text end if xml_element.elements['reportEnabled'] != nil self.report_enabled = xml_element.elements['reportEnabled'].text end if xml_element.elements['autoCreateFlavors'] != nil self.auto_create_flavors = xml_element.elements['autoCreateFlavors'].text end if xml_element.elements['autoCreateThumb'] != nil self.auto_create_thumb = xml_element.elements['autoCreateThumb'].text end if xml_element.elements['optionalFlavorParamsIds'] != nil self.optional_flavor_params_ids = xml_element.elements['optionalFlavorParamsIds'].text end if xml_element.elements['requiredFlavorParamsIds'] != nil self.required_flavor_params_ids = xml_element.elements['requiredFlavorParamsIds'].text end if xml_element.elements['optionalThumbDimensions'] != nil self.optional_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['optionalThumbDimensions'], 'KalturaDistributionThumbDimensions') end if xml_element.elements['requiredThumbDimensions'] != nil self.required_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['requiredThumbDimensions'], 'KalturaDistributionThumbDimensions') end if xml_element.elements['optionalAssetDistributionRules'] != nil self.optional_asset_distribution_rules = KalturaClientBase.object_from_xml(xml_element.elements['optionalAssetDistributionRules'], 'KalturaAssetDistributionRule') end if xml_element.elements['requiredAssetDistributionRules'] != nil self.required_asset_distribution_rules = KalturaClientBase.object_from_xml(xml_element.elements['requiredAssetDistributionRules'], 'KalturaAssetDistributionRule') end if xml_element.elements['sunriseDefaultOffset'] != nil self.sunrise_default_offset = xml_element.elements['sunriseDefaultOffset'].text end if xml_element.elements['sunsetDefaultOffset'] != nil self.sunset_default_offset = xml_element.elements['sunsetDefaultOffset'].text end if xml_element.elements['recommendedStorageProfileForDownload'] != nil self.recommended_storage_profile_for_download = xml_element.elements['recommendedStorageProfileForDownload'].text end if xml_element.elements['recommendedDcForDownload'] != nil self.recommended_dc_for_download = xml_element.elements['recommendedDcForDownload'].text end if xml_element.elements['recommendedDcForExecute'] != nil self.recommended_dc_for_execute = xml_element.elements['recommendedDcForExecute'].text end if xml_element.elements['distributeTrigger'] != nil self.distribute_trigger = xml_element.elements['distributeTrigger'].text end if xml_element.elements['supportImageEntry'] != nil self.support_image_entry = xml_element.elements['supportImageEntry'].text end end |