Current section

Files

Jump to
docusign lib docusign model envelope_publish_transaction.ex
Raw

lib/docusign/model/envelope_publish_transaction.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 DocuSign.Model.EnvelopePublishTransaction do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:applyConnectSettings,
:envelopeCount,
:envelopeLevelErrorRollups,
:envelopePublishTransactionId,
:errorCount,
:fileLevelErrors,
:noActionRequiredEnvelopeCount,
:processedEnvelopeCount,
:processingStatus,
:resultsUri,
:submissionDate,
:submittedByUserInfo,
:submittedForPublishingEnvelopeCount
]
@type t :: %__MODULE__{
:applyConnectSettings => String.t(),
:envelopeCount => String.t(),
:envelopeLevelErrorRollups => [EnvelopePublishTransactionErrorRollup],
:envelopePublishTransactionId => String.t(),
:errorCount => String.t(),
:fileLevelErrors => [String.t()],
:noActionRequiredEnvelopeCount => String.t(),
:processedEnvelopeCount => String.t(),
:processingStatus => String.t(),
:resultsUri => String.t(),
:submissionDate => String.t(),
:submittedByUserInfo => UserInfo,
:submittedForPublishingEnvelopeCount => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.EnvelopePublishTransaction do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(
:envelopeLevelErrorRollups,
:list,
DocuSign.Model.EnvelopePublishTransactionErrorRollup,
options
)
|> deserialize(:submittedByUserInfo, :struct, DocuSign.Model.UserInfo, options)
end
end