Class: Kaltura::KalturaPlayerEmbedCodeType

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

#entry_onlyObject

Returns the value of attribute entry_only.



1826
1827
1828
# File 'lib/kaltura_types.rb', line 1826

def entry_only
  @entry_only
end

#idObject

Returns the value of attribute id.



1824
1825
1826
# File 'lib/kaltura_types.rb', line 1824

def id
  @id
end

#labelObject

Returns the value of attribute label.



1825
1826
1827
# File 'lib/kaltura_types.rb', line 1825

def label
  @label
end

#min_versionObject

Returns the value of attribute min_version.



1827
1828
1829
# File 'lib/kaltura_types.rb', line 1827

def min_version
  @min_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
# File 'lib/kaltura_types.rb', line 1833

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['entryOnly'] != nil
		self.entry_only = xml_element.elements['entryOnly'].text
	end
	if xml_element.elements['minVersion'] != nil
		self.min_version = xml_element.elements['minVersion'].text
	end
end