Package model
Class WebhooksList
- java.lang.Object
-
- model.WebhooksList
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WebhooksList extends Object
`Webhook` resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhooksList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMBEDDEDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PAGE
-
Constructor Summary
Constructors Constructor Description WebhooksList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhooksListembedded(WebhooksListEmbedded embedded)booleanequals(Object o)static WebhooksListfromJson(String jsonString)Create an instance of WebhooksList given an JSON stringWebhooksListEmbeddedgetEmbedded()Get embeddedListLinksgetLinks()Get linksPageCursorgetPage()Get pageinthashCode()WebhooksListlinks(ListLinks links)WebhooksListpage(PageCursor page)voidsetEmbedded(WebhooksListEmbedded embedded)voidsetLinks(ListLinks links)voidsetPage(PageCursor page)StringtoJson()Convert an instance of WebhooksList to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PAGE
public static final String SERIALIZED_NAME_PAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMBEDDED
public static final String SERIALIZED_NAME_EMBEDDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
page
public WebhooksList page(PageCursor page)
-
getPage
@Nullable public PageCursor getPage()
Get page- Returns:
- page
-
setPage
public void setPage(PageCursor page)
-
embedded
public WebhooksList embedded(WebhooksListEmbedded embedded)
-
getEmbedded
@Nullable public WebhooksListEmbedded getEmbedded()
Get embedded- Returns:
- embedded
-
setEmbedded
public void setEmbedded(WebhooksListEmbedded embedded)
-
links
public WebhooksList links(ListLinks links)
-
setLinks
public void setLinks(ListLinks links)
-
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 WebhooksList
-
fromJson
public static WebhooksList fromJson(String jsonString) throws IOException
Create an instance of WebhooksList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhooksList
- Throws:
IOException- if the JSON string is invalid with respect to WebhooksList
-
toJson
public String toJson()
Convert an instance of WebhooksList to an JSON string- Returns:
- JSON string
-
-