Packages

OpenAPI API client for Ory Keto, Ory's open source 'Zanzibar - Google's Consistent, Global Authorization System' implementation.

Current section

Files

Jump to
ory_keto lib ory model get_check_response.ex
Raw

lib/ory/model/get_check_response.ex

# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule Ory.Model.GetCheckResponse do
@moduledoc """
The content of the allowed field is mirrored in the HTTP status code.
"""
@derive [Poison.Encoder]
defstruct [
:allowed
]
@type t :: %__MODULE__{
:allowed => boolean()
}
end
defimpl Poison.Decoder, for: Ory.Model.GetCheckResponse do
def decode(value, _options) do
value
end
end