Class WorkRequestResource
A resource created or operated on by a work request.
Inherited Members
Namespace: Oci.ManagementagentService.Models
Assembly: OCI.DotNetSDK.Managementagent.dll
Syntax
public class WorkRequestResource
Properties
ActionType
Declaration
[Required(ErrorMessage = "ActionType is required.")]
[JsonProperty(PropertyName = "actionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ActionTypes? ActionType { get; set; }
Property Value
Type | Description |
---|---|
ActionTypes? | The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively. |
Remarks
Required
EntityType
Declaration
[Required(ErrorMessage = "EntityType is required.")]
[JsonProperty(PropertyName = "entityType")]
public string EntityType { get; set; }
Property Value
Type | Description |
---|---|
string | The resource type the work request affects. |
Remarks
Required
EntityUri
Declaration
[JsonProperty(PropertyName = "entityUri")]
public string EntityUri { get; set; }
Property Value
Type | Description |
---|---|
string | The URI path that the user can do a GET on to access the resource metadata |
Identifier
Declaration
[Required(ErrorMessage = "Identifier is required.")]
[JsonProperty(PropertyName = "identifier")]
public string Identifier { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the resource the work request affects. |
Remarks
Required
Metadata
Declaration
[JsonProperty(PropertyName = "metadata")]
public object Metadata { get; set; }
Property Value
Type | Description |
---|---|
object | Additional metadata about the resource that has been operated upon by this work request. For WorkRequests operationType WORK_DELIVERY the metadata will contain: workDeliveryStatus indicating the status of the work delivery item as a WorkDeliveryStatus value, workSubmissionKey the WorkSubmission request id, and workSubmissionDetails containing any details of result |
SourceId
Declaration
[JsonProperty(PropertyName = "sourceId")]
public string SourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the source the work request is requesting. |
SourceName
Declaration
[JsonProperty(PropertyName = "sourceName")]
public string SourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the source the work request is requesting. |
SourceVersion
Declaration
[JsonProperty(PropertyName = "sourceVersion")]
public string SourceVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The version of the source the work request is requesting. |
TimeAccepted
Declaration
[JsonProperty(PropertyName = "timeAccepted")]
public DateTime? TimeAccepted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the request was created, as described in RFC 3339, section 5.6. |
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the request was finished, as described in RFC 3339, section 5.6. |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the request was started, as described in RFC 3339, section 5.6. |