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

Copy Markdown 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.