Sha256: b08a6f81b05635edf8911d8cc884ff298724bffbb5285d442f59abf41cc45b63

Contents?: true

Size: 724 Bytes

Versions: 4

Compression:

Stored size: 724 Bytes

Contents

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

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

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

        # @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.1.2 lib/openactive/models/schema/comment.rb
openactive-0.1.1 lib/openactive/models/schema/comment.rb
openactive-0.1.0 lib/openactive/models/schema/comment.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/comment.rb