Spaces:
Running
Running
Download FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 955 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs
-
curl -L -o TaskNodeDtos.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs
955 Bytes
| using FlowAPI.Domain.Enums; | |
| namespace FlowAPI.Application.DTOs.TaskNode | |
| { | |
| public class CreateTaskNodeDto | |
| { | |
| public Guid GraphId { get; set; } | |
| public string Label { get; set; } = string.Empty; | |
| public double PosX { get; set; } | |
| public double PosY { get; set; } | |
| public NodeState State { get; set; } = NodeState.Pending; | |
| } | |
| public class UpdateTaskNodeDto | |
| { | |
| public string? Label { get; set; } | |
| public double? PosX { get; set; } | |
| public double? PosY { get; set; } | |
| public NodeState? State { get; set; } | |
| } | |
| public class TaskNodeResponseDto | |
| { | |
| public Guid Id { get; set; } | |
| public Guid GraphId { get; set; } | |
| public string Label { get; set; } = string.Empty; | |
| public double PosX { get; set; } | |
| public double PosY { get; set; } | |
| public NodeState State { get; set; } | |
| public DateTime CreatedAt { get; set; } | |
| } | |
| } | |