Current section
Files
Jump to
Current section
Files
lib/docusign/model/envelope_attachments.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.EnvelopeAttachments do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:accessControl,
:attachmentId,
:attachmentType,
:errorDetails,
:label,
:name
]
@type t :: %__MODULE__{
:accessControl => String.t(),
:attachmentId => String.t(),
:attachmentType => String.t(),
:errorDetails => ErrorDetails,
:label => String.t(),
:name => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.EnvelopeAttachments do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:errorDetails, :struct, DocuSign.Model.ErrorDetails, options)
end
end