{-# LANGUAGE DeriveAnyClass #-}

module Hercules.API.Projects.CreateUserEffectTokenResponse where

import Hercules.API.Prelude

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