Packages

OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more.

Current section

Files

Jump to
ory_kratos lib ory model json_patch.ex
Raw

lib/ory/model/json_patch.ex

# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.JsonPatch do
@moduledoc """
A JSONPatch document as defined by RFC 6902
"""
@derive [Poison.Encoder]
defstruct [
:from,
:op,
:path,
:value
]
@type t :: %__MODULE__{
:from => String.t | nil,
:op => String.t,
:path => String.t,
:value => any() | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.JsonPatch do
def decode(value, _options) do
value
end
end