lib/ory/model/session_device.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.SessionDevice do
  @moduledoc """
  Device corresponding to a Session
  """

  @derive [Poison.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
  }
end

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