Class WorkRequestSummary
A description of the work request's status.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class WorkRequestSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the compartment that contains the work request. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the work request. |
Remarks
Required
OdaInstanceId
Declaration
[Required(ErrorMessage = "OdaInstanceId is required.")]
[JsonProperty(PropertyName = "odaInstanceId")]
public string OdaInstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the Digital Assistant instance to which this work request pertains. |
Remarks
Required
RequestAction
Declaration
[Required(ErrorMessage = "RequestAction is required.")]
[JsonProperty(PropertyName = "requestAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestSummary.RequestActionEnum? RequestAction { get; set; }
Property Value
Type | Description |
---|---|
WorkRequestSummary.RequestActionEnum? | The type of the operation that's associated with the work request. |
Remarks
Required
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the resource to which this work request pertains. |
Remarks
Required
Resources
Declaration
[Required(ErrorMessage = "Resources is required.")]
[JsonProperty(PropertyName = "resources")]
public List<WorkRequestResource> Resources { get; set; }
Property Value
Type | Description |
---|---|
List<WorkRequestResource> | The resources that this work request affects. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestSummary.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
WorkRequestSummary.StatusEnum? | The status of current work request. |
Remarks
Required