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

module Hercules.API.Accounts.CLIAuthorizationRequestCreate where

import Hercules.API.Prelude

data CLIAuthorizationRequestCreate = CLIAuthorizationRequestCreate
  { CLIAuthorizationRequestCreate -> Text
description :: Text
  }
  deriving (forall x.
Rep CLIAuthorizationRequestCreate x
-> CLIAuthorizationRequestCreate
forall x.
CLIAuthorizationRequestCreate
-> Rep CLIAuthorizationRequestCreate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CLIAuthorizationRequestCreate x
-> CLIAuthorizationRequestCreate
$cfrom :: forall x.
CLIAuthorizationRequestCreate
-> Rep CLIAuthorizationRequestCreate x
Generic, Int -> CLIAuthorizationRequestCreate -> ShowS
[CLIAuthorizationRequestCreate] -> ShowS
CLIAuthorizationRequestCreate -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CLIAuthorizationRequestCreate] -> ShowS
$cshowList :: [CLIAuthorizationRequestCreate] -> ShowS
show :: CLIAuthorizationRequestCreate -> String
$cshow :: CLIAuthorizationRequestCreate -> String
showsPrec :: Int -> CLIAuthorizationRequestCreate -> ShowS
$cshowsPrec :: Int -> CLIAuthorizationRequestCreate -> ShowS
Show, CLIAuthorizationRequestCreate
-> CLIAuthorizationRequestCreate -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CLIAuthorizationRequestCreate
-> CLIAuthorizationRequestCreate -> Bool
$c/= :: CLIAuthorizationRequestCreate
-> CLIAuthorizationRequestCreate -> Bool
== :: CLIAuthorizationRequestCreate
-> CLIAuthorizationRequestCreate -> Bool
$c== :: CLIAuthorizationRequestCreate
-> CLIAuthorizationRequestCreate -> Bool
Eq)
  deriving anyclass (CLIAuthorizationRequestCreate -> ()
forall a. (a -> ()) -> NFData a
rnf :: CLIAuthorizationRequestCreate -> ()
$crnf :: CLIAuthorizationRequestCreate -> ()
NFData, [CLIAuthorizationRequestCreate] -> Encoding
[CLIAuthorizationRequestCreate] -> Value
CLIAuthorizationRequestCreate -> Encoding
CLIAuthorizationRequestCreate -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [CLIAuthorizationRequestCreate] -> Encoding
$ctoEncodingList :: [CLIAuthorizationRequestCreate] -> Encoding
toJSONList :: [CLIAuthorizationRequestCreate] -> Value
$ctoJSONList :: [CLIAuthorizationRequestCreate] -> Value
toEncoding :: CLIAuthorizationRequestCreate -> Encoding
$ctoEncoding :: CLIAuthorizationRequestCreate -> Encoding
toJSON :: CLIAuthorizationRequestCreate -> Value
$ctoJSON :: CLIAuthorizationRequestCreate -> Value
ToJSON, Value -> Parser [CLIAuthorizationRequestCreate]
Value -> Parser CLIAuthorizationRequestCreate
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [CLIAuthorizationRequestCreate]
$cparseJSONList :: Value -> Parser [CLIAuthorizationRequestCreate]
parseJSON :: Value -> Parser CLIAuthorizationRequestCreate
$cparseJSON :: Value -> Parser CLIAuthorizationRequestCreate
FromJSON, Proxy CLIAuthorizationRequestCreate
-> Declare (Definitions Schema) NamedSchema
forall a.
(Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a
declareNamedSchema :: Proxy CLIAuthorizationRequestCreate
-> Declare (Definitions Schema) NamedSchema
$cdeclareNamedSchema :: Proxy CLIAuthorizationRequestCreate
-> Declare (Definitions Schema) NamedSchema
ToSchema)