Record Class AnthropicApi.FilesListResponse
java.lang.Object
java.lang.Record
org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
- Record Components:
data- List of file metadata objectshasMore- Whether more results existnextPage- Pagination token for next page
- Enclosing class:
AnthropicApi
public static record AnthropicApi.FilesListResponse(List<AnthropicApi.FileMetadata> data, Boolean hasMore, String nextPage)
extends Record
Paginated list of files response from the Files API.
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Mariusz Bernacki, Thomas Vitale, Jihoon Kim, Alexandros Pappas, Jonghoon Park, Claudio Silva Junior, Filip Hrisafov, Soby Chacko, Austin Dase
-
Constructor Summary
ConstructorsConstructorDescriptionFilesListResponse(List<AnthropicApi.FileMetadata> data, Boolean hasMore, String nextPage) Creates an instance of aFilesListResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hasMore()Returns the value of thehasMorerecord component.nextPage()Returns the value of thenextPagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
data
-
hasMore
-
nextPage
-