Show / Hide Table of Contents

Class ListPackagesRequest

Inheritance
object
ListPackagesRequest
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 ListPackagesRequest : IOciRequest
Examples

Click here to see an example of how to use ListPackages request.

Properties

CompartmentId

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

List the packages that belong to this compartment.

DisplayName

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

List only the information for the Digital Assistant instance with this user-friendly name. These names don't have to be unique and may change.
Example: My new resource

IsLatestVersionOnly

Declaration
[HttpConverter(TargetEnum.Query, "isLatestVersionOnly")]
public bool? IsLatestVersionOnly { get; set; }
Property Value
Type Description
bool?

Should we return only the latest version of a package (instead of all versions)?

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.

Name

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

List only the information for the package with this name. Package names are unique to a publisher and may not change.
Example: My Package

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==

ResourceType

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

Resource type identifier. Used to limit query results to the items which are applicable to the given type.

SortBy

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

Sort on this field. You can specify one sort order only. The default sort field is TIMECREATED.
The default sort order for TIMECREATED is descending, and the default sort order for DISPLAYNAME is ascending.

SortOrder

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

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

Implements

IOciRequest
In this article
Back to top