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.



9334
9335
9336
# File 'lib/kaltura_types.rb', line 9334

def credit
  @credit
end

#descriptionObject

Returns the value of attribute description.



9330
9331
9332
# File 'lib/kaltura_types.rb', line 9330

def description
  @description
end

#file_extObject

Returns the value of attribute file_ext.



9337
9338
9339
# File 'lib/kaltura_types.rb', line 9337

def file_ext
  @file_ext
end

#flash_playback_typeObject

Returns the value of attribute flash_playback_type.



9336
9337
9338
# File 'lib/kaltura_types.rb', line 9336

def flash_playback_type
  @flash_playback_type
end

#idObject

Returns the value of attribute id.



9327
9328
9329
# File 'lib/kaltura_types.rb', line 9327

def id
  @id
end

#license_typeObject

Returns the value of attribute license_type.



9335
9336
9337
# File 'lib/kaltura_types.rb', line 9335

def license_type
  @license_type
end

Returns the value of attribute source_link.



9333
9334
9335
# File 'lib/kaltura_types.rb', line 9333

def source_link
  @source_link
end

#tagsObject

Returns the value of attribute tags.



9331
9332
9333
# File 'lib/kaltura_types.rb', line 9331

def tags
  @tags
end

#thumb_urlObject

Returns the value of attribute thumb_url.



9329
9330
9331
# File 'lib/kaltura_types.rb', line 9329

def thumb_url
  @thumb_url
end

#titleObject

Returns the value of attribute title.



9328
9329
9330
# File 'lib/kaltura_types.rb', line 9328

def title
  @title
end

#urlObject

Returns the value of attribute url.



9332
9333
9334
# File 'lib/kaltura_types.rb', line 9332

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
# File 'lib/kaltura_types.rb', line 9343

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