Show / Hide Table of Contents

Class ListWorkRequestsRequest

Inheritance
object
ListWorkRequestsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 opc-next-page or opc-previous-page response header from the previous "List" call. For important details about how pagination works, see List Pagination.

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.

Implements

IOciRequest
In this article
Back to top