# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech). # Do not edit this file manually. defmodule Ory.Model.JsonPatch do @moduledoc """ JSON Patch allows you to target individual keys in a JSON document for updates. For more examples see: https://jsonpatch.com """ @derive [Poison.Encoder] defstruct [ :from, :op, :path, :value ] @type t :: %__MODULE__{ :from => String.t | nil, :op => String.t, :path => String.t, :value => AnyType | nil } end defimpl Poison.Decoder, for: Ory.Model.JsonPatch do import Ory.Deserializer def decode(value, options) do value |> deserialize(:value, :struct, Ory.Model.AnyType, options) end end