Class GetFileParameters

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

@InternalApi public abstract class GetFileParameters extends JsonSerializable
Generates the parameters for the get method.
  • Constructor Details

    • GetFileParameters

      public GetFileParameters()
  • Method Details

    • name

      public abstract Optional<String> name()
      The name identifier for the file to retrieve.
    • config

      public abstract Optional<GetFileConfig> config()
      Used to override the default configuration.
    • builder

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

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

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