Class: Kaltura::KalturaGenericDistributionProfile

Inherits:
KalturaDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaDistributionProfile

#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #update_enabled, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#delete_actionObject

Returns the value of attribute delete_action.



1443
1444
1445
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1443

def delete_action
  @delete_action
end

#fetch_report_actionObject

Returns the value of attribute fetch_report_action.



1444
1445
1446
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1444

def fetch_report_action
  @fetch_report_action
end

#generic_provider_idObject

Returns the value of attribute generic_provider_id.



1440
1441
1442
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1440

def generic_provider_id
  @generic_provider_id
end

#submit_actionObject

Returns the value of attribute submit_action.



1441
1442
1443
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1441

def submit_action
  @submit_action
end

#update_actionObject

Returns the value of attribute update_action.



1442
1443
1444
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1442

def update_action
  @update_action
end

#update_required_entry_fieldsObject

Returns the value of attribute update_required_entry_fields.



1445
1446
1447
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1445

def update_required_entry_fields
  @update_required_entry_fields
end

#update_required_metadata_xpathsObject

Returns the value of attribute update_required_metadata_xpaths.



1446
1447
1448
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1446

def 
  
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1452

def from_xml(xml_element)
  super
  if xml_element.elements['genericProviderId'] != nil
    self.generic_provider_id = xml_element.elements['genericProviderId'].text
  end
  if xml_element.elements['submitAction'] != nil
    self.submit_action = KalturaClientBase.object_from_xml(xml_element.elements['submitAction'], 'KalturaGenericDistributionProfileAction')
  end
  if xml_element.elements['updateAction'] != nil
    self.update_action = KalturaClientBase.object_from_xml(xml_element.elements['updateAction'], 'KalturaGenericDistributionProfileAction')
  end
  if xml_element.elements['deleteAction'] != nil
    self.delete_action = KalturaClientBase.object_from_xml(xml_element.elements['deleteAction'], 'KalturaGenericDistributionProfileAction')
  end
  if xml_element.elements['fetchReportAction'] != nil
    self.fetch_report_action = KalturaClientBase.object_from_xml(xml_element.elements['fetchReportAction'], 'KalturaGenericDistributionProfileAction')
  end
  if xml_element.elements['updateRequiredEntryFields'] != nil
    self.update_required_entry_fields = xml_element.elements['updateRequiredEntryFields'].text
  end
  if xml_element.elements['updateRequiredMetadataXPaths'] != nil
    self. = xml_element.elements['updateRequiredMetadataXPaths'].text
  end
end