lib/openactive/models/schema/question.rb in openactive-0.3.0 vs lib/openactive/models/schema/question.rb in openactive-0.4.0

- old
+ new

@@ -6,14 +6,19 @@ # @return [String] def type "schema:Question" end - # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::Answer,URI] + # @return [String] + define_property :edu_question_type, as: "eduQuestionType", types: [ + "string", + ] + + # @return [OpenActive::Models::Schema::Answer,OpenActive::Models::Schema::ItemList,URI] define_property :suggested_answer, as: "suggestedAnswer", types: [ - "OpenActive::Models::Schema::ItemList", "OpenActive::Models::Schema::Answer", + "OpenActive::Models::Schema::ItemList", "URI", ] # @return [OpenActive::Models::Schema::Answer,OpenActive::Models::Schema::ItemList,URI] define_property :accepted_answer, as: "acceptedAnswer", types: [ @@ -24,14 +29,9 @@ # @return [int,nil] define_property :answer_count, as: "answerCount", types: [ "int", "null", - ] - - # @return [String] - define_property :edu_question_type, as: "eduQuestionType", types: [ - "string", ] end end end end