gogol-gmail-0.5.0: Google Gmail SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Contents

Description

Gets a filter.

See: Gmail API Reference for gmail.users.settings.filters.get.

Synopsis

REST Resource

type UsersSettingsFiltersGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("filters" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Filter))))))) Source #

A resource alias for gmail.users.settings.filters.get method which the UsersSettingsFiltersGet request conforms to.

Creating a Request

usersSettingsFiltersGet Source #

Creates a value of UsersSettingsFiltersGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersSettingsFiltersGet Source #

Gets a filter.

See: usersSettingsFiltersGet smart constructor.

Instances
Eq UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Data UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersSettingsFiltersGet -> c UsersSettingsFiltersGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersSettingsFiltersGet #

toConstr :: UsersSettingsFiltersGet -> Constr #

dataTypeOf :: UsersSettingsFiltersGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersSettingsFiltersGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersSettingsFiltersGet) #

gmapT :: (forall b. Data b => b -> b) -> UsersSettingsFiltersGet -> UsersSettingsFiltersGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersSettingsFiltersGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersSettingsFiltersGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersSettingsFiltersGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersSettingsFiltersGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersSettingsFiltersGet -> m UsersSettingsFiltersGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersSettingsFiltersGet -> m UsersSettingsFiltersGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersSettingsFiltersGet -> m UsersSettingsFiltersGet #

Show UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Generic UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Associated Types

type Rep UsersSettingsFiltersGet :: Type -> Type #

GoogleRequest UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

type Rep UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

type Rep UsersSettingsFiltersGet = D1 (MetaData "UsersSettingsFiltersGet" "Network.Google.Resource.Gmail.Users.Settings.Filters.Get" "gogol-gmail-0.5.0-48uFK4VONYULgv1idP6U1t" False) (C1 (MetaCons "UsersSettingsFiltersGet'" PrefixI True) (S1 (MetaSel (Just "_usfgUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usfgId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

type Scopes UsersSettingsFiltersGet = "https://mail.google.com/" ': ("https://www.googleapis.com/auth/gmail.modify" ': ("https://www.googleapis.com/auth/gmail.readonly" ': ("https://www.googleapis.com/auth/gmail.settings.basic" ': ([] :: [Symbol]))))
type Rs UsersSettingsFiltersGet Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Get

Request Lenses

usfgUserId :: Lens' UsersSettingsFiltersGet Text Source #

User's email address. The special value "me" can be used to indicate the authenticated user.

usfgId :: Lens' UsersSettingsFiltersGet Text Source #

The ID of the filter to be fetched.