Skip to content

Instantly share code, notes, and snippets.

@explorer14
Created March 3, 2019 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save explorer14/feaad6f79ffef9ec0dc28d64f1f1eba9 to your computer and use it in GitHub Desktop.
Save explorer14/feaad6f79ffef9ec0dc28d64f1f1eba9 to your computer and use it in GitHub Desktop.
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