Package io.voucherify.client.model
Class LoyaltiesMembersPointsExpirationListResponseBody
java.lang.Object
io.voucherify.client.model.LoyaltiesMembersPointsExpirationListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesMembersPointsExpirationListResponseBody
extends Object
Response body schema for **GET** `v1/loyalties/{campaignId}/members/{memberId}/points-expiration`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of loyalty points expiration bucket objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of LoyaltiesMembersPointsExpirationListResponseBody given an JSON stringgetData()Contains array of loyalty points expiration buckets.Identifies the name of the attribute that contains the array of loyalty points expiration bucket objects.The type of the object represented by JSON.getTotal()Total number of point expiration buckets.inthashCode()voidvoidvoidvoidtoJson()Convert an instance of LoyaltiesMembersPointsExpirationListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesMembersPointsExpirationListResponseBody
public LoyaltiesMembersPointsExpirationListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about loyalty points expiration buckets in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of loyalty points expiration bucket objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
public LoyaltiesMembersPointsExpirationListResponseBody addDataItem(LoyaltiesMembersPointsExpirationListResponseBodyDataItem dataItem) -
getData
Contains array of loyalty points expiration buckets.- Returns:
- data
-
setData
-
total
-
getTotal
Total number of point expiration buckets.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesMembersPointsExpirationListResponseBody fromJson(String jsonString) throws IOException Create an instance of LoyaltiesMembersPointsExpirationListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesMembersPointsExpirationListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesMembersPointsExpirationListResponseBody
-
toJson
Convert an instance of LoyaltiesMembersPointsExpirationListResponseBody to an JSON string- Returns:
- JSON string
-