lib/docusign/model/address_information_input.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule DocuSign.Model.AddressInformationInput do
  @moduledoc """
  Contains address input information.
  """

  alias DocuSign.Deserializer
  alias DocuSign.Model.AddressInformation

  @derive Jason.Encoder
  defstruct [
    :addressInformation,
    :displayLevelCode,
    :receiveInResponse
  ]

  @type t :: %__MODULE__{
          :addressInformation => AddressInformation.t() | nil,
          :displayLevelCode => String.t() | nil,
          :receiveInResponse => String.t() | nil
        }

  def decode(value) do
    value
    |> Deserializer.deserialize(:addressInformation, :struct, AddressInformation)
  end
end