Spaces:
Running
Running
Download FlowAPI.Application/DTOs/Edge/EdgeDtos.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 685 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Application/DTOs/Edge/EdgeDtos.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Application/DTOs/Edge/EdgeDtos.cs
-
curl -L -o EdgeDtos.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/ecea7e2cf65ddcb1a751ceab68c14ecad830aa29/FlowAPI.Application/DTOs/Edge/EdgeDtos.cs
685 Bytes
| using FlowAPI.Domain.Enums; | |
| namespace FlowAPI.Application.DTOs.Edge | |
| { | |
| public class CreateEdgeDto | |
| { | |
| public Guid GraphId { get; set; } | |
| public Guid FromNodeId { get; set; } | |
| public Guid ToNodeId { get; set; } | |
| public EdgeCondition Condition { get; set; } = EdgeCondition.True; | |
| } | |
| public class UpdateEdgeDto | |
| { | |
| public EdgeCondition? Condition { get; set; } | |
| } | |
| public class EdgeResponseDto | |
| { | |
| public Guid Id { get; set; } | |
| public Guid GraphId { get; set; } | |
| public Guid FromNodeId { get; set; } | |
| public Guid ToNodeId { get; set; } | |
| public EdgeCondition Condition { get; set; } | |
| } | |
| } | |