Show / Hide Table of Contents

Class WorkRequestSummary

A summary of the work request.

Inheritance
object
WorkRequestSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.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 OCID of the compartment in which the resource is created.

Remarks

Required

OperationType

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

The type of the work request.

Remarks

Required

PercentComplete

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

Percentage of the request completed.

Remarks

Required

Status

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

The status of the work request.

Remarks

Required

TimeAccepted

Declaration
[Required(ErrorMessage = "TimeAccepted is required.")]
[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 14.29.

Remarks

Required

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.

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 14.29.

WorkRequestId

Declaration
[Required(ErrorMessage = "WorkRequestId is required.")]
[JsonProperty(PropertyName = "workRequestId")]
public string WorkRequestId { get; set; }
Property Value
Type Description
string

The OCID of the resource.

Remarks

Required

In this article
Back to top