Skip to content

Commit a3c2ff4

Browse files
author
ci.datadog-api-spec
committed
pre-commit fixes
1 parent 674cf75 commit a3c2ff4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

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

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

296295
static {
@@ -370,7 +369,7 @@ public String getString() throws ClassCastException {
370369
* @return The actual instance of `List&lt;String&gt;`
371370
* @throws ClassCastException if the instance is not `List&lt;String&gt;`
372371
*/
373-
public List<String> getStringList() throws ClassCastException {
372+
public List<String> getList() throws ClassCastException {
374373
return (List<String>) super.getActualInstance();
375374
}
376375

@@ -392,7 +391,7 @@ public Double getDouble() throws ClassCastException {
392391
* @return The actual instance of `List&lt;Double&gt;`
393392
* @throws ClassCastException if the instance is not `List&lt;Double&gt;`
394393
*/
395-
public List<Double> getDoubleList() throws ClassCastException {
394+
public List<Double> getList() throws ClassCastException {
396395
return (List<Double>) super.getActualInstance();
397396
}
398397
}

0 commit comments

Comments
 (0)