mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +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();
|
||||
var cat = new StorePath(names.subList(1, names.size()));
|
||||
var obj = ConnectionQueryExchange.QueryResponse.builder()
|
||||
.uuid(e.getUuid())
|
||||
.connection(e.getUuid())
|
||||
.category(cat)
|
||||
.connection(DataStorage.get().getStorePath(e))
|
||||
.name(DataStorage.get().getStorePath(e))
|
||||
.type(e.getProvider().getId())
|
||||
.build();
|
||||
mapped.add(obj);
|
||||
|
|
|
@ -45,13 +45,13 @@ public class ConnectionQueryExchange extends BeaconInterface<ConnectionQueryExch
|
|||
@Value
|
||||
public static class QueryResponse {
|
||||
@NonNull
|
||||
UUID uuid;
|
||||
UUID connection;
|
||||
|
||||
@NonNull
|
||||
StorePath category;
|
||||
|
||||
@NonNull
|
||||
StorePath connection;
|
||||
StorePath name;
|
||||
|
||||
@NonNull
|
||||
String type;
|
||||
|
|
Loading…
Reference in a new issue