Record Class ModelCallFailureRequestFingerprint
java.lang.Object
java.lang.Record
com.github.copilot.generated.ModelCallFailureRequestFingerprint
@Generated("copilot-sdk-codegen")
public record ModelCallFailureRequestFingerprint(Long messageCount, Long toolResultMessageCount, Long toolCallCount, Long namelessToolCallCount, Long imagePartCount, Long imagePartsMissingMediaType, String lastMessageRole)
extends Record
Content-free structural summary of the failing request for diagnosing malformed 4xx calls
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelCallFailureRequestFingerprint(Long messageCount, Long toolResultMessageCount, Long toolCallCount, Long namelessToolCallCount, Long imagePartCount, Long imagePartsMissingMediaType, String lastMessageRole) Creates an instance of aModelCallFailureRequestFingerprintrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimagePartCountrecord component.Returns the value of theimagePartsMissingMediaTyperecord component.Returns the value of thelastMessageRolerecord component.Returns the value of themessageCountrecord component.Returns the value of thenamelessToolCallCountrecord component.Returns the value of thetoolCallCountrecord component.Returns the value of thetoolResultMessageCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelCallFailureRequestFingerprint
public ModelCallFailureRequestFingerprint(Long messageCount, Long toolResultMessageCount, Long toolCallCount, Long namelessToolCallCount, Long imagePartCount, Long imagePartsMissingMediaType, String lastMessageRole) Creates an instance of aModelCallFailureRequestFingerprintrecord class.- Parameters:
messageCount- the value for themessageCountrecord componenttoolResultMessageCount- the value for thetoolResultMessageCountrecord componenttoolCallCount- the value for thetoolCallCountrecord componentnamelessToolCallCount- the value for thenamelessToolCallCountrecord componentimagePartCount- the value for theimagePartCountrecord componentimagePartsMissingMediaType- the value for theimagePartsMissingMediaTyperecord componentlastMessageRole- the value for thelastMessageRolerecord 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). -
messageCount
Returns the value of themessageCountrecord component.- Returns:
- the value of the
messageCountrecord component
-
toolResultMessageCount
Returns the value of thetoolResultMessageCountrecord component.- Returns:
- the value of the
toolResultMessageCountrecord component
-
toolCallCount
Returns the value of thetoolCallCountrecord component.- Returns:
- the value of the
toolCallCountrecord component
-
namelessToolCallCount
Returns the value of thenamelessToolCallCountrecord component.- Returns:
- the value of the
namelessToolCallCountrecord component
-
imagePartCount
Returns the value of theimagePartCountrecord component.- Returns:
- the value of the
imagePartCountrecord component
-
imagePartsMissingMediaType
Returns the value of theimagePartsMissingMediaTyperecord component.- Returns:
- the value of the
imagePartsMissingMediaTyperecord component
-
lastMessageRole
Returns the value of thelastMessageRolerecord component.- Returns:
- the value of the
lastMessageRolerecord component
-