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

- old
+ new

@@ -1,18 +1,21 @@ module OpenActive module Models # - # ## **EARLY RELEASE NOTICE** - # In order to expedite the OpenActive tooling work, this class has been added to the model for the purposes of testing. - # IT IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://www.openactive.io/dataset-api-discovery/EditorsDraft/) evolves. + # EARLY RELEASE NOTICE: This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. IT IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://openactive.io/dataset-api-discovery/EditorsDraft/) evolves. # - # This type is derived from [DataDownload](https://schema.org/DataDownload), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available. + # This type is derived from https://schema.org/DataDownload, which means that any of this type's properties within schema.org may also be used. class DataDownload < ::OpenActive::Models::Schema::DataDownload # @!attribute type # @return [String] def type "DataDownload" end + + # @return [String] + define_property :identifier, as: "identifier", types: [ + "string", + ] # @return [String] define_property :name, as: "name", types: [ "string", ]