packages feed

hercules-ci-api-0.8.2.0: src/Hercules/API/Agents/CreateClusterJoinToken.hs

{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingStrategies #-}

module Hercules.API.Agents.CreateClusterJoinToken where

import Data.OpenApi qualified as O3
import Hercules.API.Prelude

-- The owner account that the token applies to is in the path.
data CreateClusterJoinToken = CreateClusterJoinToken
  { description :: Text
  }
  deriving (Generic, Show, Eq)
  deriving anyclass (NFData, ToJSON, FromJSON, ToSchema, O3.ToSchema)