public class AnswerInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AnswerInfo()  | 
AnswerInfo(AnswerInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Long | 
getAnswer()
Get The answer. 
 | 
Long | 
getCostTime()
Get The time used. 
 | 
Long | 
getIsCorrect()
Get Whether the answer is correct. 
 | 
String | 
getName()
Get The username. 
 | 
String | 
getUserId()
Get The user ID. 
 | 
void | 
setAnswer(Long Answer)
Set The answer. 
 | 
void | 
setCostTime(Long CostTime)
Set The time used. 
 | 
void | 
setIsCorrect(Long IsCorrect)
Set Whether the answer is correct. 
 | 
void | 
setName(String Name)
Set The username. 
 | 
void | 
setUserId(String UserId)
Set The user ID. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AnswerInfo()
public AnswerInfo(AnswerInfo source)
public String getName()
public void setName(String Name)
Name - The username.public Long getAnswer()
public void setAnswer(Long Answer)
Answer - The answer. Bits are used to indicate the options chosen. For example, `0x1` indicates that option A is chosen; `0x11` indicates that A and B are chosen, and so on.public Long getCostTime()
public void setCostTime(Long CostTime)
CostTime - The time used.public String getUserId()
public void setUserId(String UserId)
UserId - The user ID.public Long getIsCorrect()
public void setIsCorrect(Long IsCorrect)
IsCorrect - Whether the answer is correct. `1`: Correct; `0`: Incorrect.Copyright © 2025. All rights reserved.