| Package | com.yahoo.webapis.answers |
| Class | public class Question |
| Property | Defined by | ||
|---|---|---|---|
| answers : Array
The Chosen Answer of the Question.
| Question | ||
| author : User
The User who posted the Question.
| Question | ||
| authorPhotoURL : String
The URL to the author's avatar photo.
| Question | ||
| chosenAnswer : ChosenAnswer
The Chosen Answer of the Question.
| Question | ||
| content : String
The Content of the Question.
| Question | ||
| date : Date
The Date of the Question.
| Question | ||
| hasAnswers : Boolean
The Chosen Answer of the Question.
| Question | ||
| hasChosenAnswer : Boolean
An easy flag boolean to determine if there has been a chosenAnswer yet.
| Question | ||
| id : String
The id of the Question.
| Question | ||
| inCategory : Category
The Category the Question is in.
| Question | ||
| link : String
The url link to the Question.
| Question | ||
| numAnswers : Number
The amount of Answers on the Question.
| Question | ||
| numComments : Number
The amount of Comments on the Question.
| Question | ||
| subject : String
The literal Question.
| Question | ||
| success : Boolean = false | Question | ||
| timestamp : Date
The Timestamp of the Question.
| Question | ||
| type : String
The Type of the Question, either 'Answered', 'Voting', or 'Open'
| Question | ||
| Method | Defined by | ||
|---|---|---|---|
|
Question()
Construct a new Question instance.
| Question | ||
| answers | property |
answers:Array [read-write]The Chosen Answer of the Question.
Implementation public function get answers():Array
public function set answers(value:Array):void
| author | property |
author:User [read-write]The User who posted the Question.
Implementation public function get author():User
public function set author(value:User):void
| authorPhotoURL | property |
authorPhotoURL:String [read-write]The URL to the author's avatar photo.
Implementation public function get authorPhotoURL():String
public function set authorPhotoURL(value:String):void
| chosenAnswer | property |
chosenAnswer:ChosenAnswer [read-write]The Chosen Answer of the Question.
Implementation public function get chosenAnswer():ChosenAnswer
public function set chosenAnswer(value:ChosenAnswer):void
| content | property |
content:String [read-write]The Content of the Question.
Implementation public function get content():String
public function set content(value:String):void
| date | property |
date:Date [read-write]The Date of the Question.
Implementation public function get date():Date
public function set date(value:Date):void
| hasAnswers | property |
hasAnswers:Boolean [read-write]The Chosen Answer of the Question.
Implementation public function get hasAnswers():Boolean
public function set hasAnswers(value:Boolean):void
| hasChosenAnswer | property |
hasChosenAnswer:Boolean [read-write]An easy flag boolean to determine if there has been a chosenAnswer yet.
Implementation public function get hasChosenAnswer():Boolean
public function set hasChosenAnswer(value:Boolean):void
| id | property |
id:String [read-write]The id of the Question.
Implementation public function get id():String
public function set id(value:String):void
| inCategory | property |
inCategory:Category [read-write]The Category the Question is in.
Implementation public function get inCategory():Category
public function set inCategory(value:Category):void
| link | property |
link:String [read-write]The url link to the Question.
Implementation public function get link():String
public function set link(value:String):void
| numAnswers | property |
numAnswers:Number [read-write]The amount of Answers on the Question.
Implementation public function get numAnswers():Number
public function set numAnswers(value:Number):void
| numComments | property |
numComments:Number [read-write]The amount of Comments on the Question.
Implementation public function get numComments():Number
public function set numComments(value:Number):void
| subject | property |
subject:String [read-write]The literal Question.
Implementation public function get subject():String
public function set subject(value:String):void
| success | property |
public var success:Boolean = false
| timestamp | property |
timestamp:Date [read-write]The Timestamp of the Question.
Implementation public function get timestamp():Date
public function set timestamp(value:Date):void
| type | property |
type:String [read-write]The Type of the Question, either 'Answered', 'Voting', or 'Open'
Implementation public function get type():String
public function set type(value:String):void
| Question | () | constructor |
public function Question()Construct a new Question instance.