| 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 |
Amazonka.CodeGuruReviewer.Types.EventInfo
Description
Synopsis
- data EventInfo = EventInfo' {}
- newEventInfo :: EventInfo
- eventInfo_name :: Lens' EventInfo (Maybe Text)
- eventInfo_state :: Lens' EventInfo (Maybe Text)
Documentation
Information about an event. The event might be a push, pull request, scheduled request, or another type of event.
See: newEventInfo smart constructor.
Constructors
| EventInfo' | |
Instances
| FromJSON EventInfo Source # | |
| ToJSON EventInfo Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.EventInfo | |
| Generic EventInfo Source # | |
| Read EventInfo Source # | |
| Show EventInfo Source # | |
| NFData EventInfo Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.EventInfo | |
| Eq EventInfo Source # | |
| Hashable EventInfo Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.EventInfo | |
| type Rep EventInfo Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.EventInfo type Rep EventInfo = D1 ('MetaData "EventInfo" "Amazonka.CodeGuruReviewer.Types.EventInfo" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "EventInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newEventInfo :: EventInfo Source #
Create a value of EventInfo 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:name:EventInfo', eventInfo_name - The name of the event. The possible names are pull_request,
workflow_dispatch, schedule, and push
$sel:state:EventInfo', eventInfo_state - The state of an event. The state might be open, closed, or another
state.