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, 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.
-
#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.
-
#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
353 354 355 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 353 def auto_create_flavors @auto_create_flavors end |
#auto_create_thumb ⇒ Object
Comma separated thumbnail params ids that should be auto generated
355 356 357 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 355 def auto_create_thumb @auto_create_thumb end |
#created_at ⇒ Object
Profile creation date as Unix timestamp (In seconds)
341 342 343 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 341 def created_at @created_at end |
#delete_enabled ⇒ Object
Returns the value of attribute delete_enabled.
350 351 352 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 350 def delete_enabled @delete_enabled end |
#id ⇒ Object
Auto generated unique id
339 340 341 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 339 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
346 347 348 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 346 def name @name end |
#optional_asset_distribution_rules ⇒ Object
Asset Distribution Rules for assets that should be submitted if ready
365 366 367 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 365 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
357 358 359 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 357 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Thumbnail dimensions that should be submitted if ready
361 362 363 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 361 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
344 345 346 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 344 def partner_id @partner_id end |
#provider_type ⇒ Object
Returns the value of attribute provider_type.
345 346 347 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 345 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
375 376 377 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 375 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
377 378 379 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 377 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
373 374 375 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 373 def recommended_storage_profile_for_download @recommended_storage_profile_for_download end |
#report_enabled ⇒ Object
Returns the value of attribute report_enabled.
351 352 353 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 351 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
367 368 369 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 367 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
359 360 361 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 359 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Thumbnail dimensions that required to be readt before submission
363 364 365 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 363 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
347 348 349 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 347 def status @status end |
#submit_enabled ⇒ Object
Returns the value of attribute submit_enabled.
348 349 350 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 348 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
369 370 371 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 369 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
371 372 373 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 371 def sunset_default_offset @sunset_default_offset end |
#update_enabled ⇒ Object
Returns the value of attribute update_enabled.
349 350 351 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 349 def update_enabled @update_enabled end |
#updated_at ⇒ Object
Profile last update date as Unix timestamp (In seconds)
343 344 345 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 343 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 422 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 end |