Sha256: 9f8f02e95a9b5b24c492fd95f165e1234ad408d78d5e5ee953fc11d30606cbd1

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: The Booking System recognises a PATCH request but the request object contains one or many properties that the Broker is not permitted to update to the requested value.
    #
    # 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 PatchNotAllowedOnPropertyError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "PatchNotAllowedOnPropertyError"
      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/patch_not_allowed_on_property_error.rb
openactive-0.4.0 lib/openactive/models/patch_not_allowed_on_property_error.rb
openactive-0.3.0 lib/openactive/models/patch_not_allowed_on_property_error.rb
openactive-0.2.2 lib/openactive/models/patch_not_allowed_on_property_error.rb
openactive-0.2.1 lib/openactive/models/patch_not_allowed_on_property_error.rb
openactive-0.2.0 lib/openactive/models/patch_not_allowed_on_property_error.rb