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
10239 10240 10241 |
# File 'lib/kaltura_types.rb', line 10239 def end |
#created_at ⇒ Object
Returns the value of attribute created_at.
10229 10230 10231 |
# File 'lib/kaltura_types.rb', line 10229 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
10235 10236 10237 |
# File 'lib/kaltura_types.rb', line 10235 def enforce_entitlement @enforce_entitlement end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
10225 10226 10227 |
# File 'lib/kaltura_types.rb', line 10225 def entry_id @entry_id end |
#id ⇒ Object
Returns the value of attribute id.
10221 10222 10223 |
# File 'lib/kaltura_types.rb', line 10221 def id @id end |
#partner_data ⇒ Object
Can be used to store various partner related data as a string
10232 10233 10234 |
# File 'lib/kaltura_types.rb', line 10232 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
10224 10225 10226 |
# File 'lib/kaltura_types.rb', line 10224 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.
10237 10238 10239 |
# File 'lib/kaltura_types.rb', line 10237 def privacy_context @privacy_context end |
#privileges ⇒ Object
Returns the value of attribute privileges.
10241 10242 10243 |
# File 'lib/kaltura_types.rb', line 10241 def privileges @privileges end |
#roles ⇒ Object
Returns the value of attribute roles.
10240 10241 10242 |
# File 'lib/kaltura_types.rb', line 10240 def roles @roles end |
#root_widget_id ⇒ Object
Returns the value of attribute root_widget_id.
10223 10224 10225 |
# File 'lib/kaltura_types.rb', line 10223 def end |
#security_policy ⇒ Object
Returns the value of attribute security_policy.
10228 10229 10230 |
# File 'lib/kaltura_types.rb', line 10228 def security_policy @security_policy end |
#security_type ⇒ Object
Returns the value of attribute security_type.
10227 10228 10229 |
# File 'lib/kaltura_types.rb', line 10227 def security_type @security_type end |
#source_widget_id ⇒ Object
Returns the value of attribute source_widget_id.
10222 10223 10224 |
# File 'lib/kaltura_types.rb', line 10222 def end |
#ui_conf_id ⇒ Object
Returns the value of attribute ui_conf_id.
10226 10227 10228 |
# File 'lib/kaltura_types.rb', line 10226 def ui_conf_id @ui_conf_id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
10230 10231 10232 |
# File 'lib/kaltura_types.rb', line 10230 def updated_at @updated_at end |
#widget_ht_ml ⇒ Object
Returns the value of attribute widget_ht_ml.
10233 10234 10235 |
# File 'lib/kaltura_types.rb', line 10233 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 |
# File 'lib/kaltura_types.rb', line 10268 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 |