Class DeleteFileResponse

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.DeleteFileResponse

public abstract class DeleteFileResponse extends JsonSerializable
Response for the delete file method.
  • Constructor Details

    • DeleteFileResponse

      public DeleteFileResponse()
  • Method Details

    • sdkHttpResponse

      public abstract Optional<HttpResponse> sdkHttpResponse()
      Used to retain the full HTTP response.
    • id

      public abstract Optional<String> id()
      The ID of the deleted file.
    • type

      public abstract Optional<String> type()
      The object type. Always `file_deleted`.
    • builder

      public static DeleteFileResponse.Builder builder()
      Instantiates a builder for DeleteFileResponse.
    • toBuilder

      public abstract DeleteFileResponse.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static DeleteFileResponse fromJson(String jsonString)
      Deserializes a JSON string to a DeleteFileResponse object.