Record Class InstallationsConfirmResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstallationsConfirmResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record InstallationsConfirmResult(String confirmationId, String reviewFingerprint, InstallationDecision decision)
extends Record
A response is meaningful only on the connection and request that issued its challenge.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionInstallationsConfirmResult(String confirmationId, String reviewFingerprint, InstallationDecision decision) Creates an instance of aInstallationsConfirmResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfirmationIdrecord component.decision()Returns the value of thedecisionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thereviewFingerprintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstallationsConfirmResult
public InstallationsConfirmResult(String confirmationId, String reviewFingerprint, InstallationDecision decision) Creates an instance of aInstallationsConfirmResultrecord class.- Parameters:
confirmationId- the value for theconfirmationIdrecord componentreviewFingerprint- the value for thereviewFingerprintrecord componentdecision- the value for thedecisionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
confirmationId
Returns the value of theconfirmationIdrecord component.- Returns:
- the value of the
confirmationIdrecord component
-
reviewFingerprint
Returns the value of thereviewFingerprintrecord component.- Returns:
- the value of the
reviewFingerprintrecord component
-
decision
Returns the value of thedecisionrecord component.- Returns:
- the value of the
decisionrecord component
-