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

- old
+ new

@@ -6,26 +6,49 @@ # @return [String] def type "schema:InteractionCounter" end + # @return [DateTime,Time,nil] + define_property :start_time, as: "startTime", types: [ + "DateTime", + "Time", + "null", + ] + # @return [int,nil] define_property :user_interaction_count, as: "userInteractionCount", types: [ "int", "null", ] - # @return [OpenActive::Models::Schema::SoftwareApplication,OpenActive::Models::Schema::WebSite,URI] - define_property :interaction_service, as: "interactionService", types: [ - "OpenActive::Models::Schema::SoftwareApplication", - "OpenActive::Models::Schema::WebSite", + # @return [OpenActive::Models::Schema::PostalAddress,String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::VirtualLocation,URI] + define_property :location, as: "location", types: [ + "OpenActive::Models::Schema::PostalAddress", + "string", + "OpenActive::Models::Schema::Place", + "OpenActive::Models::Schema::VirtualLocation", "URI", ] # @return [OpenActive::Models::Schema::Action,URI] define_property :interaction_type, as: "interactionType", types: [ "OpenActive::Models::Schema::Action", "URI", + ] + + # @return [OpenActive::Models::Schema::SoftwareApplication,OpenActive::Models::Schema::WebSite,URI] + define_property :interaction_service, as: "interactionService", types: [ + "OpenActive::Models::Schema::SoftwareApplication", + "OpenActive::Models::Schema::WebSite", + "URI", + ] + + # @return [DateTime,Time,nil] + define_property :end_time, as: "endTime", types: [ + "DateTime", + "Time", + "null", ] end end end end