Class InsertManyDocuments200Response

java.lang.Object
io.lenra.api.internal.client.model.InsertManyDocuments200Response

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-05T16:58:04.750750451Z[Etc/UTC]") public class InsertManyDocuments200Response extends Object
InsertManyDocuments200Response
  • Field Details

  • Constructor Details

    • InsertManyDocuments200Response

      public InsertManyDocuments200Response()
  • Method Details

    • insertedIds

      public InsertManyDocuments200Response insertedIds(List<String> insertedIds)
    • addInsertedIdsItem

      public InsertManyDocuments200Response addInsertedIdsItem(String insertedIdsItem)
    • getInsertedIds

      @Nonnull public List<String> getInsertedIds()
      Get insertedIds
      Returns:
      insertedIds
    • setInsertedIds

      public void setInsertedIds(List<String> insertedIds)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 InsertManyDocuments200Response
    • fromJson

      public static InsertManyDocuments200Response fromJson(String jsonString) throws IOException
      Create an instance of InsertManyDocuments200Response given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of InsertManyDocuments200Response
      Throws:
      IOException - if the JSON string is invalid with respect to InsertManyDocuments200Response
    • toJson

      public String toJson()
      Convert an instance of InsertManyDocuments200Response to an JSON string
      Returns:
      JSON string