Current section

Files

Jump to
docusign lib docusign model template_documents_result.ex
Raw

lib/docusign/model/template_documents_result.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.TemplateDocumentsResult do
@moduledoc """
The results of this method.
"""
alias DocuSign.Deserializer
alias DocuSign.Model.EnvelopeDocument
@derive Jason.Encoder
defstruct [
:templateDocuments,
:templateId
]
@type t :: %__MODULE__{
:templateDocuments => [EnvelopeDocument.t()] | nil,
:templateId => String.t() | nil
}
def decode(value) do
value
|> Deserializer.deserialize(:templateDocuments, :list, EnvelopeDocument)
end
end