Package com.oracle.bmc.devops.model
Class Reviewer
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.devops.model.Reviewer
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class Reviewer extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelReviewer information.
 Note: Objects should always be created or deserialized using theReviewer.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theReviewer.Builder, which maintain a set of all explicitly set fields calledReviewer.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classReviewer.Builderstatic classReviewer.PrincipalStateThe state of the principal, it can be active or inactive or suppressed for emailsstatic classReviewer.PrincipalTypethe type of principalstatic classReviewer.StatusThe current state of the Review.
 - 
Constructor SummaryConstructors Constructor Description Reviewer(String principalId, String principalName, Reviewer.PrincipalType principalType, Reviewer.PrincipalState principalState, Reviewer.Status status)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Reviewer.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPrincipalId()Pull Request reviewer idStringgetPrincipalName()the name of the principalReviewer.PrincipalStategetPrincipalState()The state of the principal, it can be active or inactive or suppressed for emailsReviewer.PrincipalTypegetPrincipalType()the type of principalReviewer.StatusgetStatus()The current state of the Review.inthashCode()Reviewer.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Reviewer@Deprecated @ConstructorProperties({"principalId","principalName","principalType","principalState","status"}) public Reviewer(String principalId, String principalName, Reviewer.PrincipalType principalType, Reviewer.PrincipalState principalState, Reviewer.Status status) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Reviewer.Builder builder() Create a new builder.
 - 
toBuilderpublic Reviewer.Builder toBuilder() 
 - 
getPrincipalIdpublic String getPrincipalId() Pull Request reviewer id- Returns:
- the value
 
 - 
getPrincipalNamepublic String getPrincipalName() the name of the principal- Returns:
- the value
 
 - 
getPrincipalTypepublic Reviewer.PrincipalType getPrincipalType() the type of principal- Returns:
- the value
 
 - 
getPrincipalStatepublic Reviewer.PrincipalState getPrincipalState() The state of the principal, it can be active or inactive or suppressed for emails- Returns:
- the value
 
 - 
getStatuspublic Reviewer.Status getStatus() The current state of the Review.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-