Show / Hide Table of Contents

Class GetPackageRequest

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

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

Properties

CompartmentId

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

The unique identifier for the compartment.

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.

PackageVersion

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

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

Remarks

Required

Implements

IOciRequest
In this article
Back to top