lib/openactive/models/schema/thing.rb in openactive-0.2.2 vs lib/openactive/models/schema/thing.rb in openactive-0.3.0

- old
+ new

@@ -6,15 +6,15 @@ # @return [String] def type "schema:Thing" end - # @return [OpenActive::Models::Schema::PropertyValue,URI,String] + # @return [URI,String,OpenActive::Models::Schema::PropertyValue] define_property :identifier, as: "identifier", types: [ - "OpenActive::Models::Schema::PropertyValue", "URI", "string", + "OpenActive::Models::Schema::PropertyValue", ] # @return [String] define_property :name, as: "name", types: [ "string", @@ -23,57 +23,57 @@ # @return [String] define_property :description, as: "description", types: [ "string", ] - # @return [URI] - define_property :same_as, as: "sameAs", types: [ + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :main_entity_of_page, as: "mainEntityOfPage", types: [ + "OpenActive::Models::Schema::CreativeWork", "URI", ] - # @return [OpenActive::Models::Schema::Event,OpenActive::Models::Schema::CreativeWork,URI] - define_property :subject_of, as: "subjectOf", types: [ - "OpenActive::Models::Schema::Event", - "OpenActive::Models::Schema::CreativeWork", - "URI", + # @return [String] + define_property :alternate_name, as: "alternateName", types: [ + "string", ] # @return [OpenActive::Models::Schema::Action,URI] define_property :potential_action, as: "potentialAction", types: [ "OpenActive::Models::Schema::Action", "URI", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :main_entity_of_page, as: "mainEntityOfPage", types: [ - "OpenActive::Models::Schema::CreativeWork", + # @return [URI,OpenActive::Models::Schema::ImageObject] + define_property :image, as: "image", types: [ "URI", + "OpenActive::Models::Schema::ImageObject", ] # @return [URI] - define_property :additional_type, as: "additionalType", types: [ + define_property :url, as: "url", types: [ "URI", ] - # @return [String] - define_property :alternate_name, as: "alternateName", types: [ - "string", + # @return [OpenActive::Models::Schema::Event,OpenActive::Models::Schema::CreativeWork,URI] + define_property :subject_of, as: "subjectOf", types: [ + "OpenActive::Models::Schema::Event", + "OpenActive::Models::Schema::CreativeWork", + "URI", ] # @return [URI] - define_property :url, as: "url", types: [ + define_property :additional_type, as: "additionalType", types: [ "URI", ] - # @return [OpenActive::Models::Schema::ImageObject,URI] - define_property :image, as: "image", types: [ - "OpenActive::Models::Schema::ImageObject", - "URI", - ] - # @return [String] define_property :disambiguating_description, as: "disambiguatingDescription", types: [ "string", + ] + + # @return [URI] + define_property :same_as, as: "sameAs", types: [ + "URI", ] end end end end