Record Class SkillInvokedRefEvent.SkillInvokedRefEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SkillInvokedRefEvent.SkillInvokedRefEventData
- Enclosing class:
SkillInvokedRefEvent
@CopilotExperimental
public static record SkillInvokedRefEvent.SkillInvokedRefEventData(String name, Long invokedAtTurn, String model, String path, String contentId, Long contentLength, List<String> allowedTools, Boolean disableModelInvocation, String source, String pluginName, String pluginVersion, String description, SkillInvokedTrigger trigger)
extends Record
Data payload for
SkillInvokedRefEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSkillInvokedRefEventData(String name, Long invokedAtTurn, String model, String path, String contentId, Long contentLength, List<String> allowedTools, Boolean disableModelInvocation, String source, String pluginName, String pluginVersion, String description, SkillInvokedTrigger trigger) Creates an instance of aSkillInvokedRefEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedToolsrecord component.Returns the value of thecontentIdrecord component.Returns the value of thecontentLengthrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisableModelInvocationrecord 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 theinvokedAtTurnrecord component.model()Returns the value of themodelrecord component.name()Returns the value of thenamerecord component.path()Returns the value of thepathrecord component.Returns the value of thepluginNamerecord component.Returns the value of thepluginVersionrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.trigger()Returns the value of thetriggerrecord component.
-
Constructor Details
-
SkillInvokedRefEventData
public SkillInvokedRefEventData(String name, Long invokedAtTurn, String model, String path, String contentId, Long contentLength, List<String> allowedTools, Boolean disableModelInvocation, String source, String pluginName, String pluginVersion, String description, SkillInvokedTrigger trigger) Creates an instance of aSkillInvokedRefEventDatarecord class.- Parameters:
name- the value for thenamerecord componentinvokedAtTurn- the value for theinvokedAtTurnrecord componentmodel- the value for themodelrecord componentpath- the value for thepathrecord componentcontentId- the value for thecontentIdrecord componentcontentLength- the value for thecontentLengthrecord componentallowedTools- the value for theallowedToolsrecord componentdisableModelInvocation- the value for thedisableModelInvocationrecord componentsource- the value for thesourcerecord componentpluginName- the value for thepluginNamerecord componentpluginVersion- the value for thepluginVersionrecord componentdescription- the value for thedescriptionrecord componenttrigger- the value for thetriggerrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
invokedAtTurn
Returns the value of theinvokedAtTurnrecord component.- Returns:
- the value of the
invokedAtTurnrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
contentId
Returns the value of thecontentIdrecord component.- Returns:
- the value of the
contentIdrecord component
-
contentLength
Returns the value of thecontentLengthrecord component.- Returns:
- the value of the
contentLengthrecord component
-
allowedTools
-
disableModelInvocation
Returns the value of thedisableModelInvocationrecord component.- Returns:
- the value of the
disableModelInvocationrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
pluginName
Returns the value of thepluginNamerecord component.- Returns:
- the value of the
pluginNamerecord component
-
pluginVersion
Returns the value of thepluginVersionrecord component.- Returns:
- the value of the
pluginVersionrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
trigger
Returns the value of thetriggerrecord component.- Returns:
- the value of the
triggerrecord component
-