Record Class PermissionRecoveryAttempt
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.PermissionRecoveryAttempt
@Generated("copilot-sdk-codegen")
public record PermissionRecoveryAttempt(String attemptId, String toolCallId, String permissionKind, String requestFingerprint, PermissionRecoveryAttemptRelation relation, PermissionRecoveryAttemptDisposition disposition, PermissionRecoveryAttemptReason reason, Long ordinal)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionRecoveryAttempt(String attemptId, String toolCallId, String permissionKind, String requestFingerprint, PermissionRecoveryAttemptRelation relation, PermissionRecoveryAttemptDisposition disposition, PermissionRecoveryAttemptReason reason, Long ordinal) Creates an instance of aPermissionRecoveryAttemptrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattemptIdrecord component.Returns the value of thedispositionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ordinal()Returns the value of theordinalrecord component.Returns the value of thepermissionKindrecord component.reason()Returns the value of thereasonrecord component.relation()Returns the value of therelationrecord component.Returns the value of therequestFingerprintrecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionRecoveryAttempt
public PermissionRecoveryAttempt(String attemptId, String toolCallId, String permissionKind, String requestFingerprint, PermissionRecoveryAttemptRelation relation, PermissionRecoveryAttemptDisposition disposition, PermissionRecoveryAttemptReason reason, Long ordinal) Creates an instance of aPermissionRecoveryAttemptrecord class.- Parameters:
attemptId- the value for theattemptIdrecord componenttoolCallId- the value for thetoolCallIdrecord componentpermissionKind- the value for thepermissionKindrecord componentrequestFingerprint- the value for therequestFingerprintrecord componentrelation- the value for therelationrecord componentdisposition- the value for thedispositionrecord componentreason- the value for thereasonrecord componentordinal- the value for theordinalrecord 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). -
attemptId
Returns the value of theattemptIdrecord component.- Returns:
- the value of the
attemptIdrecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-
permissionKind
Returns the value of thepermissionKindrecord component.- Returns:
- the value of the
permissionKindrecord component
-
requestFingerprint
Returns the value of therequestFingerprintrecord component.- Returns:
- the value of the
requestFingerprintrecord component
-
relation
Returns the value of therelationrecord component.- Returns:
- the value of the
relationrecord component
-
disposition
Returns the value of thedispositionrecord component.- Returns:
- the value of the
dispositionrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
ordinal
Returns the value of theordinalrecord component.- Returns:
- the value of the
ordinalrecord component
-