Class GetEnvironmentFilesResponse

java.lang.Object
com.google.genai.gaos.models.environments.GetEnvironmentFilesResponse

public class GetEnvironmentFilesResponse extends Object
GetEnvironmentFilesResponse

Response for `GetEnvironmentFiles`.

  • Constructor Details

    • GetEnvironmentFilesResponse

      public GetEnvironmentFilesResponse(@Nullable List<EnvironmentFile> files, @Nullable String nextPageToken)
    • GetEnvironmentFilesResponse

      public GetEnvironmentFilesResponse()
  • Method Details

    • files

      public Optional<List<EnvironmentFile>> files()
      If the requested path is a directory, this contains its contents. If the requested path is a file, this contains a single entry with the file's metadata. If alt=media was specified, this is empty (content is served via `blob`).
    • nextPageToken

      public Optional<String> nextPageToken()
      Pagination token for directory listing. NOLINT
    • builder

      public static GetEnvironmentFilesResponse.Builder builder()
    • withFiles

      public GetEnvironmentFilesResponse withFiles(@Nullable List<EnvironmentFile> files)
      If the requested path is a directory, this contains its contents. If the requested path is a file, this contains a single entry with the file's metadata. If alt=media was specified, this is empty (content is served via `blob`).
    • withNextPageToken

      public GetEnvironmentFilesResponse withNextPageToken(@Nullable String nextPageToken)
      Pagination token for directory listing. NOLINT
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object