Class: Kaltura::KalturaSearch
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaSearch
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#auth_data ⇒ Object
Returns the value of attribute auth_data.
-
#extra_data ⇒ Object
Use this field to pass dynamic data for searching For example - if you set this field to “mymovies_$partner_id” The $partner_id will be automatically replcaed with your real partner Id.
-
#key_words ⇒ Object
Returns the value of attribute key_words.
-
#media_type ⇒ Object
Returns the value of attribute media_type.
-
#search_source ⇒ Object
Returns the value of attribute search_source.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#auth_data ⇒ Object
Returns the value of attribute auth_data.
8950 8951 8952 |
# File 'lib/kaltura_types.rb', line 8950 def auth_data @auth_data end |
#extra_data ⇒ Object
Use this field to pass dynamic data for searching For example - if you set this field to “mymovies_$partner_id” The $partner_id will be automatically replcaed with your real partner Id
8949 8950 8951 |
# File 'lib/kaltura_types.rb', line 8949 def extra_data @extra_data end |
#key_words ⇒ Object
Returns the value of attribute key_words.
8943 8944 8945 |
# File 'lib/kaltura_types.rb', line 8943 def key_words @key_words end |
#media_type ⇒ Object
Returns the value of attribute media_type.
8945 8946 8947 |
# File 'lib/kaltura_types.rb', line 8945 def media_type @media_type end |
#search_source ⇒ Object
Returns the value of attribute search_source.
8944 8945 8946 |
# File 'lib/kaltura_types.rb', line 8944 def search_source @search_source end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 |
# File 'lib/kaltura_types.rb', line 8959 def from_xml(xml_element) super if xml_element.elements['keyWords'] != nil self.key_words = xml_element.elements['keyWords'].text end if xml_element.elements['searchSource'] != nil self.search_source = xml_element.elements['searchSource'].text end if xml_element.elements['mediaType'] != nil self.media_type = xml_element.elements['mediaType'].text end if xml_element.elements['extraData'] != nil self.extra_data = xml_element.elements['extraData'].text end if xml_element.elements['authData'] != nil self.auth_data = xml_element.elements['authData'].text end end |