@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public class ListRedemptionsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListRedemptionsRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListRedemptionsRequest.Builder |
static class |
ListRedemptionsRequest.SortBy
The field to be used only for list redemptions API.
|
static class |
ListRedemptionsRequest.SortOrder
The sort order to use, which can be ascending (ASC) or descending (DESC).
|
Constructor and Description |
---|
ListRedemptionsRequest() |
Modifier and Type | Method and Description |
---|---|
static ListRedemptionsRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
Integer |
getLimit()
The maximum number of items to return in the paginated response.
|
String |
getOpcRequestId()
Unique, Oracle-assigned identifier for the request.
|
String |
getPage()
The value of the ‘opc-next-page’ response header from the previous call.
|
ListRedemptionsRequest.SortBy |
getSortBy()
The field to be used only for list redemptions API.
|
ListRedemptionsRequest.SortOrder |
getSortOrder()
The sort order to use, which can be ascending (ASC) or descending (DESC).
|
String |
getSubscriptionId()
The subscription ID for which rewards information is requested for.
|
String |
getTenancyId()
The OCID of the tenancy.
|
Date |
getTimeRedeemedGreaterThanOrEqualTo()
The starting redeemed date filter for the redemption history.
|
Date |
getTimeRedeemedLessThan()
The ending redeemed date filter for the redemption history.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListRedemptionsRequest.Builder |
toBuilder()
Return an instance of
ListRedemptionsRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getTenancyId()
The OCID of the tenancy.
public String getSubscriptionId()
The subscription ID for which rewards information is requested for.
public Date getTimeRedeemedGreaterThanOrEqualTo()
The starting redeemed date filter for the redemption history.
public Date getTimeRedeemedLessThan()
The ending redeemed date filter for the redemption history.
public String getOpcRequestId()
Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public String getPage()
The value of the ‘opc-next-page’ response header from the previous call.
public Integer getLimit()
The maximum number of items to return in the paginated response.
public ListRedemptionsRequest.SortOrder getSortOrder()
The sort order to use, which can be ascending (ASC) or descending (DESC).
public ListRedemptionsRequest.SortBy getSortBy()
The field to be used only for list redemptions API. Supports one sort order.
public ListRedemptionsRequest.Builder toBuilder()
Return an instance of ListRedemptionsRequest.Builder
that allows you to modify request properties.
ListRedemptionsRequest.Builder
that allows you to modify request properties.public static ListRedemptionsRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.