Sha256: 6a6a513e16745237a4ad36844a1382f8ef188a684a755a258cefef44c0b3fc43

Contents?: true

Size: 747 Bytes

Versions: 4

Compression:

Stored size: 747 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [ImageObject](https://schema.org/ImageObject), 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 ImageObject < ::OpenActive::Models::Schema::ImageObject
      # @!attribute type
      # @return [String]
      def type
        "ImageObject"
      end

      # @return [Array<OpenActive::Models::ImageObject>]
      define_property :thumbnail, as: "thumbnail", types: [
        "OpenActive::Models::ImageObject[]",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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