Current section
Files
Jump to
Current section
Files
lib/docusign/model/brand_resource_urls.ex
# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.BrandResourceUrls do
@moduledoc """
Brands use resource files to style the following experiences: - Email - Sending - Signing - Captive (embedded) signing You can modify these resource files to customize these experiences.
"""
defstruct [
:email,
:sending,
:signing,
:signingCaptive
]
@doc false
defimpl Jason.Encoder, for: __MODULE__ do
def encode(struct, opts) do
struct
|> Map.from_struct()
|> Enum.reject(fn {_k, v} -> is_nil(v) end)
|> Map.new()
|> Jason.Encode.map(opts)
end
end
@type t :: %__MODULE__{
:email => String.t() | nil,
:sending => String.t() | nil,
:signing => String.t() | nil,
:signingCaptive => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end