lib/ory/model/o_auth2_redirect_to.ex

# 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.OAuth2RedirectTo do
  @moduledoc """
  Contains a redirect URL used to complete a login, consent, or logout request.
  """

  @derive [Poison.Encoder]
  defstruct [
    :redirect_to
  ]

  @type t :: %__MODULE__{
    :redirect_to => String.t
  }
end

defimpl Poison.Decoder, for: Ory.Model.OAuth2RedirectTo do
  def decode(value, _options) do
    value
  end
end