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. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListFilesResponse.Builderbuilder()Instantiates a builder for ListFilesResponse.files()The list of `File`s.static ListFilesResponseDeserializes a JSON string to a ListFilesResponse object.A token that can be sent as a `page_token` into a subsequent `ListFiles` call.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
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
ListFilesResponse
public ListFilesResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
nextPageToken
A token that can be sent as a `page_token` into a subsequent `ListFiles` call. -
files
The list of `File`s. -
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.
-