Show / Hide Table of Contents

Class WorkRequest

An asynchronous work request.

Inheritance
object
WorkRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ContainerengineService.Models
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class WorkRequest

Properties

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment in which the work request exists.

Id

Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the work request.

OperationType

Declaration
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestOperationType? OperationType { get; set; }
Property Value
Type Description
WorkRequestOperationType?

The type of work the work request is doing.

Resources

Declaration
[JsonProperty(PropertyName = "resources")]
public List<WorkRequestResource> Resources { get; set; }
Property Value
Type Description
List<WorkRequestResource>

The resources this work request affects.

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestStatus? Status { get; set; }
Property Value
Type Description
WorkRequestStatus?

The current status of the work request.

TimeAccepted

Declaration
[JsonProperty(PropertyName = "timeAccepted")]
public DateTime? TimeAccepted { get; set; }
Property Value
Type Description
DateTime?

The time the work request was accepted.

TimeFinished

Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type Description
DateTime?

The time the work request was finished.

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The time the work request was started.

In this article
Back to top