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.



1813
1814
1815
# File 'lib/kaltura_types.rb', line 1813

def entry_only
  @entry_only
end

#idObject

Returns the value of attribute id.



1811
1812
1813
# File 'lib/kaltura_types.rb', line 1811

def id
  @id
end

#labelObject

Returns the value of attribute label.



1812
1813
1814
# File 'lib/kaltura_types.rb', line 1812

def label
  @label
end

#min_versionObject

Returns the value of attribute min_version.



1814
1815
1816
# File 'lib/kaltura_types.rb', line 1814

def min_version
  @min_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
# File 'lib/kaltura_types.rb', line 1820

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