# 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.NormalizedProjectRevisionScimClient do
  @moduledoc """
  SCIMClient represents a SCIM client configuration to be used by an external identity provider.
  """

  @derive Jason.Encoder
  defstruct [
    :authorization_header_secret,
    :client_id,
    :created_at,
    :id,
    :label,
    :mapper_url,
    :organization_id,
    :state,
    :updated_at
  ]

  @type t :: %__MODULE__{
    :authorization_header_secret => String.t,
    :client_id => String.t,
    :created_at => DateTime.t | nil,
    :id => String.t | nil,
    :label => String.t,
    :mapper_url => String.t,
    :organization_id => String.t,
    :state => String.t | nil,
    :updated_at => DateTime.t | nil
  }

  alias Ory.Deserializer

  def decode(value) do
    value
     |> Deserializer.deserialize(:created_at, :datetime, nil)
     |> Deserializer.deserialize(:updated_at, :datetime, nil)
  end
end

