Class DeleteResourceJob
The return value of delete operation.
public record DeleteResourceJob : IEquatable<DeleteResourceJob>
- Inheritance
-
DeleteResourceJob
- Implements
- Inherited Members
Properties
Done
[JsonPropertyName("done")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Done { get; set; }
Property Value
- bool?
Error
[JsonPropertyName("error")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JobError? Error { get; set; }
Property Value
Name
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Name { 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 DeleteResourceJob object.
public static DeleteResourceJob? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- DeleteResourceJob
The deserialized DeleteResourceJob object, or null if deserialization fails.