Sha256: 6e2ab37c06d4a32e1b8fe7469b6a03fd0cfb797bb198ea2c2e76fd83d66e23cb

Contents?: true

Size: 924 Bytes

Versions: 6

Compression:

Stored size: 924 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Thing, which means that any of this type's properties within schema.org may also be used.
    class OpenBookingError < ::OpenActive::Models::Schema::Thing
      # @!attribute type
      # @return [String]
      def type
        "OpenBookingError"
      end

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

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

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

      # @return [String]
      define_property :request_id, as: "requestId", types: [
        "string",
      ]

      # @return [int,nil]
      define_property :status_code, as: "statusCode", types: [
        "int",
        "null",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/open_booking_error.rb
openactive-0.4.0 lib/openactive/models/open_booking_error.rb
openactive-0.3.0 lib/openactive/models/open_booking_error.rb
openactive-0.2.2 lib/openactive/models/open_booking_error.rb
openactive-0.2.1 lib/openactive/models/open_booking_error.rb
openactive-0.2.0 lib/openactive/models/open_booking_error.rb