module TD.Query.GetConnectedWebsites
(GetConnectedWebsites(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetConnectedWebsites
= GetConnectedWebsites
deriving (GetConnectedWebsites -> GetConnectedWebsites -> Bool
(GetConnectedWebsites -> GetConnectedWebsites -> Bool)
-> (GetConnectedWebsites -> GetConnectedWebsites -> Bool)
-> Eq GetConnectedWebsites
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetConnectedWebsites -> GetConnectedWebsites -> Bool
== :: GetConnectedWebsites -> GetConnectedWebsites -> Bool
$c/= :: GetConnectedWebsites -> GetConnectedWebsites -> Bool
/= :: GetConnectedWebsites -> GetConnectedWebsites -> Bool
Eq, Int -> GetConnectedWebsites -> ShowS
[GetConnectedWebsites] -> ShowS
GetConnectedWebsites -> String
(Int -> GetConnectedWebsites -> ShowS)
-> (GetConnectedWebsites -> String)
-> ([GetConnectedWebsites] -> ShowS)
-> Show GetConnectedWebsites
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetConnectedWebsites -> ShowS
showsPrec :: Int -> GetConnectedWebsites -> ShowS
$cshow :: GetConnectedWebsites -> String
show :: GetConnectedWebsites -> String
$cshowList :: [GetConnectedWebsites] -> ShowS
showList :: [GetConnectedWebsites] -> ShowS
Show)
instance I.ShortShow GetConnectedWebsites where
shortShow :: GetConnectedWebsites -> String
shortShow
GetConnectedWebsites
GetConnectedWebsites
= String
"GetConnectedWebsites"
instance AT.ToJSON GetConnectedWebsites where
toJSON :: GetConnectedWebsites -> Value
toJSON
GetConnectedWebsites
GetConnectedWebsites
= [Pair] -> Value
A.object
[ Key
"@type" Key -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Text -> Value
AT.String Text
"getConnectedWebsites"
]