lib/docusign/model/notary_journal_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.NotaryJournalList do
  @moduledoc """

  """

  @derive [Poison.Encoder]
  defstruct [
    :endPosition,
    :nextUri,
    :notaryJournals,
    :previousUri,
    :resultSetSize,
    :startPosition,
    :totalSetSize
  ]

  @type t :: %__MODULE__{
          :endPosition => String.t() | nil,
          :nextUri => String.t() | nil,
          :notaryJournals => [DocuSign.Model.NotaryJournal.t()] | nil,
          :previousUri => String.t() | nil,
          :resultSetSize => String.t() | nil,
          :startPosition => String.t() | nil,
          :totalSetSize => String.t() | nil
        }
end

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

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