Interface EventInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventInfo.Builder,EventInfo>, SdkBuilder<EventInfo.Builder,EventInfo>, SdkPojo
Enclosing class:
EventInfo

public static interface EventInfo.Builder extends SdkPojo, CopyableBuilder<EventInfo.Builder,EventInfo>
  • Method Details

    • name

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

      Parameters:
      name - The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      EventInfo.Builder state(String state)

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

      Parameters:
      state - The state of an event. The state might be open, closed, or another state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.