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.MarketplaceService.Requests
Assembly: OCI.DotNetSDK.Marketplace.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

The unique identifier for the compartment.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.

ListingId

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

The unique identifier for the listing.

Remarks

Required

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.

PackageType

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

A filter to return only packages that match the given package type exactly.

PackageVersion

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

The version of the package. Package versions are unique within a listing.

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 "List" call.

SortBy

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

The field to use to sort listed results. You can only specify one field to sort by. TIMERELEASED displays results in descending order by default. You can change your preference by specifying a different sort order.

SortOrder

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

The sort order to use, either ASC or DESC.

Implements

IOciRequest
In this article
Back to top