Class ListTuningJobsResponse

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

public abstract class ListTuningJobsResponse extends JsonSerializable
Response for the list tuning jobs method.
  • Constructor Details

    • ListTuningJobsResponse

      public ListTuningJobsResponse()
  • Method Details

    • nextPageToken

      public abstract Optional<String> nextPageToken()
      A token to retrieve the next page of results. Pass to ListTuningJobsRequest.page_token to obtain that page.
    • tuningJobs

      public abstract Optional<List<TuningJob>> tuningJobs()
      List of TuningJobs in the requested page.
    • builder

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

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

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