Class ListTuningJobsResponse
Response for the list tuning jobs method.
public record ListTuningJobsResponse : IEquatable<ListTuningJobsResponse>
- Inheritance
-
ListTuningJobsResponse
- Implements
- Inherited Members
Properties
NextPageToken
A token to retrieve the next page of results. Pass this token in a subsequent [GenAiTuningService.ListTuningJobs] call to retrieve the next page of results.
[JsonPropertyName("nextPageToken")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? NextPageToken { get; set; }
Property Value
SdkHttpResponse
Used to retain the full HTTP response.
[JsonPropertyName("sdkHttpResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpResponse? SdkHttpResponse { get; set; }
Property Value
TuningJobs
The tuning jobs that match the request.
[JsonPropertyName("tuningJobs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<TuningJob>? TuningJobs { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ListTuningJobsResponse object.
public static ListTuningJobsResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ListTuningJobsResponse
The deserialized ListTuningJobsResponse object, or null if deserialization fails.