Current section

Files

Jump to
docusign lib docusign model recipient_proof_file.ex
Raw

lib/docusign/model/recipient_proof_file.ex

# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.RecipientProofFile do
@moduledoc """
The proof file of the recipient. [ID Evidence](/docs/idevidence-api/) uses proof files to store the identification data that recipients submit when verifying their ID with [ID Verification](/docs/esign-rest-api/esign101/concepts/documents/)
"""
defstruct [
:hasIdentityAttempts,
:isInProofFile
]
@doc false
defimpl Jason.Encoder, for: __MODULE__ do
def encode(struct, opts) do
struct
|> Map.from_struct()
|> Enum.reject(fn {_k, v} -> is_nil(v) end)
|> Map.new()
|> Jason.Encode.map(opts)
end
end
@type t :: %__MODULE__{
:hasIdentityAttempts => String.t() | nil,
:isInProofFile => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end