Class ListWorkRequestsRequest
Implements
Inherited Members
Namespace: Oci.DatascienceService.Requests
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class ListWorkRequestsRequest : IOciRequestExamples
Click here to see an example of how to use ListWorkRequests request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Filter results by the OCID of the compartment. | 
Remarks
Required
Id
Declaration
[HttpConverter(TargetEnum.Query, "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Filter results by OCID. Must be an OCID of the correct type for the resource type. | 
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | For list pagination. The maximum number of results per page,
or items to return in a paginated "List" call.
1 is the minimum, 100 is the maximum.
See List Pagination.
 | 
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. | 
OperationType
Declaration
[HttpConverter(TargetEnum.Query, "operationType")]
public ListWorkRequestsRequest.OperationTypeEnum? OperationType { get; set; }Property Value
| Type | Description | 
|---|---|
| ListWorkRequestsRequest.OperationTypeEnum? | Filter results by the type of the operation associated with the work request. | 
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }Property Value
| Type | Description | 
|---|---|
| string | For list pagination. The value of the  | 
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListWorkRequestsRequest.SortByEnum? SortBy { get; set; }Property Value
| Type | Description | 
|---|---|
| ListWorkRequestsRequest.SortByEnum? | Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, the results are shown in descending order. All other fields default to ascending order. | 
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListWorkRequestsRequest.SortOrderEnum? SortOrder { get; set; }Property Value
| Type | Description | 
|---|---|
| ListWorkRequestsRequest.SortOrderEnum? | Specifies sort order to use, either  | 
Status
Declaration
[HttpConverter(TargetEnum.Query, "status")]
public ListWorkRequestsRequest.StatusEnum? Status { get; set; }Property Value
| Type | Description | 
|---|---|
| ListWorkRequestsRequest.StatusEnum? | Filter results by work request status. |