Class: Kaltura::KalturaMetadataProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaMetadataProfile
- Defined in:
- lib/kaltura_plugins/kaltura_metadata_client_plugin.rb
Instance Attribute Summary collapse
-
#create_mode ⇒ Object
Returns the value of attribute create_mode.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#disable_re_indexing ⇒ Object
Returns the value of attribute disable_re_indexing.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata_object_type ⇒ Object
Returns the value of attribute metadata_object_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
Returns the value of attribute system_name.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#version ⇒ Object
Returns the value of attribute version.
-
#views ⇒ Object
Returns the value of attribute views.
-
#xsd ⇒ Object
Returns the value of attribute xsd.
-
#xslt ⇒ Object
Returns the value of attribute xslt.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#create_mode ⇒ Object
Returns the value of attribute create_mode.
174 175 176 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 174 def create_mode @create_mode end |
#created_at ⇒ Object
Returns the value of attribute created_at.
168 169 170 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 168 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
167 168 169 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 167 def description @description end |
#disable_re_indexing ⇒ Object
Returns the value of attribute disable_re_indexing.
175 176 177 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 175 def disable_re_indexing @disable_re_indexing end |
#id ⇒ Object
Returns the value of attribute id.
161 162 163 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 161 def id @id end |
#metadata_object_type ⇒ Object
Returns the value of attribute metadata_object_type.
163 164 165 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 163 def @metadata_object_type end |
#name ⇒ Object
Returns the value of attribute name.
165 166 167 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 165 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
162 163 164 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 162 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
170 171 172 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 170 def status @status end |
#system_name ⇒ Object
Returns the value of attribute system_name.
166 167 168 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 166 def system_name @system_name end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
169 170 171 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 169 def updated_at @updated_at end |
#version ⇒ Object
Returns the value of attribute version.
164 165 166 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 164 def version @version end |
#views ⇒ Object
Returns the value of attribute views.
172 173 174 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 172 def views @views end |
#xsd ⇒ Object
Returns the value of attribute xsd.
171 172 173 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 171 def xsd @xsd end |
#xslt ⇒ Object
Returns the value of attribute xslt.
173 174 175 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 173 def xslt @xslt end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/kaltura_plugins/kaltura_metadata_client_plugin.rb', line 202 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['metadataObjectType'] != nil self. = xml_element.elements['metadataObjectType'].text end if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].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['xsd'] != nil self.xsd = xml_element.elements['xsd'].text end if xml_element.elements['views'] != nil self.views = xml_element.elements['views'].text end if xml_element.elements['xslt'] != nil self.xslt = xml_element.elements['xslt'].text end if xml_element.elements['createMode'] != nil self.create_mode = xml_element.elements['createMode'].text end if xml_element.elements['disableReIndexing'] != nil self.disable_re_indexing = xml_element.elements['disableReIndexing'].text end end |