Interface EventInfo.Builder

    • Method Detail

      • name

        EventInfo.Builder name​(String 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.