Sha256: 539ca631832ff5dbbbb153156834ae46b8d8ffef6d13b6006da0a79c5be81c23

Contents?: true

Size: 664 Bytes

Versions: 6

Compression:

Stored size: 664 Bytes

Contents

module OpenActive
  module Models
    #
    # Error Use Case: The Broker did not supply an API key.
    #
    # 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 NoAPITokenError < ::OpenActive::Models::OpenBookingError
      # @!attribute type
      # @return [String]
      def type
        "NoAPITokenError"
      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/no_apitoken_error.rb
openactive-0.4.0 lib/openactive/models/no_apitoken_error.rb
openactive-0.3.0 lib/openactive/models/no_apitoken_error.rb
openactive-0.2.2 lib/openactive/models/no_apitoken_error.rb
openactive-0.2.1 lib/openactive/models/no_apitoken_error.rb
openactive-0.2.0 lib/openactive/models/no_apitoken_error.rb