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

defmodule Ory.Model.OidcUserInfo do
  @moduledoc """
  OpenID Connect Userinfo
  """

  @derive Jason.Encoder
  defstruct [
    :birthdate,
    :email,
    :email_verified,
    :family_name,
    :gender,
    :given_name,
    :locale,
    :middle_name,
    :name,
    :nickname,
    :phone_number,
    :phone_number_verified,
    :picture,
    :preferred_username,
    :profile,
    :sub,
    :updated_at,
    :website,
    :zoneinfo
  ]

  @type t :: %__MODULE__{
    :birthdate => String.t | nil,
    :email => String.t | nil,
    :email_verified => boolean() | nil,
    :family_name => String.t | nil,
    :gender => String.t | nil,
    :given_name => String.t | nil,
    :locale => String.t | nil,
    :middle_name => String.t | nil,
    :name => String.t | nil,
    :nickname => String.t | nil,
    :phone_number => String.t | nil,
    :phone_number_verified => boolean() | nil,
    :picture => String.t | nil,
    :preferred_username => String.t | nil,
    :profile => String.t | nil,
    :sub => String.t | nil,
    :updated_at => integer() | nil,
    :website => String.t | nil,
    :zoneinfo => String.t | nil
  }

  def decode(value) do
    value
  end
end

