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
10037 10038 10039 |
# File 'lib/kaltura_types.rb', line 10037 def @add_embed_html5support end |
#created_at ⇒ Object
Returns the value of attribute created_at.
10027 10028 10029 |
# File 'lib/kaltura_types.rb', line 10027 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
10033 10034 10035 |
# File 'lib/kaltura_types.rb', line 10033 def enforce_entitlement @enforce_entitlement end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
10023 10024 10025 |
# File 'lib/kaltura_types.rb', line 10023 def entry_id @entry_id end |
#id ⇒ Object
Returns the value of attribute id.
10019 10020 10021 |
# File 'lib/kaltura_types.rb', line 10019 def id @id end |
#partner_data ⇒ Object
Can be used to store various partner related data as a string
10030 10031 10032 |
# File 'lib/kaltura_types.rb', line 10030 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
10022 10023 10024 |
# File 'lib/kaltura_types.rb', line 10022 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.
10035 10036 10037 |
# File 'lib/kaltura_types.rb', line 10035 def privacy_context @privacy_context end |
#roles ⇒ Object
Returns the value of attribute roles.
10038 10039 10040 |
# File 'lib/kaltura_types.rb', line 10038 def roles @roles end |
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
10021 10022 10023 |
# File 'lib/kaltura_types.rb', line 10021 def @root_widget_id end |
#security_policy ⇒ Object
Returns the value of attribute security_policy.
10026 10027 10028 |
# File 'lib/kaltura_types.rb', line 10026 def security_policy @security_policy end |
#security_type ⇒ Object
Returns the value of attribute security_type.
10025 10026 10027 |
# File 'lib/kaltura_types.rb', line 10025 def security_type @security_type end |
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
10020 10021 10022 |
# File 'lib/kaltura_types.rb', line 10020 def @source_widget_id end |
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
10024 10025 10026 |
# File 'lib/kaltura_types.rb', line 10024 def ui_conf_id @ui_conf_id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
10028 10029 10030 |
# File 'lib/kaltura_types.rb', line 10028 def updated_at @updated_at end |
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
10031 10032 10033 |
# File 'lib/kaltura_types.rb', line 10031 def @widget_ht_ml end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 |
# File 'lib/kaltura_types.rb', line 10065 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 |