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.



1887
1888
1889
# File 'lib/kaltura_types.rb', line 1887

def entry_only
  @entry_only
end

#idObject

Returns the value of attribute id.



1885
1886
1887
# File 'lib/kaltura_types.rb', line 1885

def id
  @id
end

#labelObject

Returns the value of attribute label.



1886
1887
1888
# File 'lib/kaltura_types.rb', line 1886

def label
  @label
end

#min_versionObject

Returns the value of attribute min_version.



1888
1889
1890
# File 'lib/kaltura_types.rb', line 1888

def min_version
  @min_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
# File 'lib/kaltura_types.rb', line 1894

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