lib/ory/model/check_permission_result.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.2.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Ory.Model.CheckPermissionResult do
  @moduledoc """
  The content of the allowed field is mirrored in the HTTP status code.
  """

  @derive Jason.Encoder
  defstruct [
    :allowed
  ]

  @type t :: %__MODULE__{
    :allowed => boolean()
  }

  def decode(value) do
    value
  end
end