Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Define data types to represent all of the responses that are received from the Google API.
Documentation
Instances
FromJSON Token Source # | |
ToJSON Token Source # | |
Defined in Google.Response | |
Generic Token Source # | |
Show Token Source # | |
Eq Token Source # | |
FromForm Token Source # | |
ToForm Token Source # | |
Defined in Google.Response | |
type Rep Token Source # | |
Defined in Google.Response type Rep Token = D1 ('MetaData "Token" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "Token" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) |
Instances
FromJSON Account Source # | |
ToJSON Account Source # | |
Defined in Google.Response | |
Generic Account Source # | |
Show Account Source # | |
Eq Account Source # | |
FromHttpApiData Account Source # | |
Defined in Google.Response parseUrlPiece :: Text -> Either Text Account # parseHeader :: ByteString -> Either Text Account # | |
ToHttpApiData Account Source # | |
Defined in Google.Response toUrlPiece :: Account -> Text # toEncodedUrlPiece :: Account -> Builder # toHeader :: Account -> ByteString # toQueryParam :: Account -> Text # | |
FromHttpApiData [Account] Source # | |
Defined in Google.Response parseUrlPiece :: Text -> Either Text [Account] # parseHeader :: ByteString -> Either Text [Account] # | |
ToHttpApiData [Account] Source # | |
Defined in Google.Response toUrlPiece :: [Account] -> Text # toEncodedUrlPiece :: [Account] -> Builder # toHeader :: [Account] -> ByteString # toQueryParam :: [Account] -> Text # | |
type Rep Account Source # | |
Defined in Google.Response |
Instances
FromJSON DateTime Source # | |
ToJSON DateTime Source # | |
Defined in Google.Response | |
Generic DateTime Source # | |
Show DateTime Source # | |
Eq DateTime Source # | |
FromHttpApiData DateTime Source # | |
Defined in Google.Response parseUrlPiece :: Text -> Either Text DateTime # parseHeader :: ByteString -> Either Text DateTime # | |
ToHttpApiData DateTime Source # | |
Defined in Google.Response toUrlPiece :: DateTime -> Text # toEncodedUrlPiece :: DateTime -> Builder # toHeader :: DateTime -> ByteString # toQueryParam :: DateTime -> Text # | |
type Rep DateTime Source # | |
Defined in Google.Response |
newtype ZonedDateTime Source #
Instances
data CalendarEvent Source #
CalendarEvent | |
|
Instances
data CalendarEventList Source #
Instances
Instances
FromJSON GmailList Source # | |
ToJSON GmailList Source # | |
Defined in Google.Response | |
Generic GmailList Source # | |
Show GmailList Source # | |
Eq GmailList Source # | |
type Rep GmailList Source # | |
Defined in Google.Response type Rep GmailList = D1 ('MetaData "GmailList" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "GmailList" 'PrefixI 'True) (S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GmailMessage]))) |
data GmailMessage Source #
Instances
data ExtendedProperties Source #
Instances
data FileResource Source #
Instances
FileList | |
|
Instances
FromJSON FileList Source # | |
ToJSON FileList Source # | |
Defined in Google.Response | |
Generic FileList Source # | |
Show FileList Source # | |
Eq FileList Source # | |
type Rep FileList Source # | |
Defined in Google.Response type Rep FileList = D1 ('MetaData "FileList" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "FileList" 'PrefixI 'True) (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileResource]))) |
newtype MediaContent Source #