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