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.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.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

The OCID of the compartment. This number is generated when the compartment is created.

Remarks

Required

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 call. If unspecified, defaults to 10.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The 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

The value of the opc-next-page response header from the previous paginated call.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListWorkRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListWorkRequestsRequest.SortByEnum?

The value by which work requests are sorted in a paginated 'List' call. If unspecified, defaults to timeAccepted.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListWorkRequestsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListWorkRequestsRequest.SortOrderEnum?

The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to DESC.

WaasPolicyId

Declaration
[Required(ErrorMessage = "WaasPolicyId is required.")]
[HttpConverter(TargetEnum.Query, "waasPolicyId")]
public string WaasPolicyId { get; set; }
Property Value
Type Description
string

The OCID of the policy.

Remarks

Required

Implements

IOciRequest
In this article
Back to top