Class ListBatchJobsResponse
Config for batches.list return value.
public record ListBatchJobsResponse : IEquatable<ListBatchJobsResponse>
- Inheritance
-
ListBatchJobsResponse
- Implements
- Inherited Members
Properties
BatchJobs
[JsonPropertyName("batchJobs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<BatchJob>? BatchJobs { 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 ListBatchJobsResponse object.
public static ListBatchJobsResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ListBatchJobsResponse
The deserialized ListBatchJobsResponse object, or null if deserialization fails.