Sha256: 13370087dc413604bd165c33f16da0ac5e8bf830affc3252a569992d3ef5c7f8

Contents?: true

Size: 749 Bytes

Versions: 1

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 [OpenActive::Models::Schema::Thing,URI]
        define_property :item_reviewed, as: "itemReviewed", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/aggregate_rating.rb