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.OdaService.Requests
Assembly: OCI.DotNetSDK.Oda.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

List the Digital Assistant instances that belong to this compartment.

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 per page.

OdaInstanceId

Declaration
[HttpConverter(TargetEnum.Query, "odaInstanceId")]
public string OdaInstanceId { get; set; }
Property Value
Type Description
string

List only the information for this Digital Assistant instance.

OpcRequestId

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

The client request ID for tracing. This value is included in the opc-request-id response header.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page at which to start retrieving results.
You get this value from the opc-next-page header in a previous list request. To retireve the first page, omit this query parameter.
Example: MToxMA==

ResourceId

Declaration
[HttpConverter(TargetEnum.Query, "resourceId")]
public string ResourceId { get; set; }
Property Value
Type Description
string

List only the information for this resource.

SortBy

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

The field to sort by. You can specify only one sort order. If no value is specified, then the default is TIME_ACCEPTED.
The default sort order for the time fields is descending. The default order for DISPLAYNAME and STATUS is ascending.default: TIME_ACCEPTED

SortOrder

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

Sort the results in this order, use either ASC (ascending) or DESC (descending).

Implements

IOciRequest
In this article
Back to top