Class WorkRequestError
Description of the unexpected error that prevented completion of the request.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class WorkRequestError
Properties
Code
Declaration
[Required(ErrorMessage = "Code is required.")]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
Property Value
Type | Description |
---|---|
string | A machine-usable code for the error that occurred. Error codes are listed at (https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm) |
Remarks
Required
Message
Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable description of the issue. |
Remarks
Required
TimeStamp
Declaration
[Required(ErrorMessage = "TimeStamp is required.")]
[JsonProperty(PropertyName = "timeStamp")]
public DateTime? TimeStamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | When the error occurred. A date-time string as described in RFC 3339, section 14.29. |
Remarks
Required