Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Reviewer |
build() |
Reviewer.Builder |
copy(Reviewer model) |
Reviewer.Builder |
principalId(String principalId)
Pull Request reviewer id
|
Reviewer.Builder |
principalName(String principalName)
the name of the principal
|
Reviewer.Builder |
principalState(Reviewer.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emails
|
Reviewer.Builder |
principalType(Reviewer.PrincipalType principalType)
the type of principal
|
Reviewer.Builder |
status(Reviewer.Status status)
The current state of the Review.
|
public Reviewer.Builder principalId(String principalId)
Pull Request reviewer id
principalId
- the value to setpublic Reviewer.Builder principalName(String principalName)
the name of the principal
principalName
- the value to setpublic Reviewer.Builder principalType(Reviewer.PrincipalType principalType)
the type of principal
principalType
- the value to setpublic Reviewer.Builder principalState(Reviewer.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emails
principalState
- the value to setpublic Reviewer.Builder status(Reviewer.Status status)
The current state of the Review.
status
- the value to setpublic Reviewer build()
public Reviewer.Builder copy(Reviewer model)
Copyright © 2016–2024. All rights reserved.