# 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.NotificationDefaultSettings do
@moduledoc """
Contains details about the default notification settings for the envelope notifications that senders and signers receive.
"""
@derive Jason.Encoder
defstruct [
:senderEmailNotifications,
:signerEmailNotifications
]
@type t :: %__MODULE__{
:senderEmailNotifications => DocuSign.Model.SenderEmailNotifications.t() | nil,
:signerEmailNotifications => DocuSign.Model.SignerEmailNotifications.t() | nil
}
alias DocuSign.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(
:senderEmailNotifications,
:struct,
DocuSign.Model.SenderEmailNotifications
)
|> Deserializer.deserialize(
:signerEmailNotifications,
:struct,
DocuSign.Model.SignerEmailNotifications
)
end
end