Class FindDocumentsRequest
java.lang.Object
io.lenra.api.internal.client.model.FindDocumentsRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-05T16:58:04.750750451Z[Etc/UTC]")
public class FindDocumentsRequest
extends Object
FindDocumentsRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FindDocumentsRequestCreate an instance of FindDocumentsRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get optionsGet projectiongetQuery()Mongo data queryinthashCode()options(DataOptions options) projection(Map<String, Object> projection) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOptions(DataOptions options) voidsetProjection(Map<String, Object> projection) voidtoJson()Convert an instance of FindDocumentsRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_QUERY
- See Also:
-
SERIALIZED_NAME_PROJECTION
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FindDocumentsRequest
public FindDocumentsRequest()
-
-
Method Details
-
query
-
getQuery
Mongo data query- Returns:
- query
-
setQuery
-
projection
-
getProjection
Get projection- Returns:
- projection
-
setProjection
-
options
-
getOptions
Get options- Returns:
- options
-
setOptions
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the FindDocumentsRequest instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to FindDocumentsRequest
-
fromJson
Create an instance of FindDocumentsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FindDocumentsRequest
- Throws:
IOException- if the JSON string is invalid with respect to FindDocumentsRequest
-
toJson
Convert an instance of FindDocumentsRequest to an JSON string- Returns:
- JSON string
-