Class WorkRequestResource
Details about the resource entity.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class WorkRequestResource
Properties
ActionType
Declaration
[Required(ErrorMessage = "ActionType is required.")]
[JsonProperty(PropertyName = "actionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestActionType? ActionType { get; set; }
Property Value
Type | Description |
---|---|
WorkRequestActionType? | The way in which this resource was affected by the work tracked by 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 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 resource identifier the work request affects. |
Remarks
Required
Metadata
Declaration
[JsonProperty(PropertyName = "metadata")]
public Dictionary<string, string> Metadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Additional information about the resource. |