Package model
Class ListMerchantsQueryParams
java.lang.Object
model.ListMerchantsQueryParams
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ListMerchantsQueryParams
extends Object
ListMerchantsQueryParams
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCursor(String afterCursor) beforeCursor(String beforeCursor) createdAtGte(String createdAtGte) createdAtLte(String createdAtLte) booleanstatic ListMerchantsQueryParamsCreate an instance of ListMerchantsQueryParams given an JSON stringReturn every resource created after the cursor value.Return every resource created before the cursor value.Filter where created_at is after the given date.Filter where created_at is before the given date.getId()Filter by idgetLimit()The numbers of items to returngetSort()Specify key to be used for sorting the collectioninthashCode()voidsetAfterCursor(String afterCursor) voidsetBeforeCursor(String beforeCursor) voidsetCreatedAtGte(String createdAtGte) voidsetCreatedAtLte(String createdAtLte) voidvoidvoidtoJson()Convert an instance of ListMerchantsQueryParams 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_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT_GTE
- See Also:
-
SERIALIZED_NAME_CREATED_AT_LTE
- See Also:
-
SERIALIZED_NAME_SORT
- See Also:
-
SERIALIZED_NAME_AFTER_CURSOR
- See Also:
-
SERIALIZED_NAME_LIMIT
- See Also:
-
SERIALIZED_NAME_BEFORE_CURSOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListMerchantsQueryParams
public ListMerchantsQueryParams()
-
-
Method Details
-
id
-
getId
Filter by id- Returns:
- id
-
setId
-
createdAtGte
-
getCreatedAtGte
Filter where created_at is after the given date.- Returns:
- createdAtGte
-
setCreatedAtGte
-
createdAtLte
-
getCreatedAtLte
Filter where created_at is before the given date.- Returns:
- createdAtLte
-
setCreatedAtLte
-
sort
-
getSort
Specify key to be used for sorting the collection- Returns:
- sort
-
setSort
-
afterCursor
-
getAfterCursor
Return every resource created after the cursor value.- Returns:
- afterCursor
-
setAfterCursor
-
limit
-
getLimit
The numbers of items to return- Returns:
- limit
-
setLimit
-
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 ListMerchantsQueryParams
-
fromJson
Create an instance of ListMerchantsQueryParams given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListMerchantsQueryParams
- Throws:
IOException- if the JSON string is invalid with respect to ListMerchantsQueryParams
-
toJson
Convert an instance of ListMerchantsQueryParams to an JSON string- Returns:
- JSON string
-