Sha256: ab39bff09c9b307ada9a1e2b7e7f23ba62d1f7a11f5107f0803af17cbaf04f08

Contents?: true

Size: 743 Bytes

Versions: 4

Compression:

Stored size: 743 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Comment,URI]
        define_property :parent_item, as: "parentItem", types: [
          "OpenActive::Models::Schema::Comment",
          "URI",
        ]

        # @return [int,nil]
        define_property :downvote_count, as: "downvoteCount", types: [
          "int",
          "null",
        ]

        # @return [int,nil]
        define_property :upvote_count, as: "upvoteCount", types: [
          "int",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/comment.rb
openactive-0.2.2 lib/openactive/models/schema/comment.rb
openactive-0.2.1 lib/openactive/models/schema/comment.rb
openactive-0.2.0 lib/openactive/models/schema/comment.rb