Packagecom.yahoo.webapis.answers.params
Classpublic class UserParams

Yahoo! Answers API - A Object for Passing Parametors to the Query Search, uses URLLoader through composition.



Public Properties
 PropertyDefined by
  filter : String
filter Type of result set: question: Questions asked by the user.
UserParams
  results : Number
results - Number of questions to be returned.
UserParams
  sort : String
sort - Sorting order of result set: relevance: By relevance.
UserParams
  start : Number
start - Starting question to list, used to display further results.
UserParams
  type : String
type - Question status.
UserParams
  user_id : String
user_id - User ID: unique per user.
UserParams
Public Methods
 MethodDefined by
  
UserParams Constructor
UserParams
  
collect():String
collect Returns a string containing all enumerable variables, in the MIME content encoding application/x-www-form-urlencoded.
UserParams
Property detail
filterproperty
filter:String  [read-write]

filter Type of result set: question: Questions asked by the user. answer: Questions answered by the user. best_answer: Questions where the user's answer was chosen as best answer. Only useful where type=resolved. omit for default "question".

Implementation
    public function get filter():String
    public function set filter(value:String):void
resultsproperty 
results:Number  [read-write]

results - Number of questions to be returned. default 10, max 50

Implementation
    public function get results():Number
    public function set results(value:Number):void
sortproperty 
sort:String  [read-write]

sort - Sorting order of result set: relevance: By relevance. date_desc: By date, newest first. date_asc: By date, oldest first. omit for default "relevance".

Implementation
    public function get sort():String
    public function set sort(value:String):void
startproperty 
start:Number  [read-write]

start - Starting question to list, used to display further results. default 0

Implementation
    public function get start():Number
    public function set start(value:Number):void
typeproperty 
type:String  [read-write]

type - Question status. Set to "all", "resolved", "open", or "undecided". omit for default "all"

Implementation
    public function get type():String
    public function set type(value:String):void
user_idproperty 
user_id:String  [read-write]

user_id - User ID: unique per user.

Implementation
    public function get user_id():String
    public function set user_id(value:String):void
Constructor detail
UserParams()constructor
public function UserParams()

UserParams Constructor

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

collect Returns a string containing all enumerable variables, in the MIME content encoding application/x-www-form-urlencoded.

Returns
String