Record Class InstallationConfirmationRequest
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstallationConfirmationRequest
@Generated("copilot-sdk-codegen")
public record InstallationConfirmationRequest(String policySessionId, String confirmationId, String operationId, String expiresAt, String reviewFingerprint, InstallationReview review)
extends Record
One connection-owned, expiring request for a trusted host's explicit user decision.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionInstallationConfirmationRequest(String policySessionId, String confirmationId, String operationId, String expiresAt, String reviewFingerprint, InstallationReview review) Creates an instance of aInstallationConfirmationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfirmationIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationIdrecord component.Returns the value of thepolicySessionIdrecord component.review()Returns the value of thereviewrecord component.Returns the value of thereviewFingerprintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstallationConfirmationRequest
public InstallationConfirmationRequest(String policySessionId, String confirmationId, String operationId, String expiresAt, String reviewFingerprint, InstallationReview review) Creates an instance of aInstallationConfirmationRequestrecord class.- Parameters:
policySessionId- the value for thepolicySessionIdrecord componentconfirmationId- the value for theconfirmationIdrecord componentoperationId- the value for theoperationIdrecord componentexpiresAt- the value for theexpiresAtrecord componentreviewFingerprint- the value for thereviewFingerprintrecord componentreview- the value for thereviewrecord 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). -
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-
confirmationId
Returns the value of theconfirmationIdrecord component.- Returns:
- the value of the
confirmationIdrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
reviewFingerprint
Returns the value of thereviewFingerprintrecord component.- Returns:
- the value of the
reviewFingerprintrecord component
-
review
Returns the value of thereviewrecord component.- Returns:
- the value of the
reviewrecord component
-