Package io.voucherify.client.model
Class LoyaltiesTiersRewardsListResponseBody
java.lang.Object
io.voucherify.client.model.LoyaltiesTiersRewardsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesTiersRewardsListResponseBody
extends Object
Response body schema for **GET** `v1/loyalties/{campaignId}/tiers/{loyaltyTierId}/rewards`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(LoyaltiesLoyaltyTierReward dataItem) data(List<LoyaltiesLoyaltyTierReward> data) booleanCreate an instance of LoyaltiesTiersRewardsListResponseBody given an JSON stringgetData()Contains array of loyalty tier reward objects.Identifies the name of the attribute that contains the array of loyalty tier reward objects.The type of the object represented by JSON.getTotal()Total number of loyalty tier reward objects.inthashCode()voidvoidsetDataRef(String dataRef) voidvoidtoJson()Convert an instance of LoyaltiesTiersRewardsListResponseBody 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
-
LoyaltiesTiersRewardsListResponseBody
public LoyaltiesTiersRewardsListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about loyalty tier rewards in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of loyalty tier reward objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Contains array of loyalty tier reward objects.- Returns:
- data
-
setData
-
total
-
getTotal
Total number of loyalty tier reward objects.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LoyaltiesTiersRewardsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesTiersRewardsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesTiersRewardsListResponseBody
-
toJson
Convert an instance of LoyaltiesTiersRewardsListResponseBody to an JSON string- Returns:
- JSON string
-