-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d37da5
commit b7902da
Showing
5 changed files
with
104 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
.../itmo/ctlab/hict/hict_server/dto/request/scaffolding/MoveSelectionToDebrisRequestDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ru.itmo.ctlab.hict.hict_server.dto.request.scaffolding; | ||
|
||
import io.vertx.core.json.JsonObject; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public record MoveSelectionToDebrisRequestDTO( | ||
long startBP, | ||
long endBP | ||
) { | ||
|
||
public static @NotNull MoveSelectionToDebrisRequestDTO fromJSONObject(final @NotNull JsonObject json) { | ||
return new MoveSelectionToDebrisRequestDTO( | ||
json.getLong("startBP"), | ||
json.getLong("endBP") | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters