lib/openactive/models/terms.rb in openactive-0.1.2 vs lib/openactive/models/terms.rb in openactive-0.2.0

- old
+ new

@@ -1,16 +1,23 @@ module OpenActive module Models + # This type is derived from https://schema.org/DigitalDocument, which means that any of this type's properties within schema.org may also be used. class Terms < ::OpenActive::Models::Schema::DigitalDocument # @!attribute type # @return [String] def type "Terms" end # @return [String] define_property :name, as: "name", types: [ "string", + ] + + # @return [DateTime,nil] + define_property :date_modified, as: "dateModified", types: [ + "DateTime", + "null", ] # @return [Boolean,nil] define_property :requires_explicit_consent, as: "requiresExplicitConsent", types: [ "bool",