Class: Kaltura::KalturaSearchResult
- Inherits:
-
KalturaSearch
- Object
- KalturaObjectBase
- KalturaSearch
- Kaltura::KalturaSearchResult
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#credit ⇒ Object
Returns the value of attribute credit.
-
#description ⇒ Object
Returns the value of attribute description.
-
#file_ext ⇒ Object
Returns the value of attribute file_ext.
-
#flash_playback_type ⇒ Object
Returns the value of attribute flash_playback_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#license_type ⇒ Object
Returns the value of attribute license_type.
-
#source_link ⇒ Object
Returns the value of attribute source_link.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from KalturaSearch
#auth_data, #extra_data, #key_words, #media_type, #search_source
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#credit ⇒ Object
Returns the value of attribute credit.
9304 9305 9306 |
# File 'lib/kaltura_types.rb', line 9304 def credit @credit end |
#description ⇒ Object
Returns the value of attribute description.
9300 9301 9302 |
# File 'lib/kaltura_types.rb', line 9300 def description @description end |
#file_ext ⇒ Object
Returns the value of attribute file_ext.
9307 9308 9309 |
# File 'lib/kaltura_types.rb', line 9307 def file_ext @file_ext end |
#flash_playback_type ⇒ Object
Returns the value of attribute flash_playback_type.
9306 9307 9308 |
# File 'lib/kaltura_types.rb', line 9306 def flash_playback_type @flash_playback_type end |
#id ⇒ Object
Returns the value of attribute id.
9297 9298 9299 |
# File 'lib/kaltura_types.rb', line 9297 def id @id end |
#license_type ⇒ Object
Returns the value of attribute license_type.
9305 9306 9307 |
# File 'lib/kaltura_types.rb', line 9305 def license_type @license_type end |
#source_link ⇒ Object
Returns the value of attribute source_link.
9303 9304 9305 |
# File 'lib/kaltura_types.rb', line 9303 def source_link @source_link end |
#tags ⇒ Object
Returns the value of attribute tags.
9301 9302 9303 |
# File 'lib/kaltura_types.rb', line 9301 def end |
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
9299 9300 9301 |
# File 'lib/kaltura_types.rb', line 9299 def thumb_url @thumb_url end |
#title ⇒ Object
Returns the value of attribute title.
9298 9299 9300 |
# File 'lib/kaltura_types.rb', line 9298 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
9302 9303 9304 |
# File 'lib/kaltura_types.rb', line 9302 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 |
# File 'lib/kaltura_types.rb', line 9313 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['title'] != nil self.title = xml_element.elements['title'].text end if xml_element.elements['thumbUrl'] != nil self.thumb_url = xml_element.elements['thumbUrl'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['tags'] != nil self. = xml_element.elements['tags'].text end if xml_element.elements['url'] != nil self.url = xml_element.elements['url'].text end if xml_element.elements['sourceLink'] != nil self.source_link = xml_element.elements['sourceLink'].text end if xml_element.elements['credit'] != nil self.credit = xml_element.elements['credit'].text end if xml_element.elements['licenseType'] != nil self.license_type = xml_element.elements['licenseType'].text end if xml_element.elements['flashPlaybackType'] != nil self.flash_playback_type = xml_element.elements['flashPlaybackType'].text end if xml_element.elements['fileExt'] != nil self.file_ext = xml_element.elements['fileExt'].text end end |