Current section

Files

Jump to
docusign lib docusign model notification_defaults.ex
Raw

lib/docusign/model/notification_defaults.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.NotificationDefaults do
@moduledoc """
The `NotificationDefaults` resource provides methods that enable you to manage the default notifications for envelopes.
"""
alias DocuSign.Deserializer
alias DocuSign.Model.NotificationDefaultSettings
@derive Jason.Encoder
defstruct [
:apiEmailNotifications,
:emailNotifications
]
@type t :: %__MODULE__{
:apiEmailNotifications => NotificationDefaultSettings.t() | nil,
:emailNotifications => NotificationDefaultSettings.t() | nil
}
def decode(value) do
value
|> Deserializer.deserialize(
:apiEmailNotifications,
:struct,
NotificationDefaultSettings
)
|> Deserializer.deserialize(
:emailNotifications,
:struct,
NotificationDefaultSettings
)
end
end