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.



9048
9049
9050
# File 'lib/kaltura_types.rb', line 9048

def credit
  @credit
end

#descriptionObject

Returns the value of attribute description.



9044
9045
9046
# File 'lib/kaltura_types.rb', line 9044

def description
  @description
end

#file_extObject

Returns the value of attribute file_ext.



9051
9052
9053
# File 'lib/kaltura_types.rb', line 9051

def file_ext
  @file_ext
end

#flash_playback_typeObject

Returns the value of attribute flash_playback_type.



9050
9051
9052
# File 'lib/kaltura_types.rb', line 9050

def flash_playback_type
  @flash_playback_type
end

#idObject

Returns the value of attribute id.



9041
9042
9043
# File 'lib/kaltura_types.rb', line 9041

def id
  @id
end

#license_typeObject

Returns the value of attribute license_type.



9049
9050
9051
# File 'lib/kaltura_types.rb', line 9049

def license_type
  @license_type
end

Returns the value of attribute source_link.



9047
9048
9049
# File 'lib/kaltura_types.rb', line 9047

def source_link
  @source_link
end

#tagsObject

Returns the value of attribute tags.



9045
9046
9047
# File 'lib/kaltura_types.rb', line 9045

def tags
  @tags
end

#thumb_urlObject

Returns the value of attribute thumb_url.



9043
9044
9045
# File 'lib/kaltura_types.rb', line 9043

def thumb_url
  @thumb_url
end

#titleObject

Returns the value of attribute title.



9042
9043
9044
# File 'lib/kaltura_types.rb', line 9042

def title
  @title
end

#urlObject

Returns the value of attribute url.



9046
9047
9048
# File 'lib/kaltura_types.rb', line 9046

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
# File 'lib/kaltura_types.rb', line 9057

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