Package com.google.genai.types
Class ListFilesResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ListFilesResponse
Response for the list files method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ListFilesResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListFilesResponse.Builderbuilder()Instantiates a builder for ListFilesResponse.files()The list of files.static ListFilesResponseDeserializes a JSON string to a ListFilesResponse object.A token to retrieve next page of results.abstract Optional<HttpResponse>Used to retain the full HTTP response.abstract ListFilesResponse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ListFilesResponse
public ListFilesResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
nextPageToken
A token to retrieve next page of results. -
files
The list of files. -
builder
Instantiates a builder for ListFilesResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ListFilesResponse object.
-