Package model
Class ListWebhooksQueryParams
java.lang.Object
model.ListWebhooksQueryParams
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ListWebhooksQueryParams
extends Object
ListWebhooksQueryParams
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCursor(String afterCursor) beforeCursor(String beforeCursor) booleanstatic ListWebhooksQueryParamsCreate an instance of ListWebhooksQueryParams given an JSON stringReturn every resource created after the cursor value.Return every resource created before the cursor value.getLimit()The numbers of items to returninthashCode()voidsetAfterCursor(String afterCursor) voidsetBeforeCursor(String beforeCursor) voidtoJson()Convert an instance of ListWebhooksQueryParams to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LIMIT
- See Also:
-
SERIALIZED_NAME_AFTER_CURSOR
- See Also:
-
SERIALIZED_NAME_BEFORE_CURSOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListWebhooksQueryParams
public ListWebhooksQueryParams()
-
-
Method Details
-
limit
-
getLimit
The numbers of items to return- Returns:
- limit
-
setLimit
-
afterCursor
-
getAfterCursor
Return every resource created after the cursor value.- Returns:
- afterCursor
-
setAfterCursor
-
beforeCursor
-
getBeforeCursor
Return every resource created before the cursor value.- Returns:
- beforeCursor
-
setBeforeCursor
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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 ListWebhooksQueryParams
-
fromJson
Create an instance of ListWebhooksQueryParams given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListWebhooksQueryParams
- Throws:
IOException- if the JSON string is invalid with respect to ListWebhooksQueryParams
-
toJson
Convert an instance of ListWebhooksQueryParams to an JSON string- Returns:
- JSON string
-