lib/docusign/model/expirations.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.Expirations do
  @moduledoc """
  A complex element that specifies the expiration settings for the envelope. When an envelope expires, it is voided and no longer available for signing. **Note:** there is a short delay between when the envelope expires and when it is voided.
  """

  @derive [Poison.Encoder]
  defstruct [
    :expireAfter,
    :expireEnabled,
    :expireWarn
  ]

  @type t :: %__MODULE__{
          :expireAfter => String.t() | nil,
          :expireEnabled => String.t() | nil,
          :expireWarn => String.t() | nil
        }
end

defimpl Poison.Decoder, for: DocuSign.Model.Expirations do
  def decode(value, _options) do
    value
  end
end