Sha256: defce1bfa207edacd0d310b5f01cefd108c83424b3d50c4ea6ae4e2f86cccecd

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

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

        # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
        define_property :creator, as: "creator", types: [
          "OpenActive::Models::Schema::Organization",
          "OpenActive::Models::Schema::Person",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::CreativeWork,URI]
        define_property :discusses, as: "discusses", types: [
          "OpenActive::Models::Schema::CreativeWork",
          "URI",
        ]

        # @return [URI]
        define_property :reply_to_url, as: "replyToUrl", types: [
          "URI",
        ]

        # @return [DateTime,Date,nil]
        define_property :comment_time, as: "commentTime", types: [
          "DateTime",
          "Date",
          "null",
        ]

        # @return [String]
        define_property :comment_text, as: "commentText", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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