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.
-
#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
6695 6696 6697 |
# File 'lib/kaltura_types.rb', line 6695 def end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6681 6682 6683 |
# File 'lib/kaltura_types.rb', line 6681 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
6689 6690 6691 |
# File 'lib/kaltura_types.rb', line 6689 def enforce_entitlement @enforce_entitlement end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
6677 6678 6679 |
# File 'lib/kaltura_types.rb', line 6677 def entry_id @entry_id end |
#id ⇒ Object
Returns the value of attribute id.
6673 6674 6675 |
# File 'lib/kaltura_types.rb', line 6673 def id @id end |
#partner_data ⇒ Object
Can be used to store various partner related data as a string
6685 6686 6687 |
# File 'lib/kaltura_types.rb', line 6685 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
6676 6677 6678 |
# File 'lib/kaltura_types.rb', line 6676 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.
6692 6693 6694 |
# File 'lib/kaltura_types.rb', line 6692 def privacy_context @privacy_context end |
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
6675 6676 6677 |
# File 'lib/kaltura_types.rb', line 6675 def end |
#security_policy ⇒ Object
Returns the value of attribute security_policy.
6680 6681 6682 |
# File 'lib/kaltura_types.rb', line 6680 def security_policy @security_policy end |
#security_type ⇒ Object
Returns the value of attribute security_type.
6679 6680 6681 |
# File 'lib/kaltura_types.rb', line 6679 def security_type @security_type end |
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
6674 6675 6676 |
# File 'lib/kaltura_types.rb', line 6674 def end |
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
6678 6679 6680 |
# File 'lib/kaltura_types.rb', line 6678 def ui_conf_id @ui_conf_id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
6682 6683 6684 |
# File 'lib/kaltura_types.rb', line 6682 def updated_at @updated_at end |
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
6686 6687 6688 |
# File 'lib/kaltura_types.rb', line 6686 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 |
# File 'lib/kaltura_types.rb', line 6722 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self. = xml_element.elements['sourceWidgetId'].text self. = xml_element.elements['rootWidgetId'].text self.partner_id = xml_element.elements['partnerId'].text self.entry_id = xml_element.elements['entryId'].text self.ui_conf_id = xml_element.elements['uiConfId'].text self.security_type = xml_element.elements['securityType'].text self.security_policy = xml_element.elements['securityPolicy'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.partner_data = xml_element.elements['partnerData'].text self. = xml_element.elements['widgetHTML'].text self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text self.privacy_context = xml_element.elements['privacyContext'].text self. = xml_element.elements['addEmbedHtml5Support'].text end |