Class QuestionType
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.QuestionType
-
public class QuestionType extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionType.Builder
-
Constructor Summary
Constructors Constructor Description QuestionType()QuestionType(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuestionType.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<QuestionSourceValue>sourceValue()The source value of the questions type.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<QuestionValue>value()The type of the questions.QuestionTypewithSourceValue(QuestionSourceValue sourceValue)The source value of the questions type.QuestionTypewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionSourceValue> sourceValue)The source value of the questions type.QuestionTypewithValue(QuestionValue value)The type of the questions.QuestionTypewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionValue> value)The type of the questions.
-
-
-
Constructor Detail
-
QuestionType
public QuestionType(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionSourceValue> sourceValue)
-
QuestionType
public QuestionType()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<QuestionValue> value()
The type of the questions.
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<QuestionSourceValue> sourceValue()
The source value of the questions type.
-
builder
public static QuestionType.Builder builder()
-
withValue
public QuestionType withValue(QuestionValue value)
The type of the questions.
-
withValue
public QuestionType withValue(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionValue> value)
The type of the questions.
-
withSourceValue
public QuestionType withSourceValue(QuestionSourceValue sourceValue)
The source value of the questions type.
-
withSourceValue
public QuestionType withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionSourceValue> sourceValue)
The source value of the questions 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
-
-