Sha256: 92ed55841380fdad5f83aad44355c0b45a730c5fa6bdaec17ca583ed7d9f0691

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

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

        # @return [String]
        define_property :content_type, as: "contentType", types: [
          "string",
        ]

        # @return [String]
        define_property :encoding_type, as: "encodingType", types: [
          "string",
        ]

        # @return [String]
        define_property :http_method, as: "httpMethod", types: [
          "string",
        ]

        # @return [String,URI]
        define_property :action_platform, as: "actionPlatform", types: [
          "string",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::SoftwareApplication]
        define_property :application, as: "application", types: [
          "OpenActive::Models::Schema::SoftwareApplication",
        ]

        # @return [OpenActive::Models::Schema::SoftwareApplication]
        define_property :action_application, as: "actionApplication", types: [
          "OpenActive::Models::Schema::SoftwareApplication",
        ]

        # @return [String]
        define_property :url_template, as: "urlTemplate", 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/entry_point.rb
openactive-0.1.1 lib/openactive/models/schema/entry_point.rb
openactive-0.1.0 lib/openactive/models/schema/entry_point.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/entry_point.rb