Package model
Class ListWebhooksQueryParams
- java.lang.Object
-
- model.ListWebhooksQueryParams
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ListWebhooksQueryParams extends Object
ListWebhooksQueryParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListWebhooksQueryParams.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AFTER_CURSORstatic StringSERIALIZED_NAME_BEFORE_CURSORstatic StringSERIALIZED_NAME_LIMIT
-
Constructor Summary
Constructors Constructor Description ListWebhooksQueryParams()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWebhooksQueryParamsafterCursor(String afterCursor)ListWebhooksQueryParamsbeforeCursor(String beforeCursor)booleanequals(Object o)static ListWebhooksQueryParamsfromJson(String jsonString)Create an instance of ListWebhooksQueryParams given an JSON stringStringgetAfterCursor()Return every resource created after the cursor value.StringgetBeforeCursor()Return every resource created before the cursor value.LonggetLimit()The numbers of items to return.inthashCode()ListWebhooksQueryParamslimit(Long limit)voidsetAfterCursor(String afterCursor)voidsetBeforeCursor(String beforeCursor)voidsetLimit(Long limit)StringtoJson()Convert an instance of ListWebhooksQueryParams 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_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AFTER_CURSOR
public static final String SERIALIZED_NAME_AFTER_CURSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BEFORE_CURSOR
public static final String SERIALIZED_NAME_BEFORE_CURSOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
limit
public ListWebhooksQueryParams limit(Long limit)
-
setLimit
public void setLimit(Long limit)
-
afterCursor
public ListWebhooksQueryParams afterCursor(String afterCursor)
-
getAfterCursor
@Nullable public String getAfterCursor()
Return every resource created after the cursor value.- Returns:
- afterCursor
-
setAfterCursor
public void setAfterCursor(String afterCursor)
-
beforeCursor
public ListWebhooksQueryParams beforeCursor(String beforeCursor)
-
getBeforeCursor
@Nullable public String getBeforeCursor()
Return every resource created before the cursor value.- Returns:
- beforeCursor
-
setBeforeCursor
public void setBeforeCursor(String beforeCursor)
-
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 ListWebhooksQueryParams
-
fromJson
public static ListWebhooksQueryParams fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of ListWebhooksQueryParams to an JSON string- Returns:
- JSON string
-
-