Package model
Class ListFilesQueryParams
- java.lang.Object
-
- model.ListFilesQueryParams
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ListFilesQueryParams extends Object
ListFilesQueryParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListFilesQueryParams.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_SORTstatic StringSERIALIZED_NAME_UPDATED_AT_GTEstatic StringSERIALIZED_NAME_UPDATED_AT_LTE
-
Constructor Summary
Constructors Constructor Description ListFilesQueryParams()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFilesQueryParamsafterCursor(String afterCursor)ListFilesQueryParamsbeforeCursor(String beforeCursor)ListFilesQueryParamscreatedAtGte(String createdAtGte)ListFilesQueryParamscreatedAtLte(String createdAtLte)booleanequals(Object o)static ListFilesQueryParamsfromJson(String jsonString)Create an instance of ListFilesQueryParams 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.StringgetUpdatedAtGte()Filter where `updated_at` is after the given date.StringgetUpdatedAtLte()Filter where `updated_at` is before the given date.inthashCode()ListFilesQueryParamsid(String id)ListFilesQueryParamslimit(Long limit)voidsetAfterCursor(String afterCursor)voidsetBeforeCursor(String beforeCursor)voidsetCreatedAtGte(String createdAtGte)voidsetCreatedAtLte(String createdAtLte)voidsetId(String id)voidsetLimit(Long limit)voidsetSort(String sort)voidsetUpdatedAtGte(String updatedAtGte)voidsetUpdatedAtLte(String updatedAtLte)ListFilesQueryParamssort(String sort)StringtoJson()Convert an instance of ListFilesQueryParams to an JSON stringStringtoString()ListFilesQueryParamsupdatedAtGte(String updatedAtGte)ListFilesQueryParamsupdatedAtLte(String updatedAtLte)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_SORT
public static final String SERIALIZED_NAME_SORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AFTER_CURSOR
public static final String SERIALIZED_NAME_AFTER_CURSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
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_UPDATED_AT_GTE
public static final String SERIALIZED_NAME_UPDATED_AT_GTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT_LTE
public static final String SERIALIZED_NAME_UPDATED_AT_LTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BEFORE_CURSOR
public static final String SERIALIZED_NAME_BEFORE_CURSOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
sort
public ListFilesQueryParams 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)
-
afterCursor
public ListFilesQueryParams afterCursor(String afterCursor)
-
getAfterCursor
@Nullable public String getAfterCursor()
Return every resource created after the cursor value.- Returns:
- afterCursor
-
setAfterCursor
public void setAfterCursor(String afterCursor)
-
limit
public ListFilesQueryParams limit(Long limit)
-
setLimit
public void setLimit(Long limit)
-
id
public ListFilesQueryParams id(String id)
-
setId
public void setId(String id)
-
createdAtGte
public ListFilesQueryParams 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 ListFilesQueryParams 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)
-
updatedAtGte
public ListFilesQueryParams updatedAtGte(String updatedAtGte)
-
getUpdatedAtGte
@Nullable public String getUpdatedAtGte()
Filter where `updated_at` is after the given date.- Returns:
- updatedAtGte
-
setUpdatedAtGte
public void setUpdatedAtGte(String updatedAtGte)
-
updatedAtLte
public ListFilesQueryParams updatedAtLte(String updatedAtLte)
-
getUpdatedAtLte
@Nullable public String getUpdatedAtLte()
Filter where `updated_at` is before the given date.- Returns:
- updatedAtLte
-
setUpdatedAtLte
public void setUpdatedAtLte(String updatedAtLte)
-
beforeCursor
public ListFilesQueryParams 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 ListFilesQueryParams
-
fromJson
public static ListFilesQueryParams fromJson(String jsonString) throws IOException
Create an instance of ListFilesQueryParams given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListFilesQueryParams
- Throws:
IOException- if the JSON string is invalid with respect to ListFilesQueryParams
-
toJson
public String toJson()
Convert an instance of ListFilesQueryParams to an JSON string- Returns:
- JSON string
-
-