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