Record Class ExternalToolTextResultForLlmBinaryResultsForLlm
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ExternalToolTextResultForLlmBinaryResultsForLlm
@Generated("copilot-sdk-codegen")
public record ExternalToolTextResultForLlmBinaryResultsForLlm(ExternalToolTextResultForLlmBinaryResultsForLlmType type, String data, String mimeType, String description, Map<String,Object> metadata)
extends Record
Binary result returned by a tool for the model
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionExternalToolTextResultForLlmBinaryResultsForLlm(ExternalToolTextResultForLlmBinaryResultsForLlmType type, String data, String mimeType, String description, Map<String, Object> metadata) Creates an instance of aExternalToolTextResultForLlmBinaryResultsForLlmrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.mimeType()Returns the value of themimeTyperecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
ExternalToolTextResultForLlmBinaryResultsForLlm
public ExternalToolTextResultForLlmBinaryResultsForLlm(ExternalToolTextResultForLlmBinaryResultsForLlmType type, String data, String mimeType, String description, Map<String, Object> metadata) Creates an instance of aExternalToolTextResultForLlmBinaryResultsForLlmrecord class.- Parameters:
type- the value for thetyperecord componentdata- the value for thedatarecord componentmimeType- the value for themimeTyperecord componentdescription- the value for thedescriptionrecord componentmetadata- the value for themetadatarecord 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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
metadata
-