Class DataOptions
java.lang.Object
io.lenra.api.internal.client.model.DataOptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-05T16:58:04.750750451Z[Etc/UTC]")
public class DataOptions
extends Object
Mongo data query options
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DataOptionsCreate an instance of DataOptions given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getLimit()Get limitgetSkip()Get skipgetSort()Get sortinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoJson()Convert an instance of DataOptions 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_LIMIT
- See Also:
-
SERIALIZED_NAME_SKIP
- See Also:
-
SERIALIZED_NAME_SORT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DataOptions
public DataOptions()
-
-
Method Details
-
limit
-
getLimit
Get limit- Returns:
- limit
-
setLimit
-
skip
-
getSkip
Get skip- Returns:
- skip
-
setSkip
-
sort
-
getSort
Get sort- Returns:
- sort
-
setSort
-
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 DataOptions 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 DataOptions
-
fromJson
Create an instance of DataOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DataOptions
- Throws:
IOException- if the JSON string is invalid with respect to DataOptions
-
toJson
Convert an instance of DataOptions to an JSON string- Returns:
- JSON string
-