packages feed

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

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

module Hercules.API.Agents.FullClusterJoinToken where

import Data.OpenApi qualified as O3
import Hercules.API.Agents.ClusterJoinToken
  ( ClusterJoinToken,
  )
import Hercules.API.Prelude

data FullClusterJoinToken = FullClusterJoinToken
  { metadata :: ClusterJoinToken,
    token :: Text
  }
  deriving (Generic, Show, Eq)
  deriving anyclass (NFData, ToJSON, FromJSON, ToSchema, O3.ToSchema)