packages feed

hercules-ci-api-0.6.0.0: src/Hercules/API/Organizations/CreateOrganization.hs

{-# LANGUAGE DeriveAnyClass #-}

module Hercules.API.Organizations.CreateOrganization where

import Hercules.API.Accounts.Account (Account)
import Hercules.API.Prelude

data CreateOrganization = CreateOrganization
  { displayName :: Text,
    primaryAccountId :: Id Account
  }
  deriving (Generic, Show, Eq, NFData, ToJSON, FromJSON, ToSchema)