Package io.voucherify.client.model
Class QualificationsRedeemables
java.lang.Object
io.voucherify.client.model.QualificationsRedeemables
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class QualificationsRedeemables
extends Object
List of redeemables for examine qualification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of qualified redeemables.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(QualificationsRedeemable dataItem) data(List<QualificationsRedeemable> data) booleanstatic QualificationsRedeemablesCreate an instance of QualificationsRedeemables given an JSON stringgetData()Array of qualified redeemables.Identifies the name of the attribute that contains the array of qualified redeemables.As results are always limited, the `has_more` flag indicates if there are more records for given parameters.Timestamp representing the date and time to use in `starting_after` cursor to get more redeemables.The type of the object represented by JSON.getTotal()The number of redeemables returned in the API request.inthashCode()moreStartingAfter(OffsetDateTime moreStartingAfter) voidsetData(List<QualificationsRedeemable> data) voidvoidsetHasMore(Boolean hasMore) voidsetMoreStartingAfter(OffsetDateTime moreStartingAfter) voidvoidtoJson()Convert an instance of QualificationsRedeemables 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:
-
SERIALIZED_NAME_HAS_MORE
- See Also:
-
SERIALIZED_NAME_MORE_STARTING_AFTER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QualificationsRedeemables
public QualificationsRedeemables()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. Default is `list`.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of qualified redeemables.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of qualified redeemables.- Returns:
- data
-
setData
-
total
-
getTotal
The number of redeemables returned in the API request.- Returns:
- total
-
setTotal
-
hasMore
-
getHasMore
As results are always limited, the `has_more` flag indicates if there are more records for given parameters. This lets you know if you can run another request (with different options) to get more records returned in the results.- Returns:
- hasMore
-
setHasMore
-
moreStartingAfter
-
getMoreStartingAfter
Timestamp representing the date and time to use in `starting_after` cursor to get more redeemables.- Returns:
- moreStartingAfter
-
setMoreStartingAfter
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of QualificationsRedeemables given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QualificationsRedeemables
- Throws:
IOException- if the JSON string is invalid with respect to QualificationsRedeemables
-
toJson
Convert an instance of QualificationsRedeemables to an JSON string- Returns:
- JSON string
-