Table of Contents

Class TestTableFile

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll
public record TestTableFile : IEquatable<TestTableFile>
Inheritance
TestTableFile
Implements
Inherited Members

Properties

Comment

[JsonPropertyName("comment")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Comment { get; set; }

Property Value

string

ParameterNames

[JsonPropertyName("parameterNames")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? ParameterNames { get; set; }

Property Value

List<string>

TestMethod

[JsonPropertyName("testMethod")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? TestMethod { get; set; }

Property Value

string

TestTable

[JsonPropertyName("testTable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<TestTableItem>? TestTable { get; set; }

Property Value

List<TestTableItem>

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a TestTableFile object.

public static TestTableFile? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

TestTableFile

The deserialized TestTableFile object, or null if deserialization fails.