fix: bulk user missing constructors
This commit is contained in:
parent
b831d9b66e
commit
391c43a569
@ -1,12 +1,19 @@
|
|||||||
package fr.la_banquise.backend.rest.response;
|
package fr.la_banquise.backend.rest.response;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@RegisterForReflection
|
@RegisterForReflection
|
||||||
public class BulkUserDelResponse {
|
public class BulkUserDelResponse {
|
||||||
public List<String> success_names;
|
public List<String> success_names;
|
||||||
public List<String> failed_names;
|
public List<String> failed_names;
|
||||||
public List<String> failed_reasons;
|
public List<String> failed_reasons;
|
||||||
|
|
||||||
|
public BulkUserDelResponse() {
|
||||||
|
this.success_names = new ArrayList<String>();
|
||||||
|
this.failed_names = new ArrayList<String>();
|
||||||
|
this.failed_reasons = new ArrayList<String>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package fr.la_banquise.backend.rest.response;
|
package fr.la_banquise.backend.rest.response;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||||
@ -8,4 +9,9 @@ import io.quarkus.runtime.annotations.RegisterForReflection;
|
|||||||
public class BulkUserPostResponse {
|
public class BulkUserPostResponse {
|
||||||
public List<String> success_names;
|
public List<String> success_names;
|
||||||
public List<String> already_created;
|
public List<String> already_created;
|
||||||
|
|
||||||
|
public BulkUserPostResponse() {
|
||||||
|
this.success_names = new ArrayList<String>();
|
||||||
|
this.already_created = new ArrayList<String>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user