Class: Kaltura::KalturaWidget
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaWidget
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#add_embed_html5support ⇒ Object
Addes the HTML5 script line to the widget’s embed code.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#partner_data ⇒ Object
Can be used to store various partner related data as a string.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#privacy_context ⇒ Object
Set privacy context for search entries that assiged to private and public categories within a category privacy context.
-
#privileges ⇒ Object
Returns the value of attribute privileges.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
-
#security_policy ⇒ Object
Returns the value of attribute security_policy.
-
#security_type ⇒ Object
Returns the value of attribute security_type.
-
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
-
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#add_embed_html5support ⇒ Object
Addes the HTML5 script line to the widget’s embed code
10448 10449 10450 |
# File 'lib/kaltura_types.rb', line 10448 def @add_embed_html5support end |
#created_at ⇒ Object
Returns the value of attribute created_at.
10438 10439 10440 |
# File 'lib/kaltura_types.rb', line 10438 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
10444 10445 10446 |
# File 'lib/kaltura_types.rb', line 10444 def enforce_entitlement @enforce_entitlement end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
10434 10435 10436 |
# File 'lib/kaltura_types.rb', line 10434 def entry_id @entry_id end |
#id ⇒ Object
Returns the value of attribute id.
10430 10431 10432 |
# File 'lib/kaltura_types.rb', line 10430 def id @id end |
#partner_data ⇒ Object
Can be used to store various partner related data as a string
10441 10442 10443 |
# File 'lib/kaltura_types.rb', line 10441 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
10433 10434 10435 |
# File 'lib/kaltura_types.rb', line 10433 def partner_id @partner_id end |
#privacy_context ⇒ Object
Set privacy context for search entries that assiged to private and public categories within a category privacy context.
10446 10447 10448 |
# File 'lib/kaltura_types.rb', line 10446 def privacy_context @privacy_context end |
#privileges ⇒ Object
Returns the value of attribute privileges.
10450 10451 10452 |
# File 'lib/kaltura_types.rb', line 10450 def privileges @privileges end |
#roles ⇒ Object
Returns the value of attribute roles.
10449 10450 10451 |
# File 'lib/kaltura_types.rb', line 10449 def roles @roles end |
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
10432 10433 10434 |
# File 'lib/kaltura_types.rb', line 10432 def @root_widget_id end |
#security_policy ⇒ Object
Returns the value of attribute security_policy.
10437 10438 10439 |
# File 'lib/kaltura_types.rb', line 10437 def security_policy @security_policy end |
#security_type ⇒ Object
Returns the value of attribute security_type.
10436 10437 10438 |
# File 'lib/kaltura_types.rb', line 10436 def security_type @security_type end |
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
10431 10432 10433 |
# File 'lib/kaltura_types.rb', line 10431 def @source_widget_id end |
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
10435 10436 10437 |
# File 'lib/kaltura_types.rb', line 10435 def ui_conf_id @ui_conf_id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
10439 10440 10441 |
# File 'lib/kaltura_types.rb', line 10439 def updated_at @updated_at end |
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
10442 10443 10444 |
# File 'lib/kaltura_types.rb', line 10442 def @widget_ht_ml end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 |
# File 'lib/kaltura_types.rb', line 10477 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. = xml_element.elements['sourceWidgetId'].text end if xml_element.elements['rootWidgetId'] != nil self. = 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. = 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. = 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 |