Class: Kaltura::KalturaMetadataProfileField
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaMetadataProfileField
- Defined in:
- lib/kaltura_plugins/kaltura_metadata_client_plugin.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key ⇒ Object
Returns the value of attribute key.
-
#label ⇒ Object
Returns the value of attribute label.
-
#x_path ⇒ Object
Returns the value of attribute x_path.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
199 200 201 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 199 def id @id end |
#key ⇒ Object
Returns the value of attribute key.
201 202 203 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 201 def key @key end |
#label ⇒ Object
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_path ⇒ Object
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 |