Packagecom.yahoo.webapis.answers
Classpublic class ChosenAnswer

ChosenAnswer is a ValueObject for the Answers API.



Public Properties
 PropertyDefined by
  author : User
The User of the Answer.
ChosenAnswer
  awardedTimestamp : Number
The Awarded Date of the Answer.
ChosenAnswer
  content : String
The content of the Answer.
ChosenAnswer
  postedTimestamp : Number
The Posted Date of the Answer.
ChosenAnswer
Public Methods
 MethodDefined by
  
Construct a new ChosenAnswer instance.
ChosenAnswer
Property detail
authorproperty
author:User  [read-write]

The User of the Answer.

Implementation
    public function get author():User
    public function set author(value:User):void
awardedTimestampproperty 
awardedTimestamp:Number  [read-write]

The Awarded Date of the Answer.

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

The content of the Answer.

Implementation
    public function get content():String
    public function set content(value:String):void
postedTimestampproperty 
postedTimestamp:Number  [read-write]

The Posted Date of the Answer.

Implementation
    public function get postedTimestamp():Number
    public function set postedTimestamp(value:Number):void
Constructor detail
ChosenAnswer()constructor
public function ChosenAnswer()

Construct a new ChosenAnswer instance. A ChosenAnswer is like a Answers object, but it contains less details and is a reference in addition to a Answer Object when supplied for that Question. A ChosenAnswer is always returned with a Question if it is resolved.