Class: Kaltura::KalturaSearchResult

Inherits:
KalturaSearch show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#creditObject

Returns the value of attribute credit.



5543
5544
5545
# File 'lib/kaltura_types.rb', line 5543

def credit
  @credit
end

#descriptionObject

Returns the value of attribute description.



5539
5540
5541
# File 'lib/kaltura_types.rb', line 5539

def description
  @description
end

#file_extObject

Returns the value of attribute file_ext.



5546
5547
5548
# File 'lib/kaltura_types.rb', line 5546

def file_ext
  @file_ext
end

#flash_playback_typeObject

Returns the value of attribute flash_playback_type.



5545
5546
5547
# File 'lib/kaltura_types.rb', line 5545

def flash_playback_type
  @flash_playback_type
end

#idObject

Returns the value of attribute id.



5536
5537
5538
# File 'lib/kaltura_types.rb', line 5536

def id
  @id
end

#license_typeObject

Returns the value of attribute license_type.



5544
5545
5546
# File 'lib/kaltura_types.rb', line 5544

def license_type
  @license_type
end

Returns the value of attribute source_link.



5542
5543
5544
# File 'lib/kaltura_types.rb', line 5542

def source_link
  @source_link
end

#tagsObject

Returns the value of attribute tags.



5540
5541
5542
# File 'lib/kaltura_types.rb', line 5540

def tags
  @tags
end

#thumb_urlObject

Returns the value of attribute thumb_url.



5538
5539
5540
# File 'lib/kaltura_types.rb', line 5538

def thumb_url
  @thumb_url
end

#titleObject

Returns the value of attribute title.



5537
5538
5539
# File 'lib/kaltura_types.rb', line 5537

def title
  @title
end

#urlObject

Returns the value of attribute url.



5541
5542
5543
# File 'lib/kaltura_types.rb', line 5541

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
# File 'lib/kaltura_types.rb', line 5552

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.title = xml_element.elements['title'].text
	self.thumb_url = xml_element.elements['thumbUrl'].text
	self.description = xml_element.elements['description'].text
	self.tags = xml_element.elements['tags'].text
	self.url = xml_element.elements['url'].text
	self.source_link = xml_element.elements['sourceLink'].text
	self.credit = xml_element.elements['credit'].text
	self.license_type = xml_element.elements['licenseType'].text
	self.flash_playback_type = xml_element.elements['flashPlaybackType'].text
	self.file_ext = xml_element.elements['fileExt'].text
end