Class UrlMetadata
The metadata for a single URL retrieval.
public record UrlMetadata : IEquatable<UrlMetadata>
- Inheritance
-
UrlMetadata
- Implements
- Inherited Members
Properties
RetrievedUrl
The URL retrieved by the tool.
[JsonPropertyName("retrievedUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RetrievedUrl { get; set; }
Property Value
UrlRetrievalStatus
The status of the URL retrieval.
[JsonPropertyName("urlRetrievalStatus")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UrlRetrievalStatus? UrlRetrievalStatus { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a UrlMetadata object.
public static UrlMetadata? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- UrlMetadata
The deserialized UrlMetadata object, or null if deserialization fails.