Class: Kaltura::KalturaGenericDistributionProfile
- Inherits:
-
KalturaDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- Kaltura::KalturaGenericDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#delete_action ⇒ Object
Returns the value of attribute delete_action.
-
#fetch_report_action ⇒ Object
Returns the value of attribute fetch_report_action.
-
#generic_provider_id ⇒ Object
Returns the value of attribute generic_provider_id.
-
#submit_action ⇒ Object
Returns the value of attribute submit_action.
-
#update_action ⇒ Object
Returns the value of attribute update_action.
-
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
-
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
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
Instance Attribute Details
#delete_action ⇒ Object
Returns the value of attribute delete_action.
1152 1153 1154 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1152 def delete_action @delete_action end |
#fetch_report_action ⇒ Object
Returns the value of attribute fetch_report_action.
1153 1154 1155 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1153 def fetch_report_action @fetch_report_action end |
#generic_provider_id ⇒ Object
Returns the value of attribute generic_provider_id.
1149 1150 1151 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1149 def generic_provider_id @generic_provider_id end |
#submit_action ⇒ Object
Returns the value of attribute submit_action.
1150 1151 1152 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1150 def submit_action @submit_action end |
#update_action ⇒ Object
Returns the value of attribute update_action.
1151 1152 1153 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1151 def update_action @update_action end |
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
1154 1155 1156 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1154 def update_required_entry_fields @update_required_entry_fields end |
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
1155 1156 1157 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1155 def @update_required_metadata_xpaths end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1161 def from_xml(xml_element) super self.generic_provider_id = xml_element.elements['genericProviderId'].text self.submit_action = KalturaClientBase.object_from_xml(xml_element.elements['submitAction'], 'KalturaGenericDistributionProfileAction') self.update_action = KalturaClientBase.object_from_xml(xml_element.elements['updateAction'], 'KalturaGenericDistributionProfileAction') self.delete_action = KalturaClientBase.object_from_xml(xml_element.elements['deleteAction'], 'KalturaGenericDistributionProfileAction') self.fetch_report_action = KalturaClientBase.object_from_xml(xml_element.elements['fetchReportAction'], 'KalturaGenericDistributionProfileAction') self.update_required_entry_fields = xml_element.elements['updateRequiredEntryFields'].text self. = xml_element.elements['updateRequiredMetadataXPaths'].text end |