# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.IdentityCredentials do @moduledoc """ Credentials represents a specific credential type """ @derive [Poison.Encoder] defstruct [ :"config", :"created_at", :"identifiers", :"type", :"updated_at", :"version" ] @type t :: %__MODULE__{ :"config" => map() | nil, :"created_at" => DateTime.t | nil, :"identifiers" => [String.t] | nil, :"type" => Ory.Model.IdentityCredentialsType.t | nil, :"updated_at" => DateTime.t | nil, :"version" => integer() | nil } end defimpl Poison.Decoder, for: Ory.Model.IdentityCredentials do import Ory.Deserializer def decode(value, options) do value |> deserialize(:"type", :struct, Ory.Model.IdentityCredentialsType, options) end end