Class: Kaltura::KalturaMetadata

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

#created_atObject

Returns the value of attribute created_at.



91
92
93
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 91

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



84
85
86
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 84

def id
  @id
end

#metadata_object_typeObject

Returns the value of attribute metadata_object_type.



88
89
90
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 88

def 
  @metadata_object_type
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



86
87
88
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 86

def 
  @metadata_profile_id
end

#metadata_profile_versionObject

Returns the value of attribute metadata_profile_version.



87
88
89
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 87

def 
  @metadata_profile_version
end

#object_idObject

Returns the value of attribute object_id.



89
90
91
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 89

def object_id
  @object_id
end

#partner_idObject

Returns the value of attribute partner_id.



85
86
87
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 85

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



93
94
95
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 93

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



92
93
94
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 92

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



90
91
92
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 90

def version
  @version
end

#xmlObject

Returns the value of attribute xml.



94
95
96
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 94

def xml
  @xml
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 121

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['metadataProfileId'] != nil
		self. = xml_element.elements['metadataProfileId'].text
	end
	if xml_element.elements['metadataProfileVersion'] != nil
		self. = xml_element.elements['metadataProfileVersion'].text
	end
	if xml_element.elements['metadataObjectType'] != nil
		self. = xml_element.elements['metadataObjectType'].text
	end
	if xml_element.elements['objectId'] != nil
		self.object_id = xml_element.elements['objectId'].text
	end
	if xml_element.elements['version'] != nil
		self.version = xml_element.elements['version'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['xml'] != nil
		self.xml = xml_element.elements['xml'].text
	end
end