Sha256: 3f6ff99dd325c0229730a77c70b1c43fc2f0aa9d937519903cf2c5183b435b1f

Contents?: true

Size: 743 Bytes

Versions: 2

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 :upvote_count, as: "upvoteCount", types: [
          "int",
          "null",
        ]

        # @return [int,nil]
        define_property :downvote_count, as: "downvoteCount", 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/comment.rb
openactive-0.4.0 lib/openactive/models/schema/comment.rb