Record Class SampleRemovalPayload
java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.SampleRemovalPayload
- All Implemented Interfaces:
AuditEventPayload
public record SampleRemovalPayload(List<String> bioAssays)
extends Record
implements AuditEventPayload
Structured payload for
SampleRemovalEvent and
SampleRemovalReversionEvent. Captures the same information the
legacy free-form DETAIL string encoded — a list of the affected
BioAssay display strings.
Phase C bucket 2f — see AUDIT_PHASE_C_RECCE.md §4d.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AuditEventPayload
AuditEventPayload.None -
Constructor Summary
ConstructorsConstructorDescriptionSampleRemovalPayload(List<String> bioAssays) Creates an instance of aSampleRemovalPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebioAssaysrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SampleRemovalPayload
-
-
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). -
bioAssays
-