Class ListSubscriptionsRequest
Implements
Inherited Members
Namespace: Oci.OnesubscriptionService.Requests
Assembly: OCI.DotNetSDK.Onesubscription.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 root 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: ( |
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 |