Sha256: 32d3d9d6eb56046df82858632618974e389650a501520971c064fbc22aa16cac

Contents?: true

Size: 746 Bytes

Versions: 6

Compression:

Stored size: 746 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: B failed for a reason not specified by a defined type of error in the Open Booking API specification.
    #
    # 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 OrderCreationFailedError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "OrderCreationFailedError"
      end

      # @return [String]
      define_property :name, as: "name", 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/order_creation_failed_error.rb
openactive-0.4.0 lib/openactive/models/order_creation_failed_error.rb
openactive-0.3.0 lib/openactive/models/order_creation_failed_error.rb
openactive-0.2.2 lib/openactive/models/order_creation_failed_error.rb
openactive-0.2.1 lib/openactive/models/order_creation_failed_error.rb
openactive-0.2.0 lib/openactive/models/order_creation_failed_error.rb