Class: Kaltura::KalturaCrossKalturaDistributionProfile
- Inherits:
-
KalturaConfigurableDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- KalturaConfigurableDistributionProfile
- Kaltura::KalturaCrossKalturaDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#distribute_captions ⇒ Object
Returns the value of attribute distribute_captions.
-
#distribute_cue_points ⇒ Object
Returns the value of attribute distribute_cue_points.
-
#distribute_remote_caption_asset_content ⇒ Object
Returns the value of attribute distribute_remote_caption_asset_content.
-
#distribute_remote_flavor_asset_content ⇒ Object
Returns the value of attribute distribute_remote_flavor_asset_content.
-
#distribute_remote_thumb_asset_content ⇒ Object
Returns the value of attribute distribute_remote_thumb_asset_content.
-
#map_access_control_profile_ids ⇒ Object
Returns the value of attribute map_access_control_profile_ids.
-
#map_caption_params_ids ⇒ Object
Returns the value of attribute map_caption_params_ids.
-
#map_conversion_profile_ids ⇒ Object
Returns the value of attribute map_conversion_profile_ids.
-
#map_flavor_params_ids ⇒ Object
Returns the value of attribute map_flavor_params_ids.
-
#map_metadata_profile_ids ⇒ Object
Returns the value of attribute map_metadata_profile_ids.
-
#map_storage_profile_ids ⇒ Object
Returns the value of attribute map_storage_profile_ids.
-
#map_thumb_params_ids ⇒ Object
Returns the value of attribute map_thumb_params_ids.
-
#metadata_xpaths_trigger_update ⇒ Object
Returns the value of attribute metadata_xpaths_trigger_update.
-
#metadata_xslt ⇒ Object
Returns the value of attribute metadata_xslt.
-
#target_account_id ⇒ Object
Returns the value of attribute target_account_id.
-
#target_login_id ⇒ Object
Returns the value of attribute target_login_id.
-
#target_login_password ⇒ Object
Returns the value of attribute target_login_password.
-
#target_service_url ⇒ Object
Returns the value of attribute target_service_url.
Attributes inherited from KalturaConfigurableDistributionProfile
#field_config_array, #item_xpaths_to_extend, #use_category_entries
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
#distribute_captions ⇒ Object
Returns the value of attribute distribute_captions.
103 104 105 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 103 def distribute_captions @distribute_captions end |
#distribute_cue_points ⇒ Object
Returns the value of attribute distribute_cue_points.
104 105 106 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 104 def distribute_cue_points @distribute_cue_points end |
#distribute_remote_caption_asset_content ⇒ Object
Returns the value of attribute distribute_remote_caption_asset_content.
107 108 109 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 107 def distribute_remote_caption_asset_content @distribute_remote_caption_asset_content end |
#distribute_remote_flavor_asset_content ⇒ Object
Returns the value of attribute distribute_remote_flavor_asset_content.
105 106 107 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 105 def distribute_remote_flavor_asset_content @distribute_remote_flavor_asset_content end |
#distribute_remote_thumb_asset_content ⇒ Object
Returns the value of attribute distribute_remote_thumb_asset_content.
106 107 108 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 106 def distribute_remote_thumb_asset_content @distribute_remote_thumb_asset_content end |
#map_access_control_profile_ids ⇒ Object
Returns the value of attribute map_access_control_profile_ids.
108 109 110 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 108 def map_access_control_profile_ids @map_access_control_profile_ids end |
#map_caption_params_ids ⇒ Object
Returns the value of attribute map_caption_params_ids.
114 115 116 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 114 def map_caption_params_ids @map_caption_params_ids end |
#map_conversion_profile_ids ⇒ Object
Returns the value of attribute map_conversion_profile_ids.
109 110 111 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 109 def map_conversion_profile_ids @map_conversion_profile_ids end |
#map_flavor_params_ids ⇒ Object
Returns the value of attribute map_flavor_params_ids.
112 113 114 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 112 def map_flavor_params_ids @map_flavor_params_ids end |
#map_metadata_profile_ids ⇒ Object
Returns the value of attribute map_metadata_profile_ids.
110 111 112 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 110 def @map_metadata_profile_ids end |
#map_storage_profile_ids ⇒ Object
Returns the value of attribute map_storage_profile_ids.
111 112 113 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 111 def map_storage_profile_ids @map_storage_profile_ids end |
#map_thumb_params_ids ⇒ Object
Returns the value of attribute map_thumb_params_ids.
113 114 115 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 113 def map_thumb_params_ids @map_thumb_params_ids end |
#metadata_xpaths_trigger_update ⇒ Object
Returns the value of attribute metadata_xpaths_trigger_update.
102 103 104 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 102 def @metadata_xpaths_trigger_update end |
#metadata_xslt ⇒ Object
Returns the value of attribute metadata_xslt.
101 102 103 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 101 def @metadata_xslt end |
#target_account_id ⇒ Object
Returns the value of attribute target_account_id.
98 99 100 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 98 def target_account_id @target_account_id end |
#target_login_id ⇒ Object
Returns the value of attribute target_login_id.
99 100 101 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 99 def target_login_id @target_login_id end |
#target_login_password ⇒ Object
Returns the value of attribute target_login_password.
100 101 102 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 100 def target_login_password @target_login_password end |
#target_service_url ⇒ Object
Returns the value of attribute target_service_url.
97 98 99 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 97 def target_service_url @target_service_url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb', line 135 def from_xml(xml_element) super if xml_element.elements['targetServiceUrl'] != nil self.target_service_url = xml_element.elements['targetServiceUrl'].text end if xml_element.elements['targetAccountId'] != nil self.target_account_id = xml_element.elements['targetAccountId'].text end if xml_element.elements['targetLoginId'] != nil self.target_login_id = xml_element.elements['targetLoginId'].text end if xml_element.elements['targetLoginPassword'] != nil self.target_login_password = xml_element.elements['targetLoginPassword'].text end if xml_element.elements['metadataXslt'] != nil self. = xml_element.elements['metadataXslt'].text end if xml_element.elements['metadataXpathsTriggerUpdate'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['metadataXpathsTriggerUpdate'], 'KalturaStringValue') end if xml_element.elements['distributeCaptions'] != nil self.distribute_captions = xml_element.elements['distributeCaptions'].text end if xml_element.elements['distributeCuePoints'] != nil self.distribute_cue_points = xml_element.elements['distributeCuePoints'].text end if xml_element.elements['distributeRemoteFlavorAssetContent'] != nil self.distribute_remote_flavor_asset_content = xml_element.elements['distributeRemoteFlavorAssetContent'].text end if xml_element.elements['distributeRemoteThumbAssetContent'] != nil self.distribute_remote_thumb_asset_content = xml_element.elements['distributeRemoteThumbAssetContent'].text end if xml_element.elements['distributeRemoteCaptionAssetContent'] != nil self.distribute_remote_caption_asset_content = xml_element.elements['distributeRemoteCaptionAssetContent'].text end if xml_element.elements['mapAccessControlProfileIds'] != nil self.map_access_control_profile_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapAccessControlProfileIds'], 'KalturaKeyValue') end if xml_element.elements['mapConversionProfileIds'] != nil self.map_conversion_profile_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapConversionProfileIds'], 'KalturaKeyValue') end if xml_element.elements['mapMetadataProfileIds'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['mapMetadataProfileIds'], 'KalturaKeyValue') end if xml_element.elements['mapStorageProfileIds'] != nil self.map_storage_profile_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapStorageProfileIds'], 'KalturaKeyValue') end if xml_element.elements['mapFlavorParamsIds'] != nil self.map_flavor_params_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapFlavorParamsIds'], 'KalturaKeyValue') end if xml_element.elements['mapThumbParamsIds'] != nil self.map_thumb_params_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapThumbParamsIds'], 'KalturaKeyValue') end if xml_element.elements['mapCaptionParamsIds'] != nil self.map_caption_params_ids = KalturaClientBase.object_from_xml(xml_element.elements['mapCaptionParamsIds'], 'KalturaKeyValue') end end |