Package model
Class ListMerchantsQueryParams
- java.lang.Object
-
- model.ListMerchantsQueryParams
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ListMerchantsQueryParams extends Object
ListMerchantsQueryParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListMerchantsQueryParams.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_CREATED_AT_GTEstatic StringSERIALIZED_NAME_CREATED_AT_LTEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LIMITstatic StringSERIALIZED_NAME_SORT
-
Constructor Summary
Constructors Constructor Description ListMerchantsQueryParams()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMerchantsQueryParamsafterCursor(String afterCursor)ListMerchantsQueryParamsbeforeCursor(String beforeCursor)ListMerchantsQueryParamscreatedAtGte(String createdAtGte)ListMerchantsQueryParamscreatedAtLte(String createdAtLte)booleanequals(Object o)static ListMerchantsQueryParamsfromJson(String jsonString)Create an instance of ListMerchantsQueryParams given an JSON stringStringgetAfterCursor()Return every resource created after the cursor value.StringgetBeforeCursor()Return every resource created before the cursor value.StringgetCreatedAtGte()Filter where `created_at` is after the given date.StringgetCreatedAtLte()Filter where `created_at` is before the given date.StringgetId()Filter by `id`.LonggetLimit()The numbers of items to return.StringgetSort()Specify key to be used for sorting the collection.inthashCode()ListMerchantsQueryParamsid(String id)ListMerchantsQueryParamslimit(Long limit)voidsetAfterCursor(String afterCursor)voidsetBeforeCursor(String beforeCursor)voidsetCreatedAtGte(String createdAtGte)voidsetCreatedAtLte(String createdAtLte)voidsetId(String id)voidsetLimit(Long limit)voidsetSort(String sort)ListMerchantsQueryParamssort(String sort)StringtoJson()Convert an instance of ListMerchantsQueryParams 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT_GTE
public static final String SERIALIZED_NAME_CREATED_AT_GTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT_LTE
public static final String SERIALIZED_NAME_CREATED_AT_LTE
- 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
-
SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORT
public static final String SERIALIZED_NAME_SORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ListMerchantsQueryParams id(String id)
-
setId
public void setId(String id)
-
createdAtGte
public ListMerchantsQueryParams createdAtGte(String createdAtGte)
-
getCreatedAtGte
@Nullable public String getCreatedAtGte()
Filter where `created_at` is after the given date.- Returns:
- createdAtGte
-
setCreatedAtGte
public void setCreatedAtGte(String createdAtGte)
-
createdAtLte
public ListMerchantsQueryParams createdAtLte(String createdAtLte)
-
getCreatedAtLte
@Nullable public String getCreatedAtLte()
Filter where `created_at` is before the given date.- Returns:
- createdAtLte
-
setCreatedAtLte
public void setCreatedAtLte(String createdAtLte)
-
afterCursor
public ListMerchantsQueryParams 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 ListMerchantsQueryParams beforeCursor(String beforeCursor)
-
getBeforeCursor
@Nullable public String getBeforeCursor()
Return every resource created before the cursor value.- Returns:
- beforeCursor
-
setBeforeCursor
public void setBeforeCursor(String beforeCursor)
-
limit
public ListMerchantsQueryParams limit(Long limit)
-
setLimit
public void setLimit(Long limit)
-
sort
public ListMerchantsQueryParams sort(String sort)
-
getSort
@Nullable public String getSort()
Specify key to be used for sorting the collection.- Returns:
- sort
-
setSort
public void setSort(String sort)
-
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 ListMerchantsQueryParams
-
fromJson
public static ListMerchantsQueryParams fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of ListMerchantsQueryParams to an JSON string- Returns:
- JSON string
-
-