Class: Kaltura::KalturaWidget

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#add_embed_html5supportObject

Addes the HTML5 script line to the widget’s embed code



6695
6696
6697
# File 'lib/kaltura_types.rb', line 6695

def add_embed_html5support
  @add_embed_html5support
end

#created_atObject

Returns the value of attribute created_at.



6681
6682
6683
# File 'lib/kaltura_types.rb', line 6681

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



6689
6690
6691
# File 'lib/kaltura_types.rb', line 6689

def enforce_entitlement
  @enforce_entitlement
end

#entry_idObject

Returns the value of attribute entry_id.



6677
6678
6679
# File 'lib/kaltura_types.rb', line 6677

def entry_id
  @entry_id
end

#idObject

Returns the value of attribute id.



6673
6674
6675
# File 'lib/kaltura_types.rb', line 6673

def id
  @id
end

#partner_dataObject

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_idObject

Returns the value of attribute partner_id.



6676
6677
6678
# File 'lib/kaltura_types.rb', line 6676

def partner_id
  @partner_id
end

#privacy_contextObject

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_idObject

Returns the value of attribute root_widget_id.



6675
6676
6677
# File 'lib/kaltura_types.rb', line 6675

def root_widget_id
  @root_widget_id
end

#security_policyObject

Returns the value of attribute security_policy.



6680
6681
6682
# File 'lib/kaltura_types.rb', line 6680

def security_policy
  @security_policy
end

#security_typeObject

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_idObject

Returns the value of attribute source_widget_id.



6674
6675
6676
# File 'lib/kaltura_types.rb', line 6674

def source_widget_id
  @source_widget_id
end

#ui_conf_idObject

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_atObject

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_mlObject

Returns the value of attribute widget_ht_ml.



6686
6687
6688
# File 'lib/kaltura_types.rb', line 6686

def widget_ht_ml
  @widget_ht_ml
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.source_widget_id = xml_element.elements['sourceWidgetId'].text
  self.root_widget_id = 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.widget_ht_ml = xml_element.elements['widgetHTML'].text
  self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text
  self.privacy_context = xml_element.elements['privacyContext'].text
  self.add_embed_html5support = xml_element.elements['addEmbedHtml5Support'].text
end