Show / Hide Table of Contents

Class ListSubscriptionsRequest

Inheritance
object
ListSubscriptionsRequest
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.OsubsubscriptionService.Requests
Assembly: OCI.DotNetSDK.Osubsubscription.dll
Syntax
public class ListSubscriptionsRequest : IOciRequest
Examples

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

Properties

BuyerEmail

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

Buyer Email Id

CompartmentId

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

The OCID of the compartment.

Remarks

Required

IsCommitInfoRequired

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

Boolean value to decide whether commitment services will be shown

Limit

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

The maximum number of items to return in a paginated "List" call. Default: (50)
Example: 500

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.

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.

PlanNumber

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

The Plan Number

SortBy

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

The field to sort by. You can provide one sort order (sortOrder).

SortOrder

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

The sort order to use, either ascending (ASC) or descending (DESC).

SubscriptionId

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

Line level Subscription Id

XOneGatewaySubscriptionId

Declaration
[HttpConverter(TargetEnum.Header, "x-one-gateway-subscription-id")]
public string XOneGatewaySubscriptionId { get; set; }
Property Value
Type Description
string

This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is to help on Gateway to API calls identification.

XOneOriginRegion

Declaration
[HttpConverter(TargetEnum.Header, "x-one-origin-region")]
public string XOneOriginRegion { get; set; }
Property Value
Type Description
string

The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.

Implements

IOciRequest
In this article
Back to top