Class WorkItemSummary
Work item to complete a work request.
Inherited Members
Namespace: Oci.JmsService.Models
Assembly: OCI.DotNetSDK.Jms.dll
Syntax
public class WorkItemSummary
Properties
Details
Declaration
[Required(ErrorMessage = "Details is required.")]
[JsonProperty(PropertyName = "details")]
public WorkItemDetails Details { get; set; }
Property Value
Type | Description |
---|---|
WorkItemDetails |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique ID of ths work item. |
Remarks
Required
InstallationSite
Declaration
[Required(ErrorMessage = "InstallationSite is required.")]
[JsonProperty(PropertyName = "installationSite")]
public InstallationSite InstallationSite { get; set; }
Property Value
Type | Description |
---|---|
InstallationSite |
Remarks
Required
RetryCount
Declaration
[Required(ErrorMessage = "RetryCount is required.")]
[JsonProperty(PropertyName = "retryCount")]
public int? RetryCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of times this work item is retried. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkItemStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
WorkItemStatus? | The status of the work item. |
Remarks
Required
TimeLastUpdated
Declaration
[JsonProperty(PropertyName = "timeLastUpdated")]
public DateTime? TimeLastUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the work item was last updated. (formatted according to RFC3339). |
WorkRequestId
Declaration
[Required(ErrorMessage = "WorkRequestId is required.")]
[JsonProperty(PropertyName = "workRequestId")]
public string WorkRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the work request created this work item. |
Remarks
Required