Package model
Class ListMerchantProfilesQueryParams
- java.lang.Object
-
- model.ListMerchantProfilesQueryParams
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ListMerchantProfilesQueryParams extends Object
ListMerchantProfilesQueryParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListMerchantProfilesQueryParams.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_IDstatic StringSERIALIZED_NAME_LIMIT
-
Constructor Summary
Constructors Constructor Description ListMerchantProfilesQueryParams()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMerchantProfilesQueryParamsafterCursor(String afterCursor)ListMerchantProfilesQueryParamsbeforeCursor(String beforeCursor)booleanequals(Object o)static ListMerchantProfilesQueryParamsfromJson(String jsonString)Create an instance of ListMerchantProfilesQueryParams given an JSON stringStringgetAfterCursor()Return every resource created after the cursor value.StringgetBeforeCursor()Return every resource created before the cursor value.StringgetId()Filter by `id`.LonggetLimit()The numbers of items to return.inthashCode()ListMerchantProfilesQueryParamsid(String id)ListMerchantProfilesQueryParamslimit(Long limit)voidsetAfterCursor(String afterCursor)voidsetBeforeCursor(String beforeCursor)voidsetId(String id)voidsetLimit(Long limit)StringtoJson()Convert an instance of ListMerchantProfilesQueryParams 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_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_AFTER_CURSOR
public static final String SERIALIZED_NAME_AFTER_CURSOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ListMerchantProfilesQueryParams id(String id)
-
setId
public void setId(String id)
-
beforeCursor
public ListMerchantProfilesQueryParams 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 ListMerchantProfilesQueryParams limit(Long limit)
-
setLimit
public void setLimit(Long limit)
-
afterCursor
public ListMerchantProfilesQueryParams afterCursor(String afterCursor)
-
getAfterCursor
@Nullable public String getAfterCursor()
Return every resource created after the cursor value.- Returns:
- afterCursor
-
setAfterCursor
public void setAfterCursor(String afterCursor)
-
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 ListMerchantProfilesQueryParams
-
fromJson
public static ListMerchantProfilesQueryParams fromJson(String jsonString) throws IOException
Create an instance of ListMerchantProfilesQueryParams given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListMerchantProfilesQueryParams
- Throws:
IOException- if the JSON string is invalid with respect to ListMerchantProfilesQueryParams
-
toJson
public String toJson()
Convert an instance of ListMerchantProfilesQueryParams to an JSON string- Returns:
- JSON string
-
-