gogol-maps-coordinate-0.3.0: Google Maps Coordinate 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.Coordinate.Schedule.Patch

Contents

Description

Replaces the schedule of a job with the provided schedule. This method supports patch semantics.

See: Google Maps Coordinate API Reference for coordinate.schedule.patch.

Synopsis

REST Resource

type SchedulePatchResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("jobs" :> (Capture "jobId" (Textual Word64) :> ("schedule" :> (QueryParam "allDay" Bool :> (QueryParam "startTime" (Textual Word64) :> (QueryParam "endTime" (Textual Word64) :> (QueryParam "duration" (Textual Word64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schedule :> Patch '[JSON] Schedule)))))))))))) Source #

A resource alias for coordinate.schedule.patch method which the SchedulePatch request conforms to.

Creating a Request

schedulePatch Source #

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

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

data SchedulePatch Source #

Replaces the schedule of a job with the provided schedule. This method supports patch semantics.

See: schedulePatch smart constructor.

Instances

Eq SchedulePatch Source # 
Data SchedulePatch Source # 

Methods

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

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

toConstr :: SchedulePatch -> Constr #

dataTypeOf :: SchedulePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SchedulePatch Source # 
Generic SchedulePatch Source # 

Associated Types

type Rep SchedulePatch :: * -> * #

GoogleRequest SchedulePatch Source # 

Associated Types

type Rs SchedulePatch :: * #

type Scopes SchedulePatch :: [Symbol] #

type Rep SchedulePatch Source # 
type Scopes SchedulePatch Source # 
type Scopes SchedulePatch = (:) Symbol "https://www.googleapis.com/auth/coordinate" ([] Symbol)
type Rs SchedulePatch Source # 

Request Lenses

spAllDay :: Lens' SchedulePatch (Maybe Bool) Source #

Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.

spStartTime :: Lens' SchedulePatch (Maybe Word64) Source #

Scheduled start time in milliseconds since epoch.

spPayload :: Lens' SchedulePatch Schedule Source #

Multipart request metadata.

spEndTime :: Lens' SchedulePatch (Maybe Word64) Source #

Scheduled end time in milliseconds since epoch.

spDuration :: Lens' SchedulePatch (Maybe Word64) Source #

Job duration in milliseconds.