# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.ProjectBranding do
@moduledoc """
The Project Branding
"""
@derive [Poison.Encoder]
defstruct [
:created_at,
:default_theme,
:id,
:project_id,
:themes,
:updated_at
]
@type t :: %__MODULE__{
:created_at => DateTime.t,
:default_theme => Ory.Model.ProjectBrandingTheme.t,
:id => String.t,
:project_id => String.t,
:themes => [Ory.Model.ProjectBrandingTheme.t],
:updated_at => DateTime.t
}
end
defimpl Poison.Decoder, for: Ory.Model.ProjectBranding do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:default_theme, :struct, Ory.Model.ProjectBrandingTheme, options)
|> deserialize(:themes, :list, Ory.Model.ProjectBrandingTheme, options)
end
end