gogol-maps-coordinate-0.0.1: Google Maps Coordinate SDK.

Copyright(c) 2015 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.

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.