Package com.github.copilot.sdk.generated
Record Class SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
- Enclosing class:
- SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.model()Returns the value of themodelrecord component.name()Returns the value of thenamerecord component.source()Returns the value of thesourcerecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserInvocablerecord component.
-
Constructor Details
-
SessionCustomAgentsUpdatedEventDataAgentsItem
public SessionCustomAgentsUpdatedEventDataAgentsItem(String id, String name, String displayName, String description, String source, List<String> tools, Boolean userInvocable, String model) Creates an instance of aSessionCustomAgentsUpdatedEventDataAgentsItemrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord componentsource- the value for thesourcerecord componenttools- the value for thetoolsrecord componentuserInvocable- the value for theuserInvocablerecord componentmodel- the value for themodelrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
tools
Returns the value of thetoolsrecord component.- Returns:
- the value of the
toolsrecord component
-
userInvocable
Returns the value of theuserInvocablerecord component.- Returns:
- the value of the
userInvocablerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-