Sha256: a2113704ce1ba7d77c856cc328dbed0c8ef12dd1f4377a43f82a14c2f6727088

Contents?: true

Size: 749 Bytes

Versions: 2

Compression:

Stored size: 749 Bytes

Contents

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

        # @return [int,nil]
        define_property :review_count, as: "reviewCount", types: [
          "int",
          "null",
        ]

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

        # @return [int,nil]
        define_property :rating_count, as: "ratingCount", types: [
          "int",
          "null",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/aggregate_rating.rb
openactive-0.4.0 lib/openactive/models/schema/aggregate_rating.rb