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