Sha256: da4ee8658644e1c3b66e9dd0e9810358f0c4240edcbf43c37adf87e6d823300a

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

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

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/user_comments.rb
openactive-0.1.1 lib/openactive/models/schema/user_comments.rb
openactive-0.1.0 lib/openactive/models/schema/user_comments.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/user_comments.rb