Sha256: 1370053eea96c65d6d0ed172e80ebaba541a45daf30b5656c76c67bfbded55aa

Contents?: true

Size: 728 Bytes

Versions: 4

Compression:

Stored size: 728 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 :rating_count, as: "ratingCount", types: [
          "int",
          "null",
        ]

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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