lib/openactive/models/unacceptable_offer_error.rb in openactive-0.1.2 vs lib/openactive/models/unacceptable_offer_error.rb in openactive-0.2.0

- old
+ new

@@ -1,11 +1,26 @@ module OpenActive module Models + # + # Error Use Case: The `@id` provided for the `acceptedOffer` is not a URL which corresponds to an applicable `Offer` for the Opportunity. + # + # 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 UnacceptableOfferError < ::OpenActive::Models::OpenBookingError # @!attribute type # @return [String] def type "UnacceptableOfferError" 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