Gemini.Types.Tuning.ListTuningJobsResponse (GeminiEx v0.8.4)

View Source

Response from listing tuning jobs with pagination support.

Summary

Functions

Parses list response from API.

Checks if there are more pages to fetch.

Types

t()

@type t() :: %Gemini.Types.Tuning.ListTuningJobsResponse{
  next_page_token: String.t() | nil,
  tuning_jobs: [Gemini.Types.Tuning.TuningJob.t()]
}

Functions

from_api_response(response)

@spec from_api_response(map()) :: t()

Parses list response from API.

has_more_pages?(list_tuning_jobs_response)

@spec has_more_pages?(t()) :: boolean()

Checks if there are more pages to fetch.