libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruReviewer.Types.EventInfo

Description

 
Synopsis

Documentation

data EventInfo Source #

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' 

Fields

  • state :: Maybe Text

    The state of an event. The state might be open, closed, or another state.

  • name :: Maybe Text

    The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

Instances

Instances details
Eq EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Read EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Show EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Generic EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Associated Types

type Rep EventInfo :: Type -> Type #

NFData EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Methods

rnf :: EventInfo -> () #

Hashable EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

ToJSON EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

FromJSON EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

type Rep EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

type Rep EventInfo = D1 ('MetaData "EventInfo" "Amazonka.CodeGuruReviewer.Types.EventInfo" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "EventInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") '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:state:EventInfo', eventInfo_state - The state of an event. The state might be open, closed, or another state.

$sel:name:EventInfo', eventInfo_name - The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

eventInfo_state :: Lens' EventInfo (Maybe Text) Source #

The state of an event. The state might be open, closed, or another state.

eventInfo_name :: Lens' EventInfo (Maybe Text) Source #

The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push