Class: Aws::CodeGuruReviewer::Types::EventInfo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb

Overview

Note:

When making an API call, you may pass EventInfo data as a hash:

{
  name: "EventName",
  state: "EventState",
}

Information about an event. The event might be a push, pull request, scheduled request, or another type of event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)


923
924
925
926
927
928
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 923

class EventInfo < Struct.new(
  :name,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

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

Returns:

  • (String)


923
924
925
926
927
928
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 923

class EventInfo < Struct.new(
  :name,
  :state)
  SENSITIVE = []
  include Aws::Structure
end