Package io.voucherify.client.model
Class CustomersActivityListResponseBody
java.lang.Object
io.voucherify.client.model.CustomersActivityListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomersActivityListResponseBody
extends Object
Response body schema for **GET** `v1/customers/{customerId}/activity`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(CustomerActivity dataItem) data(List<CustomerActivity> data) booleanCreate an instance of CustomersActivityListResponseBody given an JSON stringgetData()Array of customer activity objects.Identifies the name of the attribute that contains the array of customer activity objects.As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters.Returns an ID that can be used to return another page of results.The type of the object represented by JSON.inthashCode()moreStartingAfter(String moreStartingAfter) voidsetData(List<CustomerActivity> data) voidsetDataRef(String dataRef) voidsetHasMore(Boolean hasMore) voidsetMoreStartingAfter(String moreStartingAfter) voidtoJson()Convert an instance of CustomersActivityListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_HAS_MORE
- See Also:
-
SERIALIZED_NAME_MORE_STARTING_AFTER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomersActivityListResponseBody
public CustomersActivityListResponseBody()
-
-
Method Details
-
_object
public CustomersActivityListResponseBody _object(CustomersActivityListResponseBody.ObjectEnum _object) -
getObject
The type of the object represented by JSON. This object stores information about customer activities in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of customer activity objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of customer activity objects.- Returns:
- data
-
setData
-
hasMore
-
getHasMore
As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters. This lets you know if you can run another request with a `starting_after_id` query or a different limit to get more records returned in the results.- Returns:
- hasMore
-
setHasMore
-
moreStartingAfter
-
getMoreStartingAfter
Returns an ID that can be used to return another page of results. Use the event ID in the `starting_after_id` query parameter to display another page of the results starting after the event with that ID.- Returns:
- moreStartingAfter
-
setMoreStartingAfter
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomersActivityListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomersActivityListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to CustomersActivityListResponseBody
-
toJson
Convert an instance of CustomersActivityListResponseBody to an JSON string- Returns:
- JSON string
-