class Kaltura::KalturaYouTubeDistributionProfile
Attributes
ad_server_partner_id[RW]
allow_adsense_for_video[RW]
allow_comments[RW]
allow_embedding[RW]
allow_invideo[RW]
allow_mid_roll_ads[RW]
allow_post_roll_ads[RW]
allow_pre_roll_ads[RW]
allow_ratings[RW]
allow_responses[RW]
block_outside_ownership[RW]
caption_autosync[RW]
claim_type[RW]
commercial_policy[RW]
default_category[RW]
delete_reference[RW]
domain_whitelist[RW]
enable_ad_server[RW]
enable_content_id[RW]
feed_spec_version[RW]
hide_view_count[RW]
instream_standard[RW]
instream_trueview[RW]
notification_email[RW]
notify_subscribers[RW]
override_manual_edits[RW]
owner_name[RW]
privacy_status[RW]
product_listing_ads[RW]
release_claims[RW]
sftp_base_dir[RW]
sftp_host[RW]
sftp_login[RW]
sftp_port[RW]
sftp_private_key[RW]
sftp_public_key[RW]
strict[RW]
target[RW]
third_party_ads[RW]
ugc_policy[RW]
urgent_reference[RW]
username[RW]
Public Instance Methods
allow_mid_roll_ads=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 197 def allow_mid_roll_ads=(val) @allow_mid_roll_ads = to_b(val) end
allow_post_roll_ads=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 194 def allow_post_roll_ads=(val) @allow_post_roll_ads = to_b(val) end
allow_pre_roll_ads=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 191 def allow_pre_roll_ads=(val) @allow_pre_roll_ads = to_b(val) end
delete_reference=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 200 def delete_reference=(val) @delete_reference = to_b(val) end
enable_ad_server=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 188 def enable_ad_server=(val) @enable_ad_server = to_b(val) end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaConfigurableDistributionProfile#from_xml
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 207 def from_xml(xml_element) super if xml_element.elements['feedSpecVersion'] != nil self.feed_spec_version = xml_element.elements['feedSpecVersion'].text end if xml_element.elements['username'] != nil self.username = xml_element.elements['username'].text end if xml_element.elements['notificationEmail'] != nil self.notification_email = xml_element.elements['notificationEmail'].text end if xml_element.elements['sftpHost'] != nil self.sftp_host = xml_element.elements['sftpHost'].text end if xml_element.elements['sftpPort'] != nil self.sftp_port = xml_element.elements['sftpPort'].text end if xml_element.elements['sftpLogin'] != nil self.sftp_login = xml_element.elements['sftpLogin'].text end if xml_element.elements['sftpPublicKey'] != nil self.sftp_public_key = xml_element.elements['sftpPublicKey'].text end if xml_element.elements['sftpPrivateKey'] != nil self.sftp_private_key = xml_element.elements['sftpPrivateKey'].text end if xml_element.elements['sftpBaseDir'] != nil self.sftp_base_dir = xml_element.elements['sftpBaseDir'].text end if xml_element.elements['ownerName'] != nil self.owner_name = xml_element.elements['ownerName'].text end if xml_element.elements['defaultCategory'] != nil self.default_category = xml_element.elements['defaultCategory'].text end if xml_element.elements['allowComments'] != nil self.allow_comments = xml_element.elements['allowComments'].text end if xml_element.elements['allowEmbedding'] != nil self.allow_embedding = xml_element.elements['allowEmbedding'].text end if xml_element.elements['allowRatings'] != nil self.allow_ratings = xml_element.elements['allowRatings'].text end if xml_element.elements['allowResponses'] != nil self.allow_responses = xml_element.elements['allowResponses'].text end if xml_element.elements['commercialPolicy'] != nil self.commercial_policy = xml_element.elements['commercialPolicy'].text end if xml_element.elements['ugcPolicy'] != nil self.ugc_policy = xml_element.elements['ugcPolicy'].text end if xml_element.elements['target'] != nil self.target = xml_element.elements['target'].text end if xml_element.elements['adServerPartnerId'] != nil self.ad_server_partner_id = xml_element.elements['adServerPartnerId'].text end if xml_element.elements['enableAdServer'] != nil self.enable_ad_server = xml_element.elements['enableAdServer'].text end if xml_element.elements['allowPreRollAds'] != nil self.allow_pre_roll_ads = xml_element.elements['allowPreRollAds'].text end if xml_element.elements['allowPostRollAds'] != nil self.allow_post_roll_ads = xml_element.elements['allowPostRollAds'].text end if xml_element.elements['strict'] != nil self.strict = xml_element.elements['strict'].text end if xml_element.elements['overrideManualEdits'] != nil self.override_manual_edits = xml_element.elements['overrideManualEdits'].text end if xml_element.elements['urgentReference'] != nil self.urgent_reference = xml_element.elements['urgentReference'].text end if xml_element.elements['allowSyndication'] != nil self.allow_syndication = xml_element.elements['allowSyndication'].text end if xml_element.elements['hideViewCount'] != nil self.hide_view_count = xml_element.elements['hideViewCount'].text end if xml_element.elements['allowAdsenseForVideo'] != nil self.allow_adsense_for_video = xml_element.elements['allowAdsenseForVideo'].text end if xml_element.elements['allowInvideo'] != nil self.allow_invideo = xml_element.elements['allowInvideo'].text end if xml_element.elements['allowMidRollAds'] != nil self.allow_mid_roll_ads = xml_element.elements['allowMidRollAds'].text end if xml_element.elements['instreamStandard'] != nil self.instream_standard = xml_element.elements['instreamStandard'].text end if xml_element.elements['instreamTrueview'] != nil self.instream_trueview = xml_element.elements['instreamTrueview'].text end if xml_element.elements['claimType'] != nil self.claim_type = xml_element.elements['claimType'].text end if xml_element.elements['blockOutsideOwnership'] != nil self.block_outside_ownership = xml_element.elements['blockOutsideOwnership'].text end if xml_element.elements['captionAutosync'] != nil self.caption_autosync = xml_element.elements['captionAutosync'].text end if xml_element.elements['deleteReference'] != nil self.delete_reference = xml_element.elements['deleteReference'].text end if xml_element.elements['releaseClaims'] != nil self.release_claims = xml_element.elements['releaseClaims'].text end if xml_element.elements['apiAuthorizeUrl'] != nil self.api_authorize_url = xml_element.elements['apiAuthorizeUrl'].text end if xml_element.elements['privacyStatus'] != nil self.privacy_status = xml_element.elements['privacyStatus'].text end if xml_element.elements['enableContentId'] != nil self.enable_content_id = xml_element.elements['enableContentId'].text end if xml_element.elements['thirdPartyAds'] != nil self.third_party_ads = xml_element.elements['thirdPartyAds'].text end if xml_element.elements['productListingAds'] != nil self.product_listing_ads = xml_element.elements['productListingAds'].text end if xml_element.elements['domainWhitelist'] != nil self.domain_whitelist = xml_element.elements['domainWhitelist'].text end if xml_element.elements['notifySubscribers'] != nil self.notify_subscribers = xml_element.elements['notifySubscribers'].text end end
release_claims=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 203 def release_claims=(val) @release_claims = to_b(val) end
sftp_port=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb, line 185 def sftp_port=(val) @sftp_port = val.to_i end