lib/ory/model/session_device.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.2.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Ory.Model.SessionDevice do
  @moduledoc """
  Device corresponding to a Session
  """

  @derive Jason.Encoder
  defstruct [
    :id,
    :ip_address,
    :location,
    :user_agent
  ]

  @type t :: %__MODULE__{
    :id => String.t,
    :ip_address => String.t | nil,
    :location => String.t | nil,
    :user_agent => String.t | nil
  }

  def decode(value) do
    value
  end
end