Class WorkRequestError
An error associcated with a work request.
Inherited Members
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.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 occured. Error codes are listed here --
(https://docs.cloud.oracle.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 encountered.
|
Remarks
Required
Timestamp
Declaration
[Required(ErrorMessage = "Timestamp is required.")]
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the error occured. An RFC3339 formatted datetime string.
|
Remarks
Required