phoityne-vscode-0.0.1.0: app/Phoityne/IO/GUI/VSCode/TH/DisconnectArgumentsJSON.hs
{-# LANGUAGE TemplateHaskell #-}
module Phoityne.IO.GUI.VSCode.TH.DisconnectArgumentsJSON where
import Data.Aeson.TH
import Phoityne.Utility
-- |
-- Arguments for "disconnect" request.
--
data DisconnectArguments =
DisconnectArguments {
restartDisconnectArguments :: Maybe Bool
} deriving (Show, Read, Eq)
$(deriveJSON defaultOptions { fieldLabelModifier = rdrop (length "DisconnectArguments") } ''DisconnectArguments)