Class Answer.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Answer.Builder
-
- Enclosing class:
- Answer
public static final class Answer.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Answerbuild()Answer.Builderid(java.lang.String id)Unique identifierAnswer.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierAnswer.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierAnswer.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierAnswer.Buildertype(AnswerType type)Type of the answerAnswer.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type)Type of the answerAnswer.Buildervalues(java.util.List<java.lang.String> values)Values of the answerAnswer.Buildervalues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)Values of the answer
-
-
-
Method Detail
-
id
public Answer.Builder id(java.lang.String id)
Unique identifier
-
id
public Answer.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public Answer.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Answer.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
type
public Answer.Builder type(AnswerType type)
Type of the answer
-
type
public Answer.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type)
Type of the answer
-
values
public Answer.Builder values(java.util.List<java.lang.String> values)
Values of the answer
-
values
public Answer.Builder values(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
Values of the answer
-
build
public Answer build()
-
-