Class: Kaltura::KalturaUiConfTypeInfo

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Overview

Info about uiconf type

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

#directoryObject

The direcotry this type is saved at



10212
10213
10214
# File 'lib/kaltura_types.rb', line 10212

def directory
  @directory
end

#filenameObject

Filename for this UiConf type



10214
10215
10216
# File 'lib/kaltura_types.rb', line 10214

def filename
  @filename
end

#typeObject

UiConf Type



10208
10209
10210
# File 'lib/kaltura_types.rb', line 10208

def type
  @type
end

#versionsObject

Available versions



10210
10211
10212
# File 'lib/kaltura_types.rb', line 10210

def versions
  @versions
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
# File 'lib/kaltura_types.rb', line 10220

def from_xml(xml_element)
	super
	if xml_element.elements['type'] != nil
		self.type = xml_element.elements['type'].text
	end
	if xml_element.elements['versions'] != nil
		self.versions = KalturaClientBase.object_from_xml(xml_element.elements['versions'], 'KalturaString')
	end
	if xml_element.elements['directory'] != nil
		self.directory = xml_element.elements['directory'].text
	end
	if xml_element.elements['filename'] != nil
		self.filename = xml_element.elements['filename'].text
	end
end