Class ListRedemptionsRequest
Implements
Inherited Members
Namespace: Oci.UsageService.Requests
Assembly: OCI.DotNetSDK.Usage.dll
Syntax
public class ListRedemptionsRequest : IOciRequest
Examples
Click here to see an example of how to use ListRedemptions request.
Properties
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return in the paginated response. |
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 call. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListRedemptionsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListRedemptionsRequest.SortByEnum? | The field to be used only for list redemptions API. Supports one sort order. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListRedemptionsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListRedemptionsRequest.SortOrderEnum? | The sort order to use, which can be ascending (ASC) or descending (DESC). |
SubscriptionId
Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[HttpConverter(TargetEnum.Path, "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The subscription ID for which rewards information is requested for. |
Remarks
Required
TenancyId
Declaration
[Required(ErrorMessage = "TenancyId is required.")]
[HttpConverter(TargetEnum.Query, "tenancyId")]
public string TenancyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy. |
Remarks
Required
TimeRedeemedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeRedeemedGreaterThanOrEqualTo")]
public DateTime? TimeRedeemedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The starting redeemed date filter for the redemption history. |
TimeRedeemedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeRedeemedLessThan")]
public DateTime? TimeRedeemedLessThan { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The ending redeemed date filter for the redemption history. |