Record Class SandboxDecisionEvent.SandboxDecisionEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SandboxDecisionEvent.SandboxDecisionEventData
- Enclosing class:
SandboxDecisionEvent
public static record SandboxDecisionEvent.SandboxDecisionEventData(com.fasterxml.jackson.databind.JsonNode raw)
extends Record
Raw union payload for
SandboxDecisionEvent, preserving every variant's fields.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxDecisionEventData(com.fasterxml.jackson.databind.JsonNode raw) Creates an instance of aSandboxDecisionEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNoderaw()Returns the value of therawrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SandboxDecisionEventData
public SandboxDecisionEventData(com.fasterxml.jackson.databind.JsonNode raw) Creates an instance of aSandboxDecisionEventDatarecord class.- Parameters:
raw- the value for therawrecord component
-
SandboxDecisionEventData
public SandboxDecisionEventData()
-
-
Method Details
-
raw
public com.fasterxml.jackson.databind.JsonNode raw()Returns the value of therawrecord component.- Returns:
- the value of the
rawrecord component
-
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).
-