Skip to content

Commit 229baea

Browse files
author
ci.datadog-api-spec
committed
pre-commit fixes
1 parent d8d2474 commit 229baea

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/com/datadog/api/client/v2/model/CustomAttributeValuesUnion.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,10 @@ public CustomAttributeValuesUnion(Double o) {
287287
setActualInstance(o);
288288
}
289289

290-
public CustomAttributeValuesUnion(List<Double> o) {
291-
super("oneOf", Boolean.FALSE);
292-
setActualInstance(o);
290+
public static CustomAttributeValuesUnion fromListDouble(List<Double> o) {
291+
CustomAttributeValuesUnion instance = new CustomAttributeValuesUnion();
292+
instance.setActualInstance(o);
293+
return instance;
293294
}
294295

295296
static {
@@ -391,7 +392,7 @@ public Double getDouble() throws ClassCastException {
391392
* @return The actual instance of `List&lt;Double&gt;`
392393
* @throws ClassCastException if the instance is not `List&lt;Double&gt;`
393394
*/
394-
public List<Double> getList() throws ClassCastException {
395+
public List<Double> getListDouble() throws ClassCastException {
395396
return (List<Double>) super.getActualInstance();
396397
}
397398
}

0 commit comments

Comments
 (0)