# 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.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 [ :"op", :"path", :"value" ] @type t :: %__MODULE__{ :"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