Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ResourceSyncAttempt = ResourceSyncAttempt' {}
- newResourceSyncAttempt :: Revision -> UTCTime -> ResourceSyncStatus -> Text -> Revision -> ResourceSyncAttempt
- resourceSyncAttempt_events :: Lens' ResourceSyncAttempt [ResourceSyncEvent]
- resourceSyncAttempt_initialRevision :: Lens' ResourceSyncAttempt Revision
- resourceSyncAttempt_startedAt :: Lens' ResourceSyncAttempt UTCTime
- resourceSyncAttempt_status :: Lens' ResourceSyncAttempt ResourceSyncStatus
- resourceSyncAttempt_target :: Lens' ResourceSyncAttempt Text
- resourceSyncAttempt_targetRevision :: Lens' ResourceSyncAttempt Revision
Documentation
data ResourceSyncAttempt Source #
Detail data for a resource sync attempt activated by a push to a repository.
See: newResourceSyncAttempt
smart constructor.
ResourceSyncAttempt' | |
|
Instances
newResourceSyncAttempt Source #
:: Revision | |
-> UTCTime | |
-> ResourceSyncStatus | |
-> Text | |
-> Revision | |
-> ResourceSyncAttempt |
Create a value of ResourceSyncAttempt
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:events:ResourceSyncAttempt'
, resourceSyncAttempt_events
- An array of events with detail data.
$sel:initialRevision:ResourceSyncAttempt'
, resourceSyncAttempt_initialRevision
- Detail data for the initial repository commit, path and push.
$sel:startedAt:ResourceSyncAttempt'
, resourceSyncAttempt_startedAt
- The time when the sync attempt started.
$sel:status:ResourceSyncAttempt'
, resourceSyncAttempt_status
- The status of the sync attempt.
$sel:target:ResourceSyncAttempt'
, resourceSyncAttempt_target
- The resource that is synced to.
$sel:targetRevision:ResourceSyncAttempt'
, resourceSyncAttempt_targetRevision
- Detail data for the target revision.
resourceSyncAttempt_events :: Lens' ResourceSyncAttempt [ResourceSyncEvent] Source #
An array of events with detail data.
resourceSyncAttempt_initialRevision :: Lens' ResourceSyncAttempt Revision Source #
Detail data for the initial repository commit, path and push.
resourceSyncAttempt_startedAt :: Lens' ResourceSyncAttempt UTCTime Source #
The time when the sync attempt started.
resourceSyncAttempt_status :: Lens' ResourceSyncAttempt ResourceSyncStatus Source #
The status of the sync attempt.
resourceSyncAttempt_target :: Lens' ResourceSyncAttempt Text Source #
The resource that is synced to.
resourceSyncAttempt_targetRevision :: Lens' ResourceSyncAttempt Revision Source #
Detail data for the target revision.