*/ public function getOptions(): array; /** * Get the index. */ public function getIndex(): ?string; /** * Set the index. * * @param string|string[]|null $index * * @return $this */ public function setIndex(string|array|null $index): static; /** * Get the document ID. * * @param int|string|null $docID * * @return $this */ public function setId(int|string|null $docID): static; /** * Get the body of the request. */ public function getBody(): string|array|null; /** * Set the body of the request. * * @param string|iterable|null $body */ public function setBody(string|iterable|null $body): static; }