Show / Hide Table of Contents

Class WorkRequest

A description of workRequest status.

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.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.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 that contains the work request. Work requests are scoped to the same compartment as the resource the work request affects.
If the work request affects multiple resources and those resources are not in the same compartment, the OCID of the primary resource is used. For example, you can copy an object in a bucket in one compartment to a bucket in another compartment. In this case, the OCID of the source compartment is used.

Id

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

The id of the work request.

OperationType

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

The type of work request.

PercentComplete

Declaration
[JsonProperty(PropertyName = "percentComplete")]
public float? PercentComplete { get; set; }
Property Value
Type Description
float?

Percentage of the work request completed.

Resources

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

Status

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

The status of the specified work request.

TimeAccepted

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

The date and time the work request was created, as described in RFC 3339.

TimeFinished

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

The date and time the work request was finished, as described in RFC 3339.

TimeStarted

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

The date and time the work request was started, as described in RFC 3339.

In this article
Back to top