Class: Kaltura::KalturaPlayerDeliveryType

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

#enabled_by_defaultObject

Returns the value of attribute enabled_by_default.



1857
1858
1859
# File 'lib/kaltura_types.rb', line 1857

def enabled_by_default
  @enabled_by_default
end

#flashvarsObject

Returns the value of attribute flashvars.



1855
1856
1857
# File 'lib/kaltura_types.rb', line 1855

def flashvars
  @flashvars
end

#idObject

Returns the value of attribute id.



1853
1854
1855
# File 'lib/kaltura_types.rb', line 1853

def id
  @id
end

#labelObject

Returns the value of attribute label.



1854
1855
1856
# File 'lib/kaltura_types.rb', line 1854

def label
  @label
end

#min_versionObject

Returns the value of attribute min_version.



1856
1857
1858
# File 'lib/kaltura_types.rb', line 1856

def min_version
  @min_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
# File 'lib/kaltura_types.rb', line 1863

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