Record Class AgentSkill_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.AgentSkill_v0_3
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.examples()Returns the value of theexamplesrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theinputModesrecord component.name()Returns the value of thenamerecord component.Returns the value of theoutputModesrecord component.security()Returns the value of thesecurityrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgentSkill_v0_3
public AgentSkill_v0_3(String id, String name, String description, List<String> tags, List<String> examples, List<String> inputModes, List<String> outputModes, List<Map<String, List<String>>> security) Creates an instance of aAgentSkill_v0_3record class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componenttags- the value for thetagsrecord componentexamples- the value for theexamplesrecord componentinputModes- the value for theinputModesrecord componentoutputModes- the value for theoutputModesrecord componentsecurity- the value for thesecurityrecord 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). -
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
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
tags
-
examples
-
inputModes
-
outputModes
-
security
-