Class: Kaltura::KalturaYouTubeDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb

Instance Attribute Summary collapse

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, #update_enabled, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#ad_server_partner_idObject

Returns the value of attribute ad_server_partner_id.



158
159
160
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 158

def ad_server_partner_id
  @ad_server_partner_id
end

#allow_adsense_for_videoObject

Returns the value of attribute allow_adsense_for_video.



167
168
169
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 167

def allow_adsense_for_video
  @allow_adsense_for_video
end

#allow_commentsObject

Returns the value of attribute allow_comments.



151
152
153
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 151

def allow_comments
  @allow_comments
end

#allow_embeddingObject

Returns the value of attribute allow_embedding.



152
153
154
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 152

def allow_embedding
  @allow_embedding
end

#allow_invideoObject

Returns the value of attribute allow_invideo.



168
169
170
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 168

def allow_invideo
  @allow_invideo
end

#allow_mid_roll_adsObject

Returns the value of attribute allow_mid_roll_ads.



169
170
171
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 169

def allow_mid_roll_ads
  @allow_mid_roll_ads
end

#allow_post_roll_adsObject

Returns the value of attribute allow_post_roll_ads.



161
162
163
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 161

def allow_post_roll_ads
  @allow_post_roll_ads
end

#allow_pre_roll_adsObject

Returns the value of attribute allow_pre_roll_ads.



160
161
162
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 160

def allow_pre_roll_ads
  @allow_pre_roll_ads
end

#allow_ratingsObject

Returns the value of attribute allow_ratings.



153
154
155
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 153

def allow_ratings
  @allow_ratings
end

#allow_responsesObject

Returns the value of attribute allow_responses.



154
155
156
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 154

def allow_responses
  @allow_responses
end

#allow_syndicationObject

Returns the value of attribute allow_syndication.



165
166
167
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 165

def allow_syndication
  @allow_syndication
end

#api_authorize_urlObject

Returns the value of attribute api_authorize_url.



177
178
179
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 177

def api_authorize_url
  @api_authorize_url
end

#block_outside_ownershipObject

Returns the value of attribute block_outside_ownership.



173
174
175
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 173

def block_outside_ownership
  @block_outside_ownership
end

#caption_autosyncObject

Returns the value of attribute caption_autosync.



174
175
176
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 174

def caption_autosync
  @caption_autosync
end

#claim_typeObject

Returns the value of attribute claim_type.



172
173
174
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 172

def claim_type
  @claim_type
end

#commercial_policyObject

Returns the value of attribute commercial_policy.



155
156
157
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 155

def commercial_policy
  @commercial_policy
end

#default_categoryObject

Returns the value of attribute default_category.



150
151
152
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 150

def default_category
  @default_category
end

#delete_referenceObject

Returns the value of attribute delete_reference.



175
176
177
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 175

def delete_reference
  @delete_reference
end

#domain_whitelistObject

Returns the value of attribute domain_whitelist.



182
183
184
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 182

def domain_whitelist
  @domain_whitelist
end

#enable_ad_serverObject

Returns the value of attribute enable_ad_server.



159
160
161
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 159

def enable_ad_server
  @enable_ad_server
end

#enable_content_idObject

Returns the value of attribute enable_content_id.



179
180
181
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 179

def enable_content_id
  @enable_content_id
end

#feed_spec_versionObject

Returns the value of attribute feed_spec_version.



140
141
142
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 140

def feed_spec_version
  @feed_spec_version
end

#hide_view_countObject

Returns the value of attribute hide_view_count.



166
167
168
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 166

def hide_view_count
  @hide_view_count
end

#instream_standardObject

Returns the value of attribute instream_standard.



170
171
172
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 170

def instream_standard
  @instream_standard
end

#instream_trueviewObject

Returns the value of attribute instream_trueview.



171
172
173
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 171

def instream_trueview
  @instream_trueview
end

#notification_emailObject

Returns the value of attribute notification_email.



142
143
144
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 142

def notification_email
  @notification_email
end

#notify_subscribersObject

Returns the value of attribute notify_subscribers.



183
184
185
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 183

def notify_subscribers
  @notify_subscribers
end

#override_manual_editsObject

Returns the value of attribute override_manual_edits.



163
164
165
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 163

def override_manual_edits
  @override_manual_edits
end

#owner_nameObject

Returns the value of attribute owner_name.



149
150
151
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 149

def owner_name
  @owner_name
end

#privacy_statusObject

Returns the value of attribute privacy_status.



178
179
180
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 178

def privacy_status
  @privacy_status
end

#product_listing_adsObject

Returns the value of attribute product_listing_ads.



181
182
183
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 181

def product_listing_ads
  @product_listing_ads
end

#release_claimsObject

Returns the value of attribute release_claims.



176
177
178
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 176

def release_claims
  @release_claims
end

#sftp_base_dirObject

Returns the value of attribute sftp_base_dir.



148
149
150
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 148

def sftp_base_dir
  @sftp_base_dir
end

#sftp_hostObject

Returns the value of attribute sftp_host.



143
144
145
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 143

def sftp_host
  @sftp_host
end

#sftp_loginObject

Returns the value of attribute sftp_login.



145
146
147
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 145

def 
  @sftp_login
end

#sftp_portObject

Returns the value of attribute sftp_port.



144
145
146
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 144

def sftp_port
  @sftp_port
end

#sftp_private_keyObject

Returns the value of attribute sftp_private_key.



147
148
149
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 147

def sftp_private_key
  @sftp_private_key
end

#sftp_public_keyObject

Returns the value of attribute sftp_public_key.



146
147
148
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 146

def sftp_public_key
  @sftp_public_key
end

#strictObject

Returns the value of attribute strict.



162
163
164
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 162

def strict
  @strict
end

#targetObject

Returns the value of attribute target.



157
158
159
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 157

def target
  @target
end

#third_party_adsObject

Returns the value of attribute third_party_ads.



180
181
182
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 180

def third_party_ads
  @third_party_ads
end

#ugc_policyObject

Returns the value of attribute ugc_policy.



156
157
158
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 156

def ugc_policy
  @ugc_policy
end

#urgent_referenceObject

Returns the value of attribute urgent_reference.



164
165
166
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 164

def urgent_reference
  @urgent_reference
end

#usernameObject

Returns the value of attribute username.



141
142
143
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 141

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
# 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. = 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