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.



9197
9198
9199
# File 'lib/kaltura_types.rb', line 9197

def credit
  @credit
end

#descriptionObject

Returns the value of attribute description.



9193
9194
9195
# File 'lib/kaltura_types.rb', line 9193

def description
  @description
end

#file_extObject

Returns the value of attribute file_ext.



9200
9201
9202
# File 'lib/kaltura_types.rb', line 9200

def file_ext
  @file_ext
end

#flash_playback_typeObject

Returns the value of attribute flash_playback_type.



9199
9200
9201
# File 'lib/kaltura_types.rb', line 9199

def flash_playback_type
  @flash_playback_type
end

#idObject

Returns the value of attribute id.



9190
9191
9192
# File 'lib/kaltura_types.rb', line 9190

def id
  @id
end

#license_typeObject

Returns the value of attribute license_type.



9198
9199
9200
# File 'lib/kaltura_types.rb', line 9198

def license_type
  @license_type
end

Returns the value of attribute source_link.



9196
9197
9198
# File 'lib/kaltura_types.rb', line 9196

def source_link
  @source_link
end

#tagsObject

Returns the value of attribute tags.



9194
9195
9196
# File 'lib/kaltura_types.rb', line 9194

def tags
  @tags
end

#thumb_urlObject

Returns the value of attribute thumb_url.



9192
9193
9194
# File 'lib/kaltura_types.rb', line 9192

def thumb_url
  @thumb_url
end

#titleObject

Returns the value of attribute title.



9191
9192
9193
# File 'lib/kaltura_types.rb', line 9191

def title
  @title
end

#urlObject

Returns the value of attribute url.



9195
9196
9197
# File 'lib/kaltura_types.rb', line 9195

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
# File 'lib/kaltura_types.rb', line 9206

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