lib/ory/model/create_recovery_code_for_identity_body.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.CreateRecoveryCodeForIdentityBody do
  @moduledoc """
  Create Recovery Code for Identity Request Body
  """

  @derive [Poison.Encoder]
  defstruct [
    :expires_in,
    :identity_id
  ]

  @type t :: %__MODULE__{
    :expires_in => String.t | nil,
    :identity_id => String.t
  }
end

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