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.
8693 8694 8695 |
# File 'lib/kaltura_types.rb', line 8693 def credit @credit end |
#description ⇒ Object
Returns the value of attribute description.
8689 8690 8691 |
# File 'lib/kaltura_types.rb', line 8689 def description @description end |
#file_ext ⇒ Object
Returns the value of attribute file_ext.
8696 8697 8698 |
# File 'lib/kaltura_types.rb', line 8696 def file_ext @file_ext end |
#flash_playback_type ⇒ Object
Returns the value of attribute flash_playback_type.
8695 8696 8697 |
# File 'lib/kaltura_types.rb', line 8695 def flash_playback_type @flash_playback_type end |
#id ⇒ Object
Returns the value of attribute id.
8686 8687 8688 |
# File 'lib/kaltura_types.rb', line 8686 def id @id end |
#license_type ⇒ Object
Returns the value of attribute license_type.
8694 8695 8696 |
# File 'lib/kaltura_types.rb', line 8694 def license_type @license_type end |
#source_link ⇒ Object
Returns the value of attribute source_link.
8692 8693 8694 |
# File 'lib/kaltura_types.rb', line 8692 def source_link @source_link end |
#tags ⇒ Object
Returns the value of attribute tags.
8690 8691 8692 |
# File 'lib/kaltura_types.rb', line 8690 def end |
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
8688 8689 8690 |
# File 'lib/kaltura_types.rb', line 8688 def thumb_url @thumb_url end |
#title ⇒ Object
Returns the value of attribute title.
8687 8688 8689 |
# File 'lib/kaltura_types.rb', line 8687 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
8691 8692 8693 |
# File 'lib/kaltura_types.rb', line 8691 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 |
# File 'lib/kaltura_types.rb', line 8702 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 |