Show / Hide Table of Contents

Class ListPublicationsRequest

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

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

Properties

CompartmentId

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

The unique identifier for the compartment.

Remarks

Required

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.

ListingType

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

The type of the listing.

Remarks

Required

Name

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

The name of the publication.

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.

OperatingSystems

Declaration
[HttpConverter(TargetEnum.Query, "operatingSystems", CollectionFormatType.Multi)]
public List<string> OperatingSystems { get; set; }
Property Value
Type Description
List<string>

The operating system of the 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.

PublicationId

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

The unique identifier for the publication.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListPublicationsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListPublicationsRequest.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 ListPublicationsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListPublicationsRequest.SortOrderEnum?

The sort order to use, either ASC or DESC.

Implements

IOciRequest
In this article
Back to top