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/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/DTOs/TaskNode/TaskNodeDtos.cs
-
curl -L -o TaskNodeDtos.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/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; } | |
| } | |
| } | |