Package com.kaltura.client.types
Class OptionalAnswer
- java.lang.Object
-
- com.kaltura.client.types.ObjectBase
-
- com.kaltura.client.types.OptionalAnswer
-
- All Implemented Interfaces:
ResponseType,Serializable
public class OptionalAnswer extends ObjectBase
A representation of an optional answer for question cue point- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOptionalAnswer.Tokenizer
-
Field Summary
-
Fields inherited from class com.kaltura.client.types.ObjectBase
relatedObjects
-
-
Constructor Summary
Constructors Constructor Description OptionalAnswer()OptionalAnswer(com.google.gson.JsonObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetIsCorrect()StringgetKey()StringgetText()DoublegetWeight()voidisCorrect(String multirequestToken)voidkey(String multirequestToken)voidsetIsCorrect(Boolean isCorrect)voidsetKey(String key)voidsetText(String text)voidsetWeight(Double weight)voidtext(String multirequestToken)ParamstoParams()voidweight(String multirequestToken)-
Methods inherited from class com.kaltura.client.types.ObjectBase
getRelatedObjects, setRelatedObjects, setToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kaltura.client.utils.response.ResponseType
toString
-
-
-
-
Constructor Detail
-
OptionalAnswer
public OptionalAnswer()
-
OptionalAnswer
public OptionalAnswer(com.google.gson.JsonObject jsonObject) throws APIException- Throws:
APIException
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
key
public void key(String multirequestToken)
-
getText
public String getText()
-
setText
public void setText(String text)
-
text
public void text(String multirequestToken)
-
getWeight
public Double getWeight()
-
setWeight
public void setWeight(Double weight)
-
weight
public void weight(String multirequestToken)
-
getIsCorrect
public Boolean getIsCorrect()
-
setIsCorrect
public void setIsCorrect(Boolean isCorrect)
-
isCorrect
public void isCorrect(String multirequestToken)
-
toParams
public Params toParams()
- Overrides:
toParamsin classObjectBase
-
-