Class PullRequestStatus

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PullRequestStatus>
com.azure.resourcemanager.devhub.models.PullRequestStatus

public final class PullRequestStatus extends com.azure.core.util.ExpandableStringEnum<PullRequestStatus>
The status of the Pull Request submitted against the users repository.
  • Field Details

    • UNKNOWN

      public static final PullRequestStatus UNKNOWN
      Static value unknown for PullRequestStatus.
    • SUBMITTED

      public static final PullRequestStatus SUBMITTED
      Static value submitted for PullRequestStatus.
    • MERGED

      public static final PullRequestStatus MERGED
      Static value merged for PullRequestStatus.
    • REMOVED

      public static final PullRequestStatus REMOVED
      Static value removed for PullRequestStatus.
  • Constructor Details

    • PullRequestStatus

      public PullRequestStatus()
  • Method Details

    • fromString

      public static PullRequestStatus fromString(String name)
      Creates or finds a PullRequestStatus from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PullRequestStatus.
    • values

      public static Collection<PullRequestStatus> values()
      Gets known PullRequestStatus values.
      Returns:
      known PullRequestStatus values.