Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class ProblemDetails
{
public ProblemDetails()
{
}
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "type")]
public string Type { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "title")]
public string Title { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "status")]
public int? Status { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "detail")]
public string Detail { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "instance")]
public string Instance { get; set; }
[JsonExtensionData]
public IDictionary<string, object> Extensions { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment