Sha256: a878bafd61356ee331333fbf6077e5d852f208f71fff9eddb9648c6b8c10c2f5

Contents?: true

Size: 867 Bytes

Versions: 4

Compression:

Stored size: 867 Bytes

Contents

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

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

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

        # @return [OpenActive::Models::Schema::Thing]
        define_property :item_reviewed, as: "itemReviewed", types: [
          "OpenActive::Models::Schema::Thing",
        ]

        # @return [OpenActive::Models::Schema::Rating]
        define_property :review_rating, as: "reviewRating", types: [
          "OpenActive::Models::Schema::Rating",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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