File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
algoliasearch/src/main/java/com/algolia/model Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 66import com .fasterxml .jackson .annotation .*;
77import com .fasterxml .jackson .databind .annotation .*;
88
9- /** Type of indexing operation. */
9+ /**
10+ * Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the
11+ * \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or
12+ * replaces records in an index. Equivalent to the \"Add or replace a record\" operation. -
13+ * `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or
14+ * update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record
15+ * with the specified `objectID` doesn't exist in the specified index, this action creates adds the
16+ * record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with
17+ * `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't
18+ * exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\"
19+ * operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. -
20+ * `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index
21+ * operation\".
22+ */
1023public enum Action {
1124 ADD_OBJECT ("addObject" ),
1225
Original file line number Diff line number Diff line change 66import com .fasterxml .jackson .annotation .*;
77import com .fasterxml .jackson .databind .annotation .*;
88
9- /** Type of indexing operation. */
9+ /**
10+ * Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the
11+ * \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or
12+ * replaces records in an index. Equivalent to the \"Add or replace a record\" operation. -
13+ * `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or
14+ * update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record
15+ * with the specified `objectID` doesn't exist in the specified index, this action creates adds the
16+ * record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with
17+ * `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't
18+ * exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\"
19+ * operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. -
20+ * `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index
21+ * operation\".
22+ */
1023public enum Action {
1124 ADD_OBJECT ("addObject" ),
1225
You can’t perform that action at this time.
0 commit comments