|
23 | 23 | public final class ConfigurablePropAlert {
|
24 | 24 | private final Optional<String> type;
|
25 | 25 |
|
26 |
| - private final Optional<ConfigurablePropAlertAlertType> alertType; |
| 26 | + private final Optional<ConfigurablePropAlertType> alertType; |
27 | 27 |
|
28 | 28 | private final Optional<String> content;
|
29 | 29 |
|
@@ -51,7 +51,7 @@ public final class ConfigurablePropAlert {
|
51 | 51 |
|
52 | 52 | private ConfigurablePropAlert(
|
53 | 53 | Optional<String> type,
|
54 |
| - Optional<ConfigurablePropAlertAlertType> alertType, |
| 54 | + Optional<ConfigurablePropAlertType> alertType, |
55 | 55 | Optional<String> content,
|
56 | 56 | String name,
|
57 | 57 | Optional<String> label,
|
@@ -85,11 +85,8 @@ public Optional<String> getType() {
|
85 | 85 | return type;
|
86 | 86 | }
|
87 | 87 |
|
88 |
| - /** |
89 |
| - * @return The severity level of the alert. |
90 |
| - */ |
91 | 88 | @JsonProperty("alertType")
|
92 |
| - public Optional<ConfigurablePropAlertAlertType> getAlertType() { |
| 89 | + public Optional<ConfigurablePropAlertType> getAlertType() { |
93 | 90 | return alertType;
|
94 | 91 | }
|
95 | 92 |
|
@@ -251,12 +248,9 @@ public interface _FinalStage {
|
251 | 248 |
|
252 | 249 | _FinalStage type(String type);
|
253 | 250 |
|
254 |
| - /** |
255 |
| - * <p>The severity level of the alert.</p> |
256 |
| - */ |
257 |
| - _FinalStage alertType(Optional<ConfigurablePropAlertAlertType> alertType); |
| 251 | + _FinalStage alertType(Optional<ConfigurablePropAlertType> alertType); |
258 | 252 |
|
259 |
| - _FinalStage alertType(ConfigurablePropAlertAlertType alertType); |
| 253 | + _FinalStage alertType(ConfigurablePropAlertType alertType); |
260 | 254 |
|
261 | 255 | /**
|
262 | 256 | * <p>The content of the alert, which can include HTML or plain text.</p>
|
@@ -353,7 +347,7 @@ public static final class Builder implements NameStage, _FinalStage {
|
353 | 347 |
|
354 | 348 | private Optional<String> content = Optional.empty();
|
355 | 349 |
|
356 |
| - private Optional<ConfigurablePropAlertAlertType> alertType = Optional.empty(); |
| 350 | + private Optional<ConfigurablePropAlertType> alertType = Optional.empty(); |
357 | 351 |
|
358 | 352 | private Optional<String> type = Optional.empty();
|
359 | 353 |
|
@@ -592,22 +586,15 @@ public _FinalStage content(Optional<String> content) {
|
592 | 586 | return this;
|
593 | 587 | }
|
594 | 588 |
|
595 |
| - /** |
596 |
| - * <p>The severity level of the alert.</p> |
597 |
| - * @return Reference to {@code this} so that method calls can be chained together. |
598 |
| - */ |
599 | 589 | @java.lang.Override
|
600 |
| - public _FinalStage alertType(ConfigurablePropAlertAlertType alertType) { |
| 590 | + public _FinalStage alertType(ConfigurablePropAlertType alertType) { |
601 | 591 | this.alertType = Optional.ofNullable(alertType);
|
602 | 592 | return this;
|
603 | 593 | }
|
604 | 594 |
|
605 |
| - /** |
606 |
| - * <p>The severity level of the alert.</p> |
607 |
| - */ |
608 | 595 | @java.lang.Override
|
609 | 596 | @JsonSetter(value = "alertType", nulls = Nulls.SKIP)
|
610 |
| - public _FinalStage alertType(Optional<ConfigurablePropAlertAlertType> alertType) { |
| 597 | + public _FinalStage alertType(Optional<ConfigurablePropAlertType> alertType) { |
611 | 598 | this.alertType = alertType;
|
612 | 599 | return this;
|
613 | 600 | }
|
|
0 commit comments