Sha256: c3e94765911a9dd0df1e56288e1a4046142992f9c686518666a77689fa37044e

Contents?: true

Size: 1.77 KB

Versions: 4

Compression:

Stored size: 1.77 KB

Contents

module OpenActive
  module Models
    module Schema
      class HowToDirection < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:HowToDirection"
        end

        # @return [String,OpenActive::Models::Schema::HowToTool]
        define_property :tool, as: "tool", types: [
          "string",
          "OpenActive::Models::Schema::HowToTool",
        ]

        # @return [OpenActive::Models::Schema::MediaObject,URI]
        define_property :after_media, as: "afterMedia", types: [
          "OpenActive::Models::Schema::MediaObject",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::HowToSupply,String]
        define_property :supply, as: "supply", types: [
          "OpenActive::Models::Schema::HowToSupply",
          "string",
        ]

        # @return [ActiveSupport::Duration,nil]
        define_property :total_time, as: "totalTime", types: [
          "DateInterval",
          "null",
        ]

        # @return [ActiveSupport::Duration,nil]
        define_property :perform_time, as: "performTime", types: [
          "DateInterval",
          "null",
        ]

        # @return [ActiveSupport::Duration,nil]
        define_property :prep_time, as: "prepTime", types: [
          "DateInterval",
          "null",
        ]

        # @return [URI,OpenActive::Models::Schema::MediaObject]
        define_property :before_media, as: "beforeMedia", types: [
          "URI",
          "OpenActive::Models::Schema::MediaObject",
        ]

        # @return [URI,OpenActive::Models::Schema::MediaObject]
        define_property :during_media, as: "duringMedia", types: [
          "URI",
          "OpenActive::Models::Schema::MediaObject",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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