Current section

Files

Jump to
docusign lib docusign model brands_response.ex
Raw

lib/docusign/model/brands_response.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.BrandsResponse do
@moduledoc """
"""
alias DocuSign.Deserializer
alias DocuSign.Model.Brand
@derive Jason.Encoder
defstruct [
:brands,
:recipientBrandIdDefault,
:senderBrandIdDefault
]
@type t :: %__MODULE__{
:brands => [Brand.t()] | nil,
:recipientBrandIdDefault => String.t() | nil,
:senderBrandIdDefault => String.t() | nil
}
def decode(value) do
value
|> Deserializer.deserialize(:brands, :list, Brand)
end
end