Class: Kaltura::KalturaDistributionProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Direct Known Subclasses
KalturaConfigurableDistributionProfile, 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
323 324 325 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 323 def auto_create_flavors @auto_create_flavors end |
#auto_create_thumb ⇒ Object
Comma separated thumbnail params ids that should be auto generated
326 327 328 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 326 def auto_create_thumb @auto_create_thumb end |
#created_at ⇒ Object
Profile creation date as Unix timestamp (In seconds)
309 310 311 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 309 def created_at @created_at end |
#delete_enabled ⇒ Object
Returns the value of attribute delete_enabled.
319 320 321 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 319 def delete_enabled @delete_enabled end |
#id ⇒ Object
Auto generated unique id
306 307 308 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 306 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
315 316 317 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 315 def name @name end |
#optional_asset_distribution_rules ⇒ Object
Asset Distribution Rules for assets that should be submitted if ready
341 342 343 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 341 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
329 330 331 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 329 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Thumbnail dimensions that should be submitted if ready
335 336 337 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 335 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
313 314 315 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 313 def partner_id @partner_id end |
#provider_type ⇒ Object
Returns the value of attribute provider_type.
314 315 316 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 314 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
356 357 358 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 356 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
359 360 361 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 359 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
353 354 355 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 353 def recommended_storage_profile_for_download @recommended_storage_profile_for_download end |
#report_enabled ⇒ Object
Returns the value of attribute report_enabled.
320 321 322 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 320 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
344 345 346 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 344 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
332 333 334 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 332 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Thumbnail dimensions that required to be readt before submission
338 339 340 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 338 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
316 317 318 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 316 def status @status end |
#submit_enabled ⇒ Object
Returns the value of attribute submit_enabled.
317 318 319 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 317 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
347 348 349 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 347 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
350 351 352 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 350 def sunset_default_offset @sunset_default_offset end |
#update_enabled ⇒ Object
Returns the value of attribute update_enabled.
318 319 320 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 318 def update_enabled @update_enabled end |
#updated_at ⇒ Object
Profile last update date as Unix timestamp (In seconds)
312 313 314 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 312 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 404 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.partner_id = xml_element.elements['partnerId'].text self.provider_type = xml_element.elements['providerType'].text self.name = xml_element.elements['name'].text self.status = xml_element.elements['status'].text self.submit_enabled = xml_element.elements['submitEnabled'].text self.update_enabled = xml_element.elements['updateEnabled'].text self.delete_enabled = xml_element.elements['deleteEnabled'].text self.report_enabled = xml_element.elements['reportEnabled'].text self.auto_create_flavors = xml_element.elements['autoCreateFlavors'].text self.auto_create_thumb = xml_element.elements['autoCreateThumb'].text self.optional_flavor_params_ids = xml_element.elements['optionalFlavorParamsIds'].text self.required_flavor_params_ids = xml_element.elements['requiredFlavorParamsIds'].text self.optional_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['optionalThumbDimensions'], 'KalturaDistributionThumbDimensions') self.required_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['requiredThumbDimensions'], 'KalturaDistributionThumbDimensions') self.optional_asset_distribution_rules = KalturaClientBase.object_from_xml(xml_element.elements['optionalAssetDistributionRules'], 'KalturaAssetDistributionRule') self.required_asset_distribution_rules = KalturaClientBase.object_from_xml(xml_element.elements['requiredAssetDistributionRules'], 'KalturaAssetDistributionRule') self.sunrise_default_offset = xml_element.elements['sunriseDefaultOffset'].text self.sunset_default_offset = xml_element.elements['sunsetDefaultOffset'].text self.recommended_storage_profile_for_download = xml_element.elements['recommendedStorageProfileForDownload'].text self.recommended_dc_for_download = xml_element.elements['recommendedDcForDownload'].text self.recommended_dc_for_execute = xml_element.elements['recommendedDcForExecute'].text end |