lib/ory/model/create_custom_domain_body.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.2.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Ory.Model.CreateCustomDomainBody do
  @moduledoc """
  Create Custom Hostname Request Body
  """

  @derive Jason.Encoder
  defstruct [
    :cookie_domain,
    :cors_allowed_origins,
    :cors_enabled,
    :custom_ui_base_url,
    :hostname
  ]

  @type t :: %__MODULE__{
    :cookie_domain => String.t | nil,
    :cors_allowed_origins => [String.t] | nil,
    :cors_enabled => boolean() | nil,
    :custom_ui_base_url => String.t | nil,
    :hostname => String.t | nil
  }

  def decode(value) do
    value
  end
end