Sha256: 570a0dd4d64ba324e6335b2d477bf12d161182a5389d6a66710bb6a9576f427d

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

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

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

        # @return [OpenActive::Models::Schema::ImageObject]
        define_property :thumbnail, as: "thumbnail", types: [
          "OpenActive::Models::Schema::ImageObject",
        ]

        # @return [Boolean,nil]
        define_property :representative_of_page, as: "representativeOfPage", types: [
          "bool",
          "null",
        ]

        # @return [String,OpenActive::Models::Schema::PropertyValue]
        define_property :exif_data, as: "exifData", types: [
          "string",
          "OpenActive::Models::Schema::PropertyValue",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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