Package io.voucherify.client.model
Class ManagementProjectsListResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsListResponseBody
extends Object
Schema model for **GET** `managment/v1/projects`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of project objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(ManagementProject dataItem) data(List<ManagementProject> data) booleanCreate an instance of ManagementProjectsListResponseBody given an JSON stringgetData()Array of project objects.Identifies the name of the attribute that contains the array of project objects.The type of the object represented by JSON.getTotal()The total number of projects.inthashCode()voidsetData(List<ManagementProject> data) voidvoidvoidtoJson()Convert an instance of ManagementProjectsListResponseBody 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
-
ManagementProjectsListResponseBody
public ManagementProjectsListResponseBody()
-
-
Method Details
-
_object
public ManagementProjectsListResponseBody _object(ManagementProjectsListResponseBody.ObjectEnum _object) -
getObject
The type of the object represented by JSON. This object stores information about the projects in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
public ManagementProjectsListResponseBody dataRef(ManagementProjectsListResponseBody.DataRefEnum dataRef) -
getDataRef
Identifies the name of the attribute that contains the array of project objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of project objects.- Returns:
- data
-
setData
-
total
-
getTotal
The total number of projects.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ManagementProjectsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsListResponseBody
-
toJson
Convert an instance of ManagementProjectsListResponseBody to an JSON string- Returns:
- JSON string
-