Packages

Implements the free document signing API provided by pandadoc.com

Current section

Files

Jump to
pandadoc lib panda_doc model basic_document_response.ex
Raw

lib/panda_doc/model/basic_document_response.ex

defmodule PandaDoc.Model.BasicDocumentResponse do
@moduledoc """
Structure with additional information about an API response with basic informations about documents.
"""
@derive [Poison.Encoder]
defstruct [
:id,
:status,
:uuid,
:expires_at
]
@type t :: %__MODULE__{
:id => String.t(),
:status => String.t(),
:uuid => String.t(),
:expires_at => DateTime.t() | nil
}
end
defimpl Poison.Decoder, for: PandaDoc.Model.BasicDocumentResponse do
def decode(value, _options) do
value
end
end