class Kaltura::KalturaUnicornDistributionProfile

Attributes

ad_free_application_guid[RW]

The GUID for the application in which to record metrics and enforce business rules obtained through your Unicorn representative.

api_host_url[RW]

The API host URL that the Upload User should have access to, Used for HTTP content submission.

channel_guid[RW]

The Channel GUID assigned to this Publication Rule. Must be a valid Channel in the Domain that was used in authentication.

domain_guid[RW]

The GUID of the Customer Domain in the Unicorn system obtained by contacting your Unicorn representative.

domain_name[RW]

The name of the Domain that the Upload User should have access to, Used for authentication.

password[RW]

The password used in association with the email to determine if the Upload User is authorized the incoming request.

remote_asset_params_id[RW]

The flavor-params that will be used for the remote asset.

storage_profile_id[RW]

The remote storage that should be used for the remote asset.

username[RW]

The email address associated with the Upload User, used to authorize the incoming request.

Public Instance Methods

from_xml(xml_element) click to toggle source
# 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
remote_asset_params_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb, line 109
def remote_asset_params_id=(val)
        @remote_asset_params_id = val.to_i
end