Show / Hide Table of Contents

Class WorkRequestResource

A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

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

Properties

ActionType

Declaration
[Required(ErrorMessage = "ActionType is required.")]
[JsonProperty(PropertyName = "actionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestResource.ActionTypeEnum? ActionType { get; set; }
Property Value
Type Description
WorkRequestResource.ActionTypeEnum?

The way in which this resource was affected by the operation that spawned the work request.

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 you can use for a GET request 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

An OCID or other unique identifier for the resource.

Remarks

Required

In this article
Back to top