Sha256: 7146b25ee9063bd0f5d37c2ed7c99416eaebabab6de7858ed7151982d0d78713

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

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

        # @return [int,nil]
        define_property :user_interaction_count, as: "userInteractionCount", types: [
          "int",
          "null",
        ]

        # @return [OpenActive::Models::Schema::SoftwareApplication,OpenActive::Models::Schema::WebSite,URI]
        define_property :interaction_service, as: "interactionService", types: [
          "OpenActive::Models::Schema::SoftwareApplication",
          "OpenActive::Models::Schema::WebSite",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Action,URI]
        define_property :interaction_type, as: "interactionType", types: [
          "OpenActive::Models::Schema::Action",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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