Packagecom.yahoo.webapis.answers
Classpublic class Answer

Answer is a ValueObject for the Answers API.



Public Properties
 PropertyDefined by
  author : User
The User object of the author of the Answer.
Answer
  best : String
The Rating 'Best' for the Answer.
Answer
  content : String
The content of the Answer.
Answer
  date : Date
The Awarded Date of the Answer.
Answer
  isChosenAnswer : Boolean
If the Answer has been picked as the 'chosen answer' for the Question's author.
Answer
  reference : String
An optional reference link.
Answer
  timestamp : Number
The Posted timestamp of the Answer.
Answer
Public Methods
 MethodDefined by
  
Construct a new Question instance.
Answer
Property detail
authorproperty
author:User  [read-write]

The User object of the author of the Answer.

Implementation
    public function get author():User
    public function set author(value:User):void
bestproperty 
best:String  [read-write]

The Rating 'Best' for the Answer.

Implementation
    public function get best():String
    public function set best(value:String):void
contentproperty 
content:String  [read-write]

The content of the Answer.

Implementation
    public function get content():String
    public function set content(value:String):void
dateproperty 
date:Date  [read-write]

The Awarded Date of the Answer.

Implementation
    public function get date():Date
    public function set date(value:Date):void
isChosenAnswerproperty 
isChosenAnswer:Boolean  [read-write]

If the Answer has been picked as the 'chosen answer' for the Question's author.

Implementation
    public function get isChosenAnswer():Boolean
    public function set isChosenAnswer(value:Boolean):void
referenceproperty 
reference:String  [read-write]

An optional reference link.

Implementation
    public function get reference():String
    public function set reference(value:String):void
timestampproperty 
timestamp:Number  [read-write]

The Posted timestamp of the Answer.

Implementation
    public function get timestamp():Number
    public function set timestamp(value:Number):void
Constructor detail
Answer()constructor
public function Answer()

Construct a new Question instance.