Package io.voucherify.client.model
Class TrashBinListResponseBody
java.lang.Object
io.voucherify.client.model.TrashBinListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TrashBinListResponseBody
extends Object
Retrieves a list of the resources moved the bin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of bin entry objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(TrashBinItem dataItem) data(List<TrashBinItem> data) booleanstatic TrashBinListResponseBodyCreate an instance of TrashBinListResponseBody given an JSON stringgetData()Array of bin entry objects.Identifies the name of the attribute that contains the array of bin entry 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.If `has_more` is `true`, it returns an ID that can be used to return another page of results.The type of the object represented by JSON.getTotal()The total number of bin entries.inthashCode()moreStartingAfter(String moreStartingAfter) voidsetData(List<TrashBinItem> data) voidvoidsetHasMore(Boolean hasMore) voidsetMoreStartingAfter(String moreStartingAfter) voidvoidtoJson()Convert an instance of TrashBinListResponseBody 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
-
TrashBinListResponseBody
public TrashBinListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the bin entries in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of bin entry objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of bin entry objects.- Returns:
- data
-
setData
-
total
-
getTotal
The total number of bin entries. This is the number of the entries returned in the array, not the number of all matching results or all resources currently moved to the bin.- Returns:
- total
-
setTotal
-
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
If `has_more` is `true`, it returns an ID that can be used to return another page of results. Use the ID in the `starting_after_id` query parameter to display another page of the results occuring after the field with that ID.- Returns:
- moreStartingAfter
-
setMoreStartingAfter
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of TrashBinListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TrashBinListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to TrashBinListResponseBody
-
toJson
Convert an instance of TrashBinListResponseBody to an JSON string- Returns:
- JSON string
-