Package model
Class WebhooksListEmbedded
- java.lang.Object
-
- model.WebhooksListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WebhooksListEmbedded extends Object
List of `Webhook` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhooksListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_WEBHOOKS
-
Constructor Summary
Constructors Constructor Description WebhooksListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhooksListEmbeddedaddWebhooksItem(Webhook webhooksItem)booleanequals(Object o)static WebhooksListEmbeddedfromJson(String jsonString)Create an instance of WebhooksListEmbedded given an JSON stringSet<Webhook>getWebhooks()`Webhook` objects.inthashCode()voidsetWebhooks(Set<Webhook> webhooks)StringtoJson()Convert an instance of WebhooksListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundWebhooksListEmbeddedwebhooks(Set<Webhook> webhooks)
-
-
-
Method Detail
-
webhooks
public WebhooksListEmbedded webhooks(Set<Webhook> webhooks)
-
addWebhooksItem
public WebhooksListEmbedded addWebhooksItem(Webhook webhooksItem)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to WebhooksListEmbedded
-
fromJson
public static WebhooksListEmbedded fromJson(String jsonString) throws IOException
Create an instance of WebhooksListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhooksListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to WebhooksListEmbedded
-
toJson
public String toJson()
Convert an instance of WebhooksListEmbedded to an JSON string- Returns:
- JSON string
-
-