Class ProblemDetails
ProblemDetails
[DataContract]
public class ProblemDetails
- Inheritance
-
ProblemDetails
- Inherited Members
Constructors
ProblemDetails(string, string, int?, string, string)
Initializes a new instance of the ProblemDetails class.
public ProblemDetails(string type = null, string title = null, int? status = null, string detail = null, string instance = null)
Parameters
type
stringtype.
title
stringtitle.
status
int?status.
detail
stringdetail.
instance
stringinstance.
Properties
Detail
Gets or Sets Detail
[DataMember(Name = "detail", EmitDefaultValue = true)]
public string Detail { get; set; }
Property Value
Extensions
Gets or Sets Extensions
[DataMember(Name = "extensions", EmitDefaultValue = true)]
public Dictionary<string, object> Extensions { get; }
Property Value
Instance
Gets or Sets Instance
[DataMember(Name = "instance", EmitDefaultValue = true)]
public string Instance { get; set; }
Property Value
Status
Gets or Sets Status
[DataMember(Name = "status", EmitDefaultValue = true)]
public int? Status { get; set; }
Property Value
- int?
Title
Gets or Sets Title
[DataMember(Name = "title", EmitDefaultValue = true)]
public string Title { get; set; }
Property Value
Type
Gets or Sets Type
[DataMember(Name = "type", EmitDefaultValue = true)]
public string Type { get; set; }
Property Value
Methods
ToJson()
Returns the JSON string presentation of the object
public virtual string ToJson()
Returns
- string
JSON string presentation of the object