Current section
Files
Jump to
Current section
Files
lib/docusign/model/notary.ex
# NOTE: This file is auto generated by OpenAPI Generator 6.4.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.Notary do
@moduledoc """
Use DocuSign eNotary to notarize documents digitally. Check the [DocuSign eNotary support documentation](https://support.docusign.com/en/guides/ndse-user-guide-enotary-resources) to see which jurisdictions are supported.
"""
@derive [Poison.Encoder]
defstruct [
:createdDate,
:enabled,
:searchable,
:userInfo
]
@type t :: %__MODULE__{
:createdDate => String.t() | nil,
:enabled => String.t() | nil,
:searchable => String.t() | nil,
:userInfo => DocuSign.Model.UserInformation.t() | nil
}
end
defimpl Poison.Decoder, for: DocuSign.Model.Notary do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:userInfo, :struct, DocuSign.Model.UserInformation, options)
end
end