Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Coordinate.Schedule.Get
Description
Retrieves the schedule for a job.
See: Google Maps Coordinate API Reference for coordinate.schedule.get
.
- type ScheduleGetResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("jobs" :> (Capture "jobId" (Textual Word64) :> ("schedule" :> (QueryParam "alt" AltJSON :> Get `[JSON]` Schedule)))))))
- scheduleGet :: Word64 -> Text -> ScheduleGet
- data ScheduleGet
- sgJobId :: Lens' ScheduleGet Word64
- sgTeamId :: Lens' ScheduleGet Text
REST Resource
type ScheduleGetResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("jobs" :> (Capture "jobId" (Textual Word64) :> ("schedule" :> (QueryParam "alt" AltJSON :> Get `[JSON]` Schedule))))))) Source
A resource alias for coordinate.schedule.get
method which the
ScheduleGet
request conforms to.
Creating a Request
Arguments
:: Word64 | |
-> Text | |
-> ScheduleGet |
Creates a value of ScheduleGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ScheduleGet Source
Retrieves the schedule for a job.
See: scheduleGet
smart constructor.
Instances
Request Lenses
sgJobId :: Lens' ScheduleGet Word64 Source
Job number
sgTeamId :: Lens' ScheduleGet Text Source
Team ID