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