Package io.voucherify.client.model
Class RewardsListResponseBody
java.lang.Object
io.voucherify.client.model.RewardsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsListResponseBody
extends Object
Response body schema for **GET** `v1/rewards`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(Reward dataItem) booleanstatic RewardsListResponseBodyCreate an instance of RewardsListResponseBody given an JSON stringgetData()A dictionary that contains an array of rewards.Identifies the name of the attribute that contains the array of transaction objects.The type of the object represented by JSON.getTotal()Returns how many rewards in the project meet the limits defined by the query parameter definitions.inthashCode()voidvoidsetDataRef(String dataRef) voidvoidtoJson()Convert an instance of RewardsListResponseBody 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
-
RewardsListResponseBody
public RewardsListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of transaction objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
A dictionary that contains an array of rewards. Each entry in the array is a separate transaction object.- Returns:
- data
-
setData
-
total
-
getTotal
Returns how many rewards in the project meet the limits defined by the query parameter definitions.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RewardsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to RewardsListResponseBody
-
toJson
Convert an instance of RewardsListResponseBody to an JSON string- Returns:
- JSON string
-