lib/ory/model/organization_body.ex

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

defmodule Ory.Model.OrganizationBody do
  @moduledoc """
  Create B2B SSO Organization Request Body
  """

  @derive [Poison.Encoder]
  defstruct [
    :domains,
    :label
  ]

  @type t :: %__MODULE__{
    :domains => [String.t] | nil,
    :label => String.t | nil
  }
end

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