lib/ory/model/create_custom_domain_body.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.CreateCustomDomainBody do
  @moduledoc """
  Create Custom Hostname Request Body
  """

  @derive [Poison.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
  }
end

defimpl Poison.Decoder, for: Ory.Model.CreateCustomDomainBody do
  def decode(value, _options) do
    value
  end
end