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