Packagecom.yahoo.webapis.search
Classpublic class SearchResult
SubclassesAlbumSearchResult, ArtistSearchResult, MediaSearchResult, NewsSearchResult, WebSearchResult

SearchResult is a Value Object for the Search API.



Public Properties
 PropertyDefined by
  id : String
The ID.
SearchResult
  index : uint
The index of the SearchResult.
SearchResult
  name : String
The name of the SearchResult.
SearchResult
Public Methods
 MethodDefined by
  
Construct a new SearchResult instance.
SearchResult
  
toString():String
The label of the SearchResult.
SearchResult
Property detail
idproperty
id:String  [read-write]

The ID.

Implementation
    public function get id():String
    public function set id(value:String):void
indexproperty 
index:uint  [read-write]

The index of the SearchResult.

Implementation
    public function get index():uint
    public function set index(value:uint):void
nameproperty 
name:String  [read-write]

The name of the SearchResult.

Implementation
    public function get name():String
    public function set name(value:String):void
Constructor detail
SearchResult()constructor
public function SearchResult()

Construct a new SearchResult instance.

Method detail
toString()method
public function toString():String

The label of the SearchResult.

Returns
String