gogol-drive-0.4.0: Google Drive 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.Drive.Replies.Create

Contents

Description

Creates a new reply to a comment.

See: Drive API Reference for drive.replies.create.

Synopsis

REST Resource

type RepliesCreateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Reply :> Post '[JSON] Reply)))))))) Source #

A resource alias for drive.replies.create method which the RepliesCreate request conforms to.

Creating a Request

repliesCreate Source #

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

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

data RepliesCreate Source #

Creates a new reply to a comment.

See: repliesCreate smart constructor.

Instances
Eq RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Data RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Methods

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

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

toConstr :: RepliesCreate -> Constr #

dataTypeOf :: RepliesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Generic RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Associated Types

type Rep RepliesCreate :: Type -> Type #

GoogleRequest RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Associated Types

type Rs RepliesCreate :: Type #

type Scopes RepliesCreate :: [Symbol] #

type Rep RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

type Rep RepliesCreate = D1 (MetaData "RepliesCreate" "Network.Google.Resource.Drive.Replies.Create" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "RepliesCreate'" PrefixI True) (S1 (MetaSel (Just "_rcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Reply) :*: (S1 (MetaSel (Just "_rcFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rcCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

type Scopes RepliesCreate = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.file" ': ([] :: [Symbol]))
type Rs RepliesCreate Source # 
Instance details

Defined in Network.Google.Resource.Drive.Replies.Create

Request Lenses

rcPayload :: Lens' RepliesCreate Reply Source #

Multipart request metadata.

rcFileId :: Lens' RepliesCreate Text Source #

The ID of the file.

rcCommentId :: Lens' RepliesCreate Text Source #

The ID of the comment.