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 Summary
Modifier and TypeFieldDescriptionstatic final PullRequestStatus
Static value merged for PullRequestStatus.static final PullRequestStatus
Static value removed for PullRequestStatus.static final PullRequestStatus
Static value submitted for PullRequestStatus.static final PullRequestStatus
Static value unknown for PullRequestStatus. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PullRequestStatus
fromString
(String name) Creates or finds a PullRequestStatus from its string representation.static Collection<PullRequestStatus>
values()
Gets known PullRequestStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value unknown for PullRequestStatus. -
SUBMITTED
Static value submitted for PullRequestStatus. -
MERGED
Static value merged for PullRequestStatus. -
REMOVED
Static value removed for PullRequestStatus.
-
-
Constructor Details
-
PullRequestStatus
public PullRequestStatus()
-
-
Method Details
-
fromString
Creates or finds a PullRequestStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PullRequestStatus.
-
values
Gets known PullRequestStatus values.- Returns:
- known PullRequestStatus values.
-