Sha256: fb9ea3a4c2b806c2c80d44da6bdda67c3aa4c4c2e05989eabad5a0539ee75e60
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
module OpenActive module Models module Schema class Rating < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:Rating" end # @return [String] define_property :review_aspect, as: "reviewAspect", types: [ "string", ] # @return [String,BigDecimal,nil] define_property :worst_rating, as: "worstRating", types: [ "string", "Number", "null", ] # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] define_property :author, as: "author", types: [ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", "URI", ] # @return [String,BigDecimal,nil] define_property :best_rating, as: "bestRating", types: [ "string", "Number", "null", ] # @return [BigDecimal,String,nil] define_property :rating_value, as: "ratingValue", types: [ "Number", "string", "null", ] # @return [String] define_property :rating_explanation, as: "ratingExplanation", types: [ "string", ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.3.0 | lib/openactive/models/schema/rating.rb |