Record Class BatchRequestResponse.BatchFileRequest<REQ>
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.BatchRequestResponse.BatchFileRequest<REQ>
- Type Parameters:
REQ- the type of the request payload- Record Components:
key- a unique identifier for the requestrequest- the actual request payload containing the details of the operation
- Enclosing class:
BatchRequestResponse
-
Constructor Summary
ConstructorsConstructorDescriptionBatchFileRequest(String key, REQ request) Creates an instance of aBatchFileRequestrecord 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.key()Returns the value of thekeyrecord component.request()Returns the value of therequestrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BatchFileRequest
-
-
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). -
key
-
request
-