Record Class PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData
- Enclosing class:
PermissionMessageAuthorizationEvent
public static record PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData(String recordId, Long turnIndex, PermissionMessageAuthorizationPolarity polarity, String actionClass, Long spanStart, Long spanEnd, List<String> targetMembers, String task, Object world)
extends Record
Data payload for
PermissionMessageAuthorizationEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionMessageAuthorizationEventData(String recordId, Long turnIndex, PermissionMessageAuthorizationPolarity polarity, String actionClass, Long spanStart, Long spanEnd, List<String> targetMembers, String task, Object world) Creates an instance of aPermissionMessageAuthorizationEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionClassrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.polarity()Returns the value of thepolarityrecord component.recordId()Returns the value of therecordIdrecord component.spanEnd()Returns the value of thespanEndrecord component.Returns the value of thespanStartrecord component.Returns the value of thetargetMembersrecord component.task()Returns the value of thetaskrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theturnIndexrecord component.world()Returns the value of theworldrecord component.
-
Constructor Details
-
PermissionMessageAuthorizationEventData
public PermissionMessageAuthorizationEventData(String recordId, Long turnIndex, PermissionMessageAuthorizationPolarity polarity, String actionClass, Long spanStart, Long spanEnd, List<String> targetMembers, String task, Object world) Creates an instance of aPermissionMessageAuthorizationEventDatarecord class.- Parameters:
recordId- the value for therecordIdrecord componentturnIndex- the value for theturnIndexrecord componentpolarity- the value for thepolarityrecord componentactionClass- the value for theactionClassrecord componentspanStart- the value for thespanStartrecord componentspanEnd- the value for thespanEndrecord componenttargetMembers- the value for thetargetMembersrecord componenttask- the value for thetaskrecord componentworld- the value for theworldrecord 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). -
recordId
Returns the value of therecordIdrecord component.- Returns:
- the value of the
recordIdrecord component
-
turnIndex
Returns the value of theturnIndexrecord component.- Returns:
- the value of the
turnIndexrecord component
-
polarity
Returns the value of thepolarityrecord component.- Returns:
- the value of the
polarityrecord component
-
actionClass
Returns the value of theactionClassrecord component.- Returns:
- the value of the
actionClassrecord component
-
spanStart
Returns the value of thespanStartrecord component.- Returns:
- the value of the
spanStartrecord component
-
spanEnd
Returns the value of thespanEndrecord component.- Returns:
- the value of the
spanEndrecord component
-
targetMembers
-
task
Returns the value of thetaskrecord component.- Returns:
- the value of the
taskrecord component
-
world
Returns the value of theworldrecord component.- Returns:
- the value of the
worldrecord component
-