Class: Kaltura::KalturaMetadataProfileField

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_metadata_client_plugin.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

#idObject

Returns the value of attribute id.



199
200
201
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 199

def id
  @id
end

#keyObject

Returns the value of attribute key.



201
202
203
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 201

def key
  @key
end

#labelObject

Returns the value of attribute label.



202
203
204
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 202

def label
  @label
end

#x_pathObject

Returns the value of attribute x_path.



200
201
202
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 200

def x_path
  @x_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



208
209
210
211
212
213
214
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 208

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.x_path = xml_element.elements['xPath'].text
	self.key = xml_element.elements['key'].text
	self.label = xml_element.elements['label'].text
end