Sha256: cde399cdb2a6bd9deac2d9d39293669fb77901524e8ca0b838ae15b16f0b07be

Contents?: true

Size: 759 Bytes

Versions: 6

Compression:

Stored size: 759 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: The `@id` provided for the `orderedItem` is not a URL which corresponds to an Opportunity 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 UnknownOpportunityError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "UnknownOpportunityError"
      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/unknown_opportunity_error.rb
openactive-0.4.0 lib/openactive/models/unknown_opportunity_error.rb
openactive-0.3.0 lib/openactive/models/unknown_opportunity_error.rb
openactive-0.2.2 lib/openactive/models/unknown_opportunity_error.rb
openactive-0.2.1 lib/openactive/models/unknown_opportunity_error.rb
openactive-0.2.0 lib/openactive/models/unknown_opportunity_error.rb