| Package | com.yahoo.webapis.answers.params |
| Class | public class UserParams |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| filter | property |
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
| results | property |
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
| sort | property |
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
| start | property |
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
| type | property |
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_id | property |
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
| UserParams | () | constructor |
public function UserParams()UserParams Constructor
| collect | () | method |
public function collect():Stringcollect Returns a string containing all enumerable variables, in the MIME content encoding application/x-www-form-urlencoded.
ReturnsString |