lib/docusign/model/bulk_sending_list.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.BulkSendingList do
  @moduledoc """
  This object contains the details for the bulk send list.
  """

  @derive [Poison.Encoder]
  defstruct [
    :bulkCopies,
    :listId,
    :name
  ]

  @type t :: %__MODULE__{
          :bulkCopies => [DocuSign.Model.BulkSendingCopy.t()] | nil,
          :listId => String.t() | nil,
          :name => String.t() | nil
        }
end

defimpl Poison.Decoder, for: DocuSign.Model.BulkSendingList do
  import DocuSign.Deserializer

  def decode(value, options) do
    value
    |> deserialize(:bulkCopies, :list, DocuSign.Model.BulkSendingCopy, options)
  end
end