Sha256: 3261fdc6626829b5ecbb0395c9b2b7cc8ab7b4e94b8752ede9b9d822bac5a090

Contents?: true

Size: 786 Bytes

Versions: 6

Compression:

Stored size: 786 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: The `@id` provided for the `orderedItem` or `acceptedOffer` does not match a recognised URL format within the Booking System.
    #
    # 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 InvalidOpportunityOrOfferIdError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "InvalidOpportunityOrOfferIdError"
      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/invalid_opportunity_or_offer_id_error.rb
openactive-0.4.0 lib/openactive/models/invalid_opportunity_or_offer_id_error.rb
openactive-0.3.0 lib/openactive/models/invalid_opportunity_or_offer_id_error.rb
openactive-0.2.2 lib/openactive/models/invalid_opportunity_or_offer_id_error.rb
openactive-0.2.1 lib/openactive/models/invalid_opportunity_or_offer_id_error.rb
openactive-0.2.0 lib/openactive/models/invalid_opportunity_or_offer_id_error.rb