Class AnswerType
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AnswerType
-
public class AnswerType extends java.lang.ObjectAnswerTypeType of the answer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnswerType.Builder
-
Constructor Summary
Constructors Constructor Description AnswerType()AnswerType(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends AnswerSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnswerType.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<AnswerSourceValue>sourceValue()The source value of the answer type.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<AnswerValue>value()The type of the answer.AnswerTypewithSourceValue(AnswerSourceValue sourceValue)The source value of the answer type.AnswerTypewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerSourceValue> sourceValue)The source value of the answer type.AnswerTypewithValue(AnswerValue value)The type of the answer.AnswerTypewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerValue> value)The type of the answer.
-
-
-
Constructor Detail
-
AnswerType
public AnswerType(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends AnswerSourceValue> sourceValue)
-
AnswerType
public AnswerType()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<AnswerValue> value()
The type of the answer.
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<AnswerSourceValue> sourceValue()
The source value of the answer type.
-
builder
public static final AnswerType.Builder builder()
-
withValue
public AnswerType withValue(AnswerValue value)
The type of the answer.
-
withValue
public AnswerType withValue(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerValue> value)
The type of the answer.
-
withSourceValue
public AnswerType withSourceValue(AnswerSourceValue sourceValue)
The source value of the answer type.
-
withSourceValue
public AnswerType withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends AnswerSourceValue> sourceValue)
The source value of the answer type.
-
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
-
-