Class ListWorkRequestsRequest
Implements
Inherited Members
Namespace: Oci.LoggingService.Requests
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class ListWorkRequestsRequest : IOciRequest
Examples
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 | Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
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? | The maximum number of items to return in a paginated "List" call. |
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, please provide the request ID. |
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, 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? | The sort order to use, whether 'asc' or 'desc'. |
Status
Declaration
[HttpConverter(TargetEnum.Query, "status")]
public OperationStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
OperationStatus? | Filter results by work request status. |