Record Class BatchRequestResponse.BatchList<T>
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.BatchRequestResponse.BatchList<T>
- Record Components:
pageToken- Token used to paginate to the next page.responses- List of batch responses.
- Enclosing class:
BatchRequestResponse
public static record BatchRequestResponse.BatchList<T>(String pageToken, List<BatchRequestResponse.BatchResponse<T>> responses)
extends Record
Represents a List of Batches.
-
Constructor Summary
ConstructorsConstructorDescriptionBatchList(String pageToken, List<BatchRequestResponse.BatchResponse<T>> responses) Creates an instance of aBatchListrecord 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 thepageTokenrecord component.Returns the value of theresponsesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BatchList
-
-
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). -
pageToken
-
responses
-