Class: Kaltura::KalturaPlayerDeliveryType
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPlayerDeliveryType
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#enabled_by_default ⇒ Object
Returns the value of attribute enabled_by_default.
-
#flashvars ⇒ Object
Returns the value of attribute flashvars.
-
#id ⇒ Object
Returns the value of attribute id.
-
#label ⇒ Object
Returns the value of attribute label.
-
#min_version ⇒ Object
Returns the value of attribute min_version.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#enabled_by_default ⇒ Object
Returns the value of attribute enabled_by_default.
1796 1797 1798 |
# File 'lib/kaltura_types.rb', line 1796 def enabled_by_default @enabled_by_default end |
#flashvars ⇒ Object
Returns the value of attribute flashvars.
1794 1795 1796 |
# File 'lib/kaltura_types.rb', line 1794 def flashvars @flashvars end |
#id ⇒ Object
Returns the value of attribute id.
1792 1793 1794 |
# File 'lib/kaltura_types.rb', line 1792 def id @id end |
#label ⇒ Object
Returns the value of attribute label.
1793 1794 1795 |
# File 'lib/kaltura_types.rb', line 1793 def label @label end |
#min_version ⇒ Object
Returns the value of attribute min_version.
1795 1796 1797 |
# File 'lib/kaltura_types.rb', line 1795 def min_version @min_version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/kaltura_types.rb', line 1802 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end if xml_element.elements['flashvars'] != nil self.flashvars = KalturaClientBase.object_from_xml(xml_element.elements['flashvars'], 'KalturaKeyValue') end if xml_element.elements['minVersion'] != nil self.min_version = xml_element.elements['minVersion'].text end if xml_element.elements['enabledByDefault'] != nil self.enabled_by_default = xml_element.elements['enabledByDefault'].text end end |