# 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.AcceptOAuth2ConsentRequestSession do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:access_token,
:id_token
]
@type t :: %__MODULE__{
:access_token => AnyType | nil,
:id_token => AnyType | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.AcceptOAuth2ConsentRequestSession do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:access_token, :struct, Ory.Model.AnyType, options)
|> deserialize(:id_token, :struct, Ory.Model.AnyType, options)
end
end