class Kaltura::KalturaDistributionProfile
Attributes
Comma separated flavor params ids that should be auto converted
Comma separated thumbnail params ids that should be auto generated
Profile creation date as Unix timestamp (In seconds)
The event that trigger the automatic distribute
Auto generated unique id
Asset Distribution Rules for assets that should be submitted if ready
Comma separated flavor params ids that should be submitted if ready
Thumbnail dimensions that should be submitted if ready
The best Kaltura
data center to be used to download the asset files to
The best Kaltura
data center to be used to execute the distribution job
The best external storage to be used to download the asset files from
Assets Asset Distribution Rules for assets that are required to be ready before submission
Comma separated flavor params ids that required to be ready before submission
Thumbnail dimensions that required to be readt before submission
If entry distribution sunrise not specified that will be the default since entry creation time, in seconds
If entry distribution sunset not specified that will be the default since entry creation time, in seconds
Profile last update date as Unix timestamp (In seconds)
Public Instance Methods
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 390 def created_at=(val) @created_at = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 408 def delete_enabled=(val) @delete_enabled = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 429 def distribute_trigger=(val) @distribute_trigger = val.to_i end
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 433 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 end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 387 def id=(val) @id = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 396 def partner_id=(val) @partner_id = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 423 def recommended_dc_for_download=(val) @recommended_dc_for_download = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 426 def recommended_dc_for_execute=(val) @recommended_dc_for_execute = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 420 def recommended_storage_profile_for_download=(val) @recommended_storage_profile_for_download = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 411 def report_enabled=(val) @report_enabled = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 399 def status=(val) @status = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 402 def submit_enabled=(val) @submit_enabled = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 414 def sunrise_default_offset=(val) @sunrise_default_offset = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 417 def sunset_default_offset=(val) @sunset_default_offset = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 405 def update_enabled=(val) @update_enabled = val.to_i end
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 393 def updated_at=(val) @updated_at = val.to_i end