Class Question
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Question
-
public class Question extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestion.Builder
-
Constructor Summary
Constructors Constructor Description Question()Question(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionType> type, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> text, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionRequired> required, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers, org.openapitools.jackson.nullable.JsonNullable<? extends ParentQuestion> parentQuestion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Question.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.util.List<QuestionMultipleChoiceAnswers>>multipleChoiceAnswers()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()org.openapitools.jackson.nullable.JsonNullable<ParentQuestion>parentQuestion()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<QuestionRequired>required()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>text()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<QuestionType>type()QuestionwithId(java.lang.String id)Unique identifierQuestionwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierQuestionwithMultipleChoiceAnswers(java.util.List<QuestionMultipleChoiceAnswers> multipleChoiceAnswers)QuestionwithMultipleChoiceAnswers(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers)QuestionwithName(java.lang.String name)QuestionwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)QuestionwithParentQuestion(ParentQuestion parentQuestion)QuestionwithParentQuestion(org.openapitools.jackson.nullable.JsonNullable<? extends ParentQuestion> parentQuestion)QuestionwithRemoteId(java.lang.String remoteId)Provider's unique identifierQuestionwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierQuestionwithRequired(QuestionRequired required)QuestionwithRequired(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionRequired> required)QuestionwithText(java.lang.String text)QuestionwithText(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> text)QuestionwithType(QuestionType type)QuestionwithType(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionType> type)
-
-
-
Constructor Detail
-
Question
public Question(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionType> type, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> text, org.openapitools.jackson.nullable.JsonNullable<? extends QuestionRequired> required, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers, org.openapitools.jackson.nullable.JsonNullable<? extends ParentQuestion> parentQuestion)
-
Question
public Question()
-
-
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
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
-
type
public org.openapitools.jackson.nullable.JsonNullable<QuestionType> type()
-
text
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> text()
-
required
public org.openapitools.jackson.nullable.JsonNullable<QuestionRequired> required()
-
multipleChoiceAnswers
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers()
-
parentQuestion
public org.openapitools.jackson.nullable.JsonNullable<ParentQuestion> parentQuestion()
-
builder
public static Question.Builder builder()
-
withId
public Question withId(java.lang.String id)
Unique identifier
-
withId
public Question withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Question withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Question withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withName
public Question withName(java.lang.String name)
-
withName
public Question withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
-
withType
public Question withType(QuestionType type)
-
withType
public Question withType(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionType> type)
-
withText
public Question withText(java.lang.String text)
-
withText
public Question withText(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> text)
-
withRequired
public Question withRequired(QuestionRequired required)
-
withRequired
public Question withRequired(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionRequired> required)
-
withMultipleChoiceAnswers
public Question withMultipleChoiceAnswers(java.util.List<QuestionMultipleChoiceAnswers> multipleChoiceAnswers)
-
withMultipleChoiceAnswers
public Question withMultipleChoiceAnswers(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers)
-
withParentQuestion
public Question withParentQuestion(ParentQuestion parentQuestion)
-
withParentQuestion
public Question withParentQuestion(org.openapitools.jackson.nullable.JsonNullable<? extends ParentQuestion> parentQuestion)
-
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
-
-