mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Apply api changes
This commit is contained in:
parent
2b684c9e5e
commit
2810dc4372
2 changed files with 4 additions and 4 deletions
|
@ -57,9 +57,9 @@ public class ConnectionQueryExchangeImpl extends ConnectionQueryExchange {
|
||||||
.getNames();
|
.getNames();
|
||||||
var cat = new StorePath(names.subList(1, names.size()));
|
var cat = new StorePath(names.subList(1, names.size()));
|
||||||
var obj = ConnectionQueryExchange.QueryResponse.builder()
|
var obj = ConnectionQueryExchange.QueryResponse.builder()
|
||||||
.uuid(e.getUuid())
|
.connection(e.getUuid())
|
||||||
.category(cat)
|
.category(cat)
|
||||||
.connection(DataStorage.get().getStorePath(e))
|
.name(DataStorage.get().getStorePath(e))
|
||||||
.type(e.getProvider().getId())
|
.type(e.getProvider().getId())
|
||||||
.build();
|
.build();
|
||||||
mapped.add(obj);
|
mapped.add(obj);
|
||||||
|
|
|
@ -45,13 +45,13 @@ public class ConnectionQueryExchange extends BeaconInterface<ConnectionQueryExch
|
||||||
@Value
|
@Value
|
||||||
public static class QueryResponse {
|
public static class QueryResponse {
|
||||||
@NonNull
|
@NonNull
|
||||||
UUID uuid;
|
UUID connection;
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
StorePath category;
|
StorePath category;
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
StorePath connection;
|
StorePath name;
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
String type;
|
String type;
|
||||||
|
|
Loading…
Reference in a new issue