Sha256: 1e0582bff1be1053f6dfaadba4f900fd365075f4d36dcfd53877726d2c281c03

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

module OpenActive
  module Models
    #
    # 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 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",
      ]

      # @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

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/data_download.rb
openactive-0.4.0 lib/openactive/models/data_download.rb
openactive-0.3.0 lib/openactive/models/data_download.rb
openactive-0.2.2 lib/openactive/models/data_download.rb
openactive-0.2.1 lib/openactive/models/data_download.rb
openactive-0.2.0 lib/openactive/models/data_download.rb