Package io.voucherify.client.model
Class OrdersListResponseBody
java.lang.Object
io.voucherify.client.model.OrdersListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class OrdersListResponseBody
extends Object
Response body schema representing **GET** `v1/orders`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of order objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_object(OrdersListResponseBody.ObjectEnum _object) addOrdersItem(OrderCalculated ordersItem) booleanstatic OrdersListResponseBodyCreate an instance of OrdersListResponseBody given an JSON stringIdentifies the name of the attribute that contains the array of order objects.The type of the object represented by JSON.Contains array of order objects.getTotal()Total number of orders.inthashCode()orders(List<OrderCalculated> orders) voidvoidvoidsetOrders(List<OrderCalculated> orders) voidtoJson()Convert an instance of OrdersListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_ORDERS
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OrdersListResponseBody
public OrdersListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about orders in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of order objects.- Returns:
- dataRef
-
setDataRef
-
orders
-
addOrdersItem
-
getOrders
Contains array of order objects.- Returns:
- orders
-
setOrders
-
total
-
getTotal
Total number of orders.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of OrdersListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrdersListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to OrdersListResponseBody
-
toJson
Convert an instance of OrdersListResponseBody to an JSON string- Returns:
- JSON string
-