gogol-groups-migration-0.1.1: Google Groups Migration 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.GroupsMigration.Archive.Insert

Contents

Description

Inserts a new mail into the archive of the Google group.

See: Groups Migration API Reference for groupsmigration.archive.insert.

Synopsis

REST Resource

type ArchiveInsertResource = ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> Post '[JSON] Groups)))))) :<|> ("upload" :> ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Groups))))))))) Source #

A resource alias for groupsmigration.archive.insert method which the ArchiveInsert request conforms to.

Creating a Request

archiveInsert Source #

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

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

data ArchiveInsert Source #

Inserts a new mail into the archive of the Google group.

See: archiveInsert smart constructor.

Instances

Eq ArchiveInsert Source # 
Data ArchiveInsert Source # 

Methods

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

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

toConstr :: ArchiveInsert -> Constr #

dataTypeOf :: ArchiveInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ArchiveInsert Source # 
Generic ArchiveInsert Source # 

Associated Types

type Rep ArchiveInsert :: * -> * #

GoogleRequest ArchiveInsert Source # 

Associated Types

type Rs ArchiveInsert :: * #

type Scopes ArchiveInsert :: [Symbol] #

GoogleRequest (MediaUpload ArchiveInsert) Source # 
type Rep ArchiveInsert Source # 
type Rep ArchiveInsert = D1 (MetaData "ArchiveInsert" "Network.Google.Resource.GroupsMigration.Archive.Insert" "gogol-groups-migration-0.1.1-6VaFU5hLDOXH6FCOEAZQIC" True) (C1 (MetaCons "ArchiveInsert'" PrefixI True) (S1 (MetaSel (Just Symbol "_aiGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ArchiveInsert Source # 
type Scopes ArchiveInsert = (:) Symbol "https://www.googleapis.com/auth/apps.groups.migration" ([] Symbol)
type Rs ArchiveInsert Source # 
type Scopes (MediaUpload ArchiveInsert) Source # 
type Rs (MediaUpload ArchiveInsert) Source # 

Request Lenses