Record Class PermissionRecoveryData
java.lang.Object
java.lang.Record
com.github.copilot.generated.PermissionRecoveryData
@Generated("copilot-sdk-codegen")
public record PermissionRecoveryData(String episodeId, PermissionRecoveryStatus status, PermissionRecoveryOnBlocked onBlocked, PermissionRecoveryReason reason, Long maxAttempts, List<PermissionRecoveryAttempt> attempts)
extends Record
Authoritative snapshot of an Autopilot permission-recovery episode
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionRecoveryData(String episodeId, PermissionRecoveryStatus status, PermissionRecoveryOnBlocked onBlocked, PermissionRecoveryReason reason, Long maxAttempts, List<PermissionRecoveryAttempt> attempts) Creates an instance of aPermissionRecoveryDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempts()Returns the value of theattemptsrecord component.Returns the value of theepisodeIdrecord 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 themaxAttemptsrecord component.Returns the value of theonBlockedrecord component.reason()Returns the value of thereasonrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionRecoveryData
public PermissionRecoveryData(String episodeId, PermissionRecoveryStatus status, PermissionRecoveryOnBlocked onBlocked, PermissionRecoveryReason reason, Long maxAttempts, List<PermissionRecoveryAttempt> attempts) Creates an instance of aPermissionRecoveryDatarecord class.- Parameters:
episodeId- the value for theepisodeIdrecord componentstatus- the value for thestatusrecord componentonBlocked- the value for theonBlockedrecord componentreason- the value for thereasonrecord componentmaxAttempts- the value for themaxAttemptsrecord componentattempts- the value for theattemptsrecord 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). -
episodeId
Returns the value of theepisodeIdrecord component.- Returns:
- the value of the
episodeIdrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
onBlocked
Returns the value of theonBlockedrecord component.- Returns:
- the value of the
onBlockedrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
maxAttempts
Returns the value of themaxAttemptsrecord component.- Returns:
- the value of the
maxAttemptsrecord component
-
attempts
Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-