Class ListModelsResponse
public record ListModelsResponse : IEquatable<ListModelsResponse>
- Inheritance
-
ListModelsResponse
- Implements
- Inherited Members
Properties
Models
[JsonPropertyName("models")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<Model>? Models { get; set; }
Property Value
NextPageToken
[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
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ListModelsResponse object.
public static ListModelsResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ListModelsResponse
The deserialized ListModelsResponse object, or null if deserialization fails.