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.



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

def entry_only
  @entry_only
end

#idObject

Returns the value of attribute id.



1850
1851
1852
# File 'lib/kaltura_types.rb', line 1850

def id
  @id
end

#labelObject

Returns the value of attribute label.



1851
1852
1853
# File 'lib/kaltura_types.rb', line 1851

def label
  @label
end

#min_versionObject

Returns the value of attribute min_version.



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

def min_version
  @min_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
# File 'lib/kaltura_types.rb', line 1859

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