Skip to content

Commit

Permalink
Add toString() to CreateIndexRequest class.
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Alvarez <7364145+guillaume-alvarez@users.noreply.github.com>
  • Loading branch information
guillaume-alvarez committed Feb 5, 2024
1 parent 0e22b0f commit cf55045
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,4 +594,16 @@ public void writeTo(StreamOutput out) throws IOException {
}
waitForActiveShards.writeTo(out);
}

@Override
public String toString() {
return "CreateIndexRequest{" +
"cause='" + cause + '\'' +
", index='" + index + '\'' +
", settings=" + settings +
", mappings='" + mappings + '\'' +
", aliases=" + aliases +
", waitForActiveShards=" + waitForActiveShards +
'}';
}
}

0 comments on commit cf55045

Please sign in to comment.