Package io.voucherify.client.model
Class LoyaltiesListMembersResponseBody
java.lang.Object
io.voucherify.client.model.LoyaltiesListMembersResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesListMembersResponseBody
extends Object
Response body schema for **GET** `v1/loyalties/{campaignId}/members`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of voucher objects. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVouchersItem(LoyaltyMember vouchersItem) booleanCreate an instance of LoyaltiesListMembersResponseBody given an JSON stringIdentifies the name of the attribute that contains the array of voucher objects.The type of the object represented by JSON.getTotal()Total number of voucher objects.Contains array of voucher objects representing loyalty cards, in other words, loyalty program members.inthashCode()voidvoidvoidvoidsetVouchers(List<LoyaltyMember> vouchers) toJson()Convert an instance of LoyaltiesListMembersResponseBody to an JSON stringtoString()vouchers(List<LoyaltyMember> vouchers)
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_VOUCHERS
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesListMembersResponseBody
public LoyaltiesListMembersResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about members in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
public LoyaltiesListMembersResponseBody dataRef(LoyaltiesListMembersResponseBody.DataRefEnum dataRef) -
getDataRef
Identifies the name of the attribute that contains the array of voucher objects.- Returns:
- dataRef
-
setDataRef
-
vouchers
-
addVouchersItem
-
getVouchers
Contains array of voucher objects representing loyalty cards, in other words, loyalty program members.- Returns:
- vouchers
-
setVouchers
-
total
-
getTotal
Total number of voucher objects.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LoyaltiesListMembersResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesListMembersResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesListMembersResponseBody
-
toJson
Convert an instance of LoyaltiesListMembersResponseBody to an JSON string- Returns:
- JSON string
-