Current section
Files
Jump to
Current section
Files
lib/voxbone/model/identity_document_proof.ex
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule Voxbone.Model.IdentityDocumentProof do
@moduledoc """
Model for proof of ID document
"""
@derive [Poison.Encoder]
defstruct [
:nationality,
:identityDocumentType,
:identityDocumentNumber,
:issuingAuthority,
:issuingDate
]
@type t :: %__MODULE__{
:nationality => String.t(),
:identityDocumentType => String.t(),
:identityDocumentNumber => String.t(),
:issuingAuthority => String.t(),
:issuingDate => String.t()
}
end
defimpl Poison.Decoder, for: Voxbone.Model.IdentityDocumentProof do
def decode(value, _options) do
value
end
end