Class: Kaltura::KalturaMetadata
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaMetadata
- Defined in:
- lib/kaltura_plugins/kaltura_metadata_client_plugin.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata_object_type ⇒ Object
Returns the value of attribute metadata_object_type.
-
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
-
#metadata_profile_version ⇒ Object
Returns the value of attribute metadata_profile_version.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#version ⇒ Object
Returns the value of attribute version.
-
#xml ⇒ Object
Returns the value of attribute xml.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
88 89 90 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 88 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
81 82 83 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 81 def id @id end |
#metadata_object_type ⇒ Object
Returns the value of attribute metadata_object_type.
85 86 87 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 85 def @metadata_object_type end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
83 84 85 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 83 def @metadata_profile_id end |
#metadata_profile_version ⇒ Object
Returns the value of attribute metadata_profile_version.
84 85 86 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 84 def @metadata_profile_version end |
#object_id ⇒ Object
Returns the value of attribute object_id.
86 87 88 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 86 def object_id @object_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
82 83 84 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 82 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
90 91 92 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 90 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
89 90 91 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 89 def updated_at @updated_at end |
#version ⇒ Object
Returns the value of attribute version.
87 88 89 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 87 def version @version end |
#xml ⇒ Object
Returns the value of attribute xml.
91 92 93 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 91 def xml @xml end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 118 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.partner_id = xml_element.elements['partnerId'].text self. = xml_element.elements['metadataProfileId'].text self. = xml_element.elements['metadataProfileVersion'].text self. = xml_element.elements['metadataObjectType'].text self.object_id = xml_element.elements['objectId'].text self.version = xml_element.elements['version'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.status = xml_element.elements['status'].text self.xml = xml_element.elements['xml'].text end |