Class: Kaltura::KalturaUnicornDistributionProfile
- Inherits:
-
KalturaConfigurableDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- KalturaConfigurableDistributionProfile
- Kaltura::KalturaUnicornDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#ad_free_application_guid ⇒ Object
The GUID for the application in which to record metrics and enforce business rules obtained through your Unicorn representative.
-
#api_host_url ⇒ Object
The API host URL that the Upload User should have access to, Used for HTTP content submission.
-
#channel_guid ⇒ Object
The Channel GUID assigned to this Publication Rule.
-
#domain_guid ⇒ Object
The GUID of the Customer Domain in the Unicorn system obtained by contacting your Unicorn representative.
-
#domain_name ⇒ Object
The name of the Domain that the Upload User should have access to, Used for authentication.
-
#password ⇒ Object
The password used in association with the email to determine if the Upload User is authorized the incoming request.
-
#remote_asset_params_id ⇒ Object
The flavor-params that will be used for the remote asset.
-
#storage_profile_id ⇒ Object
The remote storage that should be used for the remote asset.
-
#username ⇒ Object
The email address associated with the Upload User, used to authorize the incoming request.
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, #distribute_trigger, #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, #support_image_entry, #update_enabled, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#ad_free_application_guid ⇒ Object
The GUID for the application in which to record metrics and enforce business rules obtained through your Unicorn representative.
103 104 105 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 103 def ad_free_application_guid @ad_free_application_guid end |
#api_host_url ⇒ Object
The API host URL that the Upload User should have access to, Used for HTTP content submission.
99 100 101 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 99 def api_host_url @api_host_url end |
#channel_guid ⇒ Object
The Channel GUID assigned to this Publication Rule. Must be a valid Channel in the Domain that was used in authentication.
97 98 99 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 97 def channel_guid @channel_guid end |
#domain_guid ⇒ Object
The GUID of the Customer Domain in the Unicorn system obtained by contacting your Unicorn representative.
101 102 103 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 101 def domain_guid @domain_guid end |
#domain_name ⇒ Object
The name of the Domain that the Upload User should have access to, Used for authentication.
95 96 97 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 95 def domain_name @domain_name end |
#password ⇒ Object
The password used in association with the email to determine if the Upload User is authorized the incoming request.
93 94 95 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 93 def password @password end |
#remote_asset_params_id ⇒ Object
The flavor-params that will be used for the remote asset.
105 106 107 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 105 def remote_asset_params_id @remote_asset_params_id end |
#storage_profile_id ⇒ Object
The remote storage that should be used for the remote asset.
107 108 109 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 107 def storage_profile_id @storage_profile_id end |
#username ⇒ Object
The email address associated with the Upload User, used to authorize the incoming request.
91 92 93 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 91 def username @username end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 113 def from_xml(xml_element) super if xml_element.elements['username'] != nil self.username = xml_element.elements['username'].text end if xml_element.elements['password'] != nil self.password = xml_element.elements['password'].text end if xml_element.elements['domainName'] != nil self.domain_name = xml_element.elements['domainName'].text end if xml_element.elements['channelGuid'] != nil self.channel_guid = xml_element.elements['channelGuid'].text end if xml_element.elements['apiHostUrl'] != nil self.api_host_url = xml_element.elements['apiHostUrl'].text end if xml_element.elements['domainGuid'] != nil self.domain_guid = xml_element.elements['domainGuid'].text end if xml_element.elements['adFreeApplicationGuid'] != nil self.ad_free_application_guid = xml_element.elements['adFreeApplicationGuid'].text end if xml_element.elements['remoteAssetParamsId'] != nil self.remote_asset_params_id = xml_element.elements['remoteAssetParamsId'].text end if xml_element.elements['storageProfileId'] != nil self.storage_profile_id = xml_element.elements['storageProfileId'].text end end |