Class Question


  • public class Question
    extends java.lang.Object
    • 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()
      • 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​(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​(org.openapitools.jackson.nullable.JsonNullable<? extends QuestionRequired> required)
      • withMultipleChoiceAnswers

        public Question withMultipleChoiceAnswers​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<QuestionMultipleChoiceAnswers>> multipleChoiceAnswers)
      • withParentQuestion

        public Question withParentQuestion​(org.openapitools.jackson.nullable.JsonNullable<? extends ParentQuestion> parentQuestion)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object