Class InsertManyDocumentsRequest
java.lang.Object
io.lenra.api.internal.client.model.InsertManyDocumentsRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-05T16:58:04.750750451Z[Etc/UTC]")
public class InsertManyDocumentsRequest
extends Object
InsertManyDocumentsRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InsertManyDocumentsRequestCreate an instance of InsertManyDocumentsRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get documentsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDocuments(Object documents) toJson()Convert an instance of InsertManyDocumentsRequest 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_DOCUMENTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InsertManyDocumentsRequest
public InsertManyDocumentsRequest()
-
-
Method Details
-
documents
-
getDocuments
Get documents- Returns:
- documents
-
setDocuments
-
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 InsertManyDocumentsRequest 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 InsertManyDocumentsRequest
-
fromJson
Create an instance of InsertManyDocumentsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InsertManyDocumentsRequest
- Throws:
IOException- if the JSON string is invalid with respect to InsertManyDocumentsRequest
-
toJson
Convert an instance of InsertManyDocumentsRequest to an JSON string- Returns:
- JSON string
-