We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c5d423 commit d423574Copy full SHA for d423574
client/rest-high-level/src/main/java/org/elasticsearch/client/ml/DeleteCalendarRequest.java
@@ -24,10 +24,17 @@
24
25
import java.util.Objects;
26
27
+/**
28
+ * Request to delete a Machine Learning Calendar
29
+ */
30
public class DeleteCalendarRequest extends ActionRequest {
31
32
private final String calendarId;
33
34
+ /**
35
+ * The constructor requires a single calendar id.
36
+ * @param calendarId The calendar to delete. Must be {@code non-null}
37
38
public DeleteCalendarRequest(String calendarId) {
39
this.calendarId = Objects.requireNonNull(calendarId, "[calendar_id] must not be null");
40
}
0 commit comments