Class Answer
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Answer
-
public class Answer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnswer.Builder
-
Constructor Summary
Constructors Constructor Description Answer()Answer(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Answer.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<AnswerType>type()Type of the answerorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>values()Values of the answerAnswerwithId(java.lang.String id)Unique identifierAnswerwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierAnswerwithRemoteId(java.lang.String remoteId)Provider's unique identifierAnswerwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierAnswerwithType(AnswerType type)Type of the answerAnswerwithType(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type)Type of the answerAnswerwithValues(java.util.List<java.lang.String> values)Values of the answerAnswerwithValues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)Values of the answer
-
-
-
Constructor Detail
-
Answer
public Answer(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
-
Answer
public Answer()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
type
public org.openapitools.jackson.nullable.JsonNullable<AnswerType> type()
Type of the answer
-
values
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> values()
Values of the answer
-
builder
public static Answer.Builder builder()
-
withId
public Answer withId(java.lang.String id)
Unique identifier
-
withId
public Answer withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Answer withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Answer withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withType
public Answer withType(AnswerType type)
Type of the answer
-
withType
public Answer withType(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerType> type)
Type of the answer
-
withValues
public Answer withValues(java.util.List<java.lang.String> values)
Values of the answer
-
withValues
public Answer withValues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
Values of the answer
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-