, opStatusToRaw
, opStatusFromRaw
, ELogType(..)
+ , InstReasonSrc(..)
) where
import Control.Monad (liftM)
, ("ELogJqueueTest", 'C.elogJqueueTest)
])
$(THH.makeJSONInstance ''ELogType)
+
+-- | Type for the source of the state change of instances.
+$(THH.declareSADT "InstReasonSrc"
+ [ ("IRSCli", 'C.instanceReasonSourceCli)
+ , ("IRSRapi", 'C.instanceReasonSourceRapi)
+ ])
+$(THH.makeJSONInstance ''InstReasonSrc)
+
+