Sha256: 8cd11e259601e83a91b4e3021db6aceb9c082f0265088d02dbd30fb7b93fe6c0

Contents?: true

Size: 1.23 KB

Versions: 4

Compression:

Stored size: 1.23 KB

Contents

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.
    #
    # 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.
    class DataDownload < ::OpenActive::Models::Schema::DataDownload
      # @!attribute type
      # @return [String]
      def type
        "DataDownload"
      end

      # @return [String]
      define_property :name, as: "name", types: [
        "string",
      ]

      # @return [URI]
      define_property :additional_type, as: "additionalType", types: [
        "URI",
      ]

      # @return [URI]
      define_property :content_url, as: "contentUrl", types: [
        "URI",
      ]

      # @return [String]
      define_property :encoding_format, as: "encodingFormat", types: [
        "string",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/data_download.rb
openactive-0.1.1 lib/openactive/models/data_download.rb
openactive-0.1.0 lib/openactive/models/data_download.rb
openactive-0.1.0.rc1 lib/openactive/models/data_download.rb