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.
1822 1823 1824 |
# File 'lib/kaltura_types.rb', line 1822 def enabled_by_default @enabled_by_default end |
#flashvars ⇒ Object
Returns the value of attribute flashvars.
1820 1821 1822 |
# File 'lib/kaltura_types.rb', line 1820 def flashvars @flashvars end |
#id ⇒ Object
Returns the value of attribute id.
1818 1819 1820 |
# File 'lib/kaltura_types.rb', line 1818 def id @id end |
#label ⇒ Object
Returns the value of attribute label.
1819 1820 1821 |
# File 'lib/kaltura_types.rb', line 1819 def label @label end |
#min_version ⇒ Object
Returns the value of attribute min_version.
1821 1822 1823 |
# File 'lib/kaltura_types.rb', line 1821 def min_version @min_version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 |
# File 'lib/kaltura_types.rb', line 1828 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 |