Record Class AssistantMessageServerTools
java.lang.Object
java.lang.Record
com.github.copilot.generated.AssistantMessageServerTools
@Generated("copilot-sdk-codegen")
public record AssistantMessageServerTools(String provider, List<Object> items, Map<String,String> functionCallNamespaces, List<Object> rawContentBlocks, String advisorModel)
extends Record
Neutral provider-tagged server-side tool-use payload (tool search, advisor) for verbatim round-tripping
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadvisorModelrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionCallNamespacesrecord component.final inthashCode()Returns a hash code value for this object.items()Returns the value of theitemsrecord component.provider()Returns the value of theproviderrecord component.Returns the value of therawContentBlocksrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssistantMessageServerTools
public AssistantMessageServerTools(String provider, List<Object> items, Map<String, String> functionCallNamespaces, List<Object> rawContentBlocks, String advisorModel) Creates an instance of aAssistantMessageServerToolsrecord class.- Parameters:
provider- the value for theproviderrecord componentitems- the value for theitemsrecord componentfunctionCallNamespaces- the value for thefunctionCallNamespacesrecord componentrawContentBlocks- the value for therawContentBlocksrecord componentadvisorModel- the value for theadvisorModelrecord 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). -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
items
-
functionCallNamespaces
-
rawContentBlocks
-
advisorModel
Returns the value of theadvisorModelrecord component.- Returns:
- the value of the
advisorModelrecord component
-