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.
-
#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
9834 9835 9836 |
# File 'lib/kaltura_types.rb', line 9834 def end |
#created_at ⇒ Object
Returns the value of attribute created_at.
9824 9825 9826 |
# File 'lib/kaltura_types.rb', line 9824 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
9830 9831 9832 |
# File 'lib/kaltura_types.rb', line 9830 def enforce_entitlement @enforce_entitlement end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
9820 9821 9822 |
# File 'lib/kaltura_types.rb', line 9820 def entry_id @entry_id end |
#id ⇒ Object
Returns the value of attribute id.
9816 9817 9818 |
# File 'lib/kaltura_types.rb', line 9816 def id @id end |
#partner_data ⇒ Object
Can be used to store various partner related data as a string
9827 9828 9829 |
# File 'lib/kaltura_types.rb', line 9827 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9819 9820 9821 |
# File 'lib/kaltura_types.rb', line 9819 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.
9832 9833 9834 |
# File 'lib/kaltura_types.rb', line 9832 def privacy_context @privacy_context end |
#roles ⇒ Object
Returns the value of attribute roles.
9835 9836 9837 |
# File 'lib/kaltura_types.rb', line 9835 def roles @roles end |
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
9818 9819 9820 |
# File 'lib/kaltura_types.rb', line 9818 def end |
#security_policy ⇒ Object
Returns the value of attribute security_policy.
9823 9824 9825 |
# File 'lib/kaltura_types.rb', line 9823 def security_policy @security_policy end |
#security_type ⇒ Object
Returns the value of attribute security_type.
9822 9823 9824 |
# File 'lib/kaltura_types.rb', line 9822 def security_type @security_type end |
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
9817 9818 9819 |
# File 'lib/kaltura_types.rb', line 9817 def end |
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
9821 9822 9823 |
# File 'lib/kaltura_types.rb', line 9821 def ui_conf_id @ui_conf_id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9825 9826 9827 |
# File 'lib/kaltura_types.rb', line 9825 def updated_at @updated_at end |
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
9828 9829 9830 |
# File 'lib/kaltura_types.rb', line 9828 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'lib/kaltura_types.rb', line 9862 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 end |