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.



8982
8983
8984
# File 'lib/kaltura_types.rb', line 8982

def credit
  @credit
end

#descriptionObject

Returns the value of attribute description.



8978
8979
8980
# File 'lib/kaltura_types.rb', line 8978

def description
  @description
end

#file_extObject

Returns the value of attribute file_ext.



8985
8986
8987
# File 'lib/kaltura_types.rb', line 8985

def file_ext
  @file_ext
end

#flash_playback_typeObject

Returns the value of attribute flash_playback_type.



8984
8985
8986
# File 'lib/kaltura_types.rb', line 8984

def flash_playback_type
  @flash_playback_type
end

#idObject

Returns the value of attribute id.



8975
8976
8977
# File 'lib/kaltura_types.rb', line 8975

def id
  @id
end

#license_typeObject

Returns the value of attribute license_type.



8983
8984
8985
# File 'lib/kaltura_types.rb', line 8983

def license_type
  @license_type
end

Returns the value of attribute source_link.



8981
8982
8983
# File 'lib/kaltura_types.rb', line 8981

def source_link
  @source_link
end

#tagsObject

Returns the value of attribute tags.



8979
8980
8981
# File 'lib/kaltura_types.rb', line 8979

def tags
  @tags
end

#thumb_urlObject

Returns the value of attribute thumb_url.



8977
8978
8979
# File 'lib/kaltura_types.rb', line 8977

def thumb_url
  @thumb_url
end

#titleObject

Returns the value of attribute title.



8976
8977
8978
# File 'lib/kaltura_types.rb', line 8976

def title
  @title
end

#urlObject

Returns the value of attribute url.



8980
8981
8982
# File 'lib/kaltura_types.rb', line 8980

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
# File 'lib/kaltura_types.rb', line 8991

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.tags = 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