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 6.4.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.BrandsResponse do
@moduledoc false
@derive [Poison.Encoder]
defstruct [
:brands,
:recipientBrandIdDefault,
:senderBrandIdDefault
]
@type t :: %__MODULE__{
:brands => [DocuSign.Model.Brand.t()] | nil,
:recipientBrandIdDefault => String.t() | nil,
:senderBrandIdDefault => String.t() | nil
}
end
defimpl Poison.Decoder, for: DocuSign.Model.BrandsResponse do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:brands, :list, DocuSign.Model.Brand, options)
end
end