Class: Kaltura::KalturaWidget

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#add_embed_html5supportObject

Addes the HTML5 script line to the widget’s embed code



10420
10421
10422
# File 'lib/kaltura_types.rb', line 10420

def add_embed_html5support
  @add_embed_html5support
end

#created_atObject

Returns the value of attribute created_at.



10410
10411
10412
# File 'lib/kaltura_types.rb', line 10410

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



10416
10417
10418
# File 'lib/kaltura_types.rb', line 10416

def enforce_entitlement
  @enforce_entitlement
end

#entry_idObject

Returns the value of attribute entry_id.



10406
10407
10408
# File 'lib/kaltura_types.rb', line 10406

def entry_id
  @entry_id
end

#idObject

Returns the value of attribute id.



10402
10403
10404
# File 'lib/kaltura_types.rb', line 10402

def id
  @id
end

#partner_dataObject

Can be used to store various partner related data as a string



10413
10414
10415
# File 'lib/kaltura_types.rb', line 10413

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



10405
10406
10407
# File 'lib/kaltura_types.rb', line 10405

def partner_id
  @partner_id
end

#privacy_contextObject

Set privacy context for search entries that assiged to private and public categories within a category privacy context.



10418
10419
10420
# File 'lib/kaltura_types.rb', line 10418

def privacy_context
  @privacy_context
end

#privilegesObject

Returns the value of attribute privileges.



10422
10423
10424
# File 'lib/kaltura_types.rb', line 10422

def privileges
  @privileges
end

#rolesObject

Returns the value of attribute roles.



10421
10422
10423
# File 'lib/kaltura_types.rb', line 10421

def roles
  @roles
end

#root_widget_idObject

Returns the value of attribute root_widget_id.



10404
10405
10406
# File 'lib/kaltura_types.rb', line 10404

def root_widget_id
  @root_widget_id
end

#security_policyObject

Returns the value of attribute security_policy.



10409
10410
10411
# File 'lib/kaltura_types.rb', line 10409

def security_policy
  @security_policy
end

#security_typeObject

Returns the value of attribute security_type.



10408
10409
10410
# File 'lib/kaltura_types.rb', line 10408

def security_type
  @security_type
end

#source_widget_idObject

Returns the value of attribute source_widget_id.



10403
10404
10405
# File 'lib/kaltura_types.rb', line 10403

def source_widget_id
  @source_widget_id
end

#ui_conf_idObject

Returns the value of attribute ui_conf_id.



10407
10408
10409
# File 'lib/kaltura_types.rb', line 10407

def ui_conf_id
  @ui_conf_id
end

#updated_atObject

Returns the value of attribute updated_at.



10411
10412
10413
# File 'lib/kaltura_types.rb', line 10411

def updated_at
  @updated_at
end

#widget_ht_mlObject

Returns the value of attribute widget_ht_ml.



10414
10415
10416
# File 'lib/kaltura_types.rb', line 10414

def widget_ht_ml
  @widget_ht_ml
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
# File 'lib/kaltura_types.rb', line 10449

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['sourceWidgetId'] != nil
		self.source_widget_id = xml_element.elements['sourceWidgetId'].text
	end
	if xml_element.elements['rootWidgetId'] != nil
		self.root_widget_id = xml_element.elements['rootWidgetId'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['uiConfId'] != nil
		self.ui_conf_id = xml_element.elements['uiConfId'].text
	end
	if xml_element.elements['securityType'] != nil
		self.security_type = xml_element.elements['securityType'].text
	end
	if xml_element.elements['securityPolicy'] != nil
		self.security_policy = xml_element.elements['securityPolicy'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['partnerData'] != nil
		self.partner_data = xml_element.elements['partnerData'].text
	end
	if xml_element.elements['widgetHTML'] != nil
		self.widget_ht_ml = xml_element.elements['widgetHTML'].text
	end
	if xml_element.elements['enforceEntitlement'] != nil
		self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text
	end
	if xml_element.elements['privacyContext'] != nil
		self.privacy_context = xml_element.elements['privacyContext'].text
	end
	if xml_element.elements['addEmbedHtml5Support'] != nil
		self.add_embed_html5support = xml_element.elements['addEmbedHtml5Support'].text
	end
	if xml_element.elements['roles'] != nil
		self.roles = xml_element.elements['roles'].text
	end
	if xml_element.elements['privileges'] != nil
		self.privileges = xml_element.elements['privileges'].text
	end
end