lib/ory/model/create_project_branding.ex

# 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.CreateProjectBranding do
  @moduledoc """
  Create a Project Branding
  """

  @derive [Poison.Encoder]
  defstruct [
    :logo_type,
    :logo_url,
    :name,
    :theme
  ]

  @type t :: %__MODULE__{
    :logo_type => String.t | nil,
    :logo_url => String.t | nil,
    :name => String.t | nil,
    :theme => Ory.Model.ProjectBrandingColors.t | nil
  }
end

defimpl Poison.Decoder, for: Ory.Model.CreateProjectBranding do
  import Ory.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:theme, :struct, Ory.Model.ProjectBrandingColors, options)
  end
end