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.
9136 9137 9138 |
# File 'lib/kaltura_types.rb', line 9136 def credit @credit end |
#description ⇒ Object
Returns the value of attribute description.
9132 9133 9134 |
# File 'lib/kaltura_types.rb', line 9132 def description @description end |
#file_ext ⇒ Object
Returns the value of attribute file_ext.
9139 9140 9141 |
# File 'lib/kaltura_types.rb', line 9139 def file_ext @file_ext end |
#flash_playback_type ⇒ Object
Returns the value of attribute flash_playback_type.
9138 9139 9140 |
# File 'lib/kaltura_types.rb', line 9138 def flash_playback_type @flash_playback_type end |
#id ⇒ Object
Returns the value of attribute id.
9129 9130 9131 |
# File 'lib/kaltura_types.rb', line 9129 def id @id end |
#license_type ⇒ Object
Returns the value of attribute license_type.
9137 9138 9139 |
# File 'lib/kaltura_types.rb', line 9137 def license_type @license_type end |
#source_link ⇒ Object
Returns the value of attribute source_link.
9135 9136 9137 |
# File 'lib/kaltura_types.rb', line 9135 def source_link @source_link end |
#tags ⇒ Object
Returns the value of attribute tags.
9133 9134 9135 |
# File 'lib/kaltura_types.rb', line 9133 def @tags end |
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
9131 9132 9133 |
# File 'lib/kaltura_types.rb', line 9131 def thumb_url @thumb_url end |
#title ⇒ Object
Returns the value of attribute title.
9130 9131 9132 |
# File 'lib/kaltura_types.rb', line 9130 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
9134 9135 9136 |
# File 'lib/kaltura_types.rb', line 9134 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 |
# File 'lib/kaltura_types.rb', line 9145 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 |