# 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.DeviceAuthnIosAttestation do @moduledoc """ Defined in https://developer.apple.com/documentation/devicecheck/validating-apps-that-connect-to-your-server#Verify-the-attestation . """ @derive Jason.Encoder defstruct [ :att_stmt, :auth_data, :fmt ] @type t :: %__MODULE__{ :att_stmt => Ory.Model.DeviceAuthnIosAttStmt.t | nil, :auth_data => [integer()] | nil, :fmt => String.t | nil } alias Ory.Deserializer def decode(value) do value |> Deserializer.deserialize(:att_stmt, :struct, Ory.Model.DeviceAuthnIosAttStmt) end end