google-server-api-0.4.1.1: Google APIs for server to server applications
Safe HaskellSafe-Inferred
LanguageHaskell2010

Google.Response

Description

Define data types to represent all of the responses that are received from the Google API.

Documentation

data Token Source #

Constructors

Token 

Instances

Instances details
FromJSON Token Source # 
Instance details

Defined in Google.Response

ToJSON Token Source # 
Instance details

Defined in Google.Response

Generic Token Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep Token :: Type -> Type #

Methods

from :: Token -> Rep Token x #

to :: Rep Token x -> Token #

Show Token Source # 
Instance details

Defined in Google.Response

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #

Eq Token Source # 
Instance details

Defined in Google.Response

Methods

(==) :: Token -> Token -> Bool #

(/=) :: Token -> Token -> Bool #

FromForm Token Source # 
Instance details

Defined in Google.Response

ToForm Token Source # 
Instance details

Defined in Google.Response

Methods

toForm :: Token -> Form #

type Rep Token Source # 
Instance details

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))))

newtype Account Source #

Constructors

Account 

Fields

Instances

Instances details
FromJSON Account Source # 
Instance details

Defined in Google.Response

ToJSON Account Source # 
Instance details

Defined in Google.Response

Generic Account Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Show Account Source # 
Instance details

Defined in Google.Response

Eq Account Source # 
Instance details

Defined in Google.Response

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

FromHttpApiData Account Source # 
Instance details

Defined in Google.Response

ToHttpApiData Account Source # 
Instance details

Defined in Google.Response

FromHttpApiData [Account] Source # 
Instance details

Defined in Google.Response

ToHttpApiData [Account] Source # 
Instance details

Defined in Google.Response

type Rep Account Source # 
Instance details

Defined in Google.Response

type Rep Account = D1 ('MetaData "Account" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'True) (C1 ('MetaCons "Account" 'PrefixI 'True) (S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype DateTime Source #

Constructors

DateTime 

Fields

Instances

Instances details
FromJSON DateTime Source # 
Instance details

Defined in Google.Response

ToJSON DateTime Source # 
Instance details

Defined in Google.Response

Generic DateTime Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep DateTime :: Type -> Type #

Methods

from :: DateTime -> Rep DateTime x #

to :: Rep DateTime x -> DateTime #

Show DateTime Source # 
Instance details

Defined in Google.Response

Eq DateTime Source # 
Instance details

Defined in Google.Response

FromHttpApiData DateTime Source # 
Instance details

Defined in Google.Response

ToHttpApiData DateTime Source # 
Instance details

Defined in Google.Response

type Rep DateTime Source # 
Instance details

Defined in Google.Response

type Rep DateTime = D1 ('MetaData "DateTime" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'True) (C1 ('MetaCons "DateTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "dateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))

newtype ZonedDateTime Source #

Constructors

ZonedDateTime 

Instances

Instances details
FromJSON ZonedDateTime Source # 
Instance details

Defined in Google.Response

ToJSON ZonedDateTime Source # 
Instance details

Defined in Google.Response

Generic ZonedDateTime Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep ZonedDateTime :: Type -> Type #

Show ZonedDateTime Source # 
Instance details

Defined in Google.Response

Eq ZonedDateTime Source # 
Instance details

Defined in Google.Response

FromHttpApiData ZonedDateTime Source # 
Instance details

Defined in Google.Response

ToHttpApiData ZonedDateTime Source # 
Instance details

Defined in Google.Response

type Rep ZonedDateTime Source # 
Instance details

Defined in Google.Response

type Rep ZonedDateTime = D1 ('MetaData "ZonedDateTime" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'True) (C1 ('MetaCons "ZonedDateTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "dateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ZonedTime))))

data CalendarEvent Source #

Instances

Instances details
FromJSON CalendarEvent Source # 
Instance details

Defined in Google.Response

Generic CalendarEvent Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep CalendarEvent :: Type -> Type #

Show CalendarEvent Source # 
Instance details

Defined in Google.Response

Eq CalendarEvent Source # 
Instance details

Defined in Google.Response

type Rep CalendarEvent Source # 
Instance details

Defined in Google.Response

data CalendarEventList Source #

Constructors

CalendarEventList 

Fields

Instances

Instances details
FromJSON CalendarEventList Source # 
Instance details

Defined in Google.Response

Generic CalendarEventList Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep CalendarEventList :: Type -> Type #

Show CalendarEventList Source # 
Instance details

Defined in Google.Response

Eq CalendarEventList Source # 
Instance details

Defined in Google.Response

type Rep CalendarEventList Source # 
Instance details

Defined in Google.Response

type Rep CalendarEventList = D1 ('MetaData "CalendarEventList" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "CalendarEventList" 'PrefixI 'True) (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CalendarEvent]))))

data GmailSend Source #

Constructors

GmailSend 

Fields

Instances

Instances details
FromJSON GmailSend Source # 
Instance details

Defined in Google.Response

ToJSON GmailSend Source # 
Instance details

Defined in Google.Response

Generic GmailSend Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep GmailSend :: Type -> Type #

Show GmailSend Source # 
Instance details

Defined in Google.Response

Eq GmailSend Source # 
Instance details

Defined in Google.Response

FromForm GmailSend Source # 
Instance details

Defined in Google.Response

ToForm GmailSend Source # 
Instance details

Defined in Google.Response

Methods

toForm :: GmailSend -> Form #

type Rep GmailSend Source # 
Instance details

Defined in Google.Response

type Rep GmailSend = D1 ('MetaData "GmailSend" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "GmailSend" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data GmailList Source #

Constructors

GmailList 

Fields

Instances

Instances details
FromJSON GmailList Source # 
Instance details

Defined in Google.Response

ToJSON GmailList Source # 
Instance details

Defined in Google.Response

Generic GmailList Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep GmailList :: Type -> Type #

Show GmailList Source # 
Instance details

Defined in Google.Response

Eq GmailList Source # 
Instance details

Defined in Google.Response

type Rep GmailList Source # 
Instance details

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 #

Constructors

GmailMessage 

Fields

Instances

Instances details
FromJSON GmailMessage Source # 
Instance details

Defined in Google.Response

ToJSON GmailMessage Source # 
Instance details

Defined in Google.Response

Generic GmailMessage Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep GmailMessage :: Type -> Type #

Show GmailMessage Source # 
Instance details

Defined in Google.Response

Eq GmailMessage Source # 
Instance details

Defined in Google.Response

FromForm GmailMessage Source # 
Instance details

Defined in Google.Response

ToForm GmailMessage Source # 
Instance details

Defined in Google.Response

Methods

toForm :: GmailMessage -> Form #

type Rep GmailMessage Source # 
Instance details

Defined in Google.Response

type Rep GmailMessage = D1 ('MetaData "GmailMessage" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "GmailMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "threadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snippet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data ExtendedProperties Source #

Instances

Instances details
FromJSON ExtendedProperties Source # 
Instance details

Defined in Google.Response

Generic ExtendedProperties Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep ExtendedProperties :: Type -> Type #

Show ExtendedProperties Source # 
Instance details

Defined in Google.Response

Eq ExtendedProperties Source # 
Instance details

Defined in Google.Response

type Rep ExtendedProperties Source # 
Instance details

Defined in Google.Response

type Rep ExtendedProperties = D1 ('MetaData "ExtendedProperties" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "ExtendedProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "private") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "shared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

data FileResource Source #

Constructors

FileResource 

Fields

Instances

Instances details
FromJSON FileResource Source # 
Instance details

Defined in Google.Response

ToJSON FileResource Source # 
Instance details

Defined in Google.Response

Generic FileResource Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep FileResource :: Type -> Type #

Show FileResource Source # 
Instance details

Defined in Google.Response

Eq FileResource Source # 
Instance details

Defined in Google.Response

type Rep FileResource Source # 
Instance details

Defined in Google.Response

type Rep FileResource = D1 ('MetaData "FileResource" "Google.Response" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'False) (C1 ('MetaCons "FileResource" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileId)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MediaType))))

data FileList Source #

Constructors

FileList 

Fields

Instances

Instances details
FromJSON FileList Source # 
Instance details

Defined in Google.Response

ToJSON FileList Source # 
Instance details

Defined in Google.Response

Generic FileList Source # 
Instance details

Defined in Google.Response

Associated Types

type Rep FileList :: Type -> Type #

Methods

from :: FileList -> Rep FileList x #

to :: Rep FileList x -> FileList #

Show FileList Source # 
Instance details

Defined in Google.Response

Eq FileList Source # 
Instance details

Defined in Google.Response

type Rep FileList Source # 
Instance details

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 #

Constructors

MediaContent 

Fields

Instances

Instances details
Generic MediaContent Source # 
Instance details

Defined in Google.Type

Associated Types

type Rep MediaContent :: Type -> Type #

Show MediaContent Source # 
Instance details

Defined in Google.Type

Eq MediaContent Source # 
Instance details

Defined in Google.Type

MimeUnrender Arbitrary MediaContent Source # 
Instance details

Defined in Google.Type

type Rep MediaContent Source # 
Instance details

Defined in Google.Type

type Rep MediaContent = D1 ('MetaData "MediaContent" "Google.Type" "google-server-api-0.4.1.1-4jlULpUbbE1GrilYBK0pHi" 'True) (C1 ('MetaCons "MediaContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))