module TD.Query.GetForumTopicDefaultIcons
(GetForumTopicDefaultIcons(..)
) where
import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I
data GetForumTopicDefaultIcons
= GetForumTopicDefaultIcons
deriving (GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool
(GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool)
-> (GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool)
-> Eq GetForumTopicDefaultIcons
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool
== :: GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool
$c/= :: GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool
/= :: GetForumTopicDefaultIcons -> GetForumTopicDefaultIcons -> Bool
Eq, Int -> GetForumTopicDefaultIcons -> ShowS
[GetForumTopicDefaultIcons] -> ShowS
GetForumTopicDefaultIcons -> String
(Int -> GetForumTopicDefaultIcons -> ShowS)
-> (GetForumTopicDefaultIcons -> String)
-> ([GetForumTopicDefaultIcons] -> ShowS)
-> Show GetForumTopicDefaultIcons
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetForumTopicDefaultIcons -> ShowS
showsPrec :: Int -> GetForumTopicDefaultIcons -> ShowS
$cshow :: GetForumTopicDefaultIcons -> String
show :: GetForumTopicDefaultIcons -> String
$cshowList :: [GetForumTopicDefaultIcons] -> ShowS
showList :: [GetForumTopicDefaultIcons] -> ShowS
Show)
instance I.ShortShow GetForumTopicDefaultIcons where
shortShow :: GetForumTopicDefaultIcons -> String
shortShow
GetForumTopicDefaultIcons
GetForumTopicDefaultIcons
= String
"GetForumTopicDefaultIcons"
instance AT.ToJSON GetForumTopicDefaultIcons where
toJSON :: GetForumTopicDefaultIcons -> Value
toJSON
GetForumTopicDefaultIcons
GetForumTopicDefaultIcons
= [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
"getForumTopicDefaultIcons"
]