Sha256: c4aba2ef8bf71b39f94e3798bb3772eebb1365a61b0d6cb9435f3f4d896980ad

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

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

        # @return [OpenActive::Models::Schema::Language]
        define_property :language, as: "language", types: [
          "OpenActive::Models::Schema::Language",
        ]

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

        # @return [String,OpenActive::Models::Schema::Language]
        define_property :in_language, as: "inLanguage", types: [
          "string",
          "OpenActive::Models::Schema::Language",
        ]

        # @return [OpenActive::Models::Schema::Thing]
        define_property :about, as: "about", types: [
          "OpenActive::Models::Schema::Thing",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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