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

module Hercules.API.Accounts.CLIAuthorizationRequestCreate where

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

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