-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set inspection id from isar response
- Loading branch information
Showing
4 changed files
with
17 additions
and
17 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
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 |
---|---|---|
@@ -1,30 +1,31 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
#nullable disable | ||
|
||
namespace Api.Services.Models | ||
{ | ||
public class IsarStartMissionResponse | ||
{ | ||
[JsonPropertyName("id")] | ||
public string MissionId { get; set; } | ||
public required string MissionId { get; set; } | ||
|
||
[JsonPropertyName("tasks")] | ||
public IList<IsarTaskResponse> Tasks { get; set; } | ||
public required IList<IsarTaskResponse> Tasks { get; set; } | ||
} | ||
|
||
public class IsarTaskResponse | ||
{ | ||
[JsonPropertyName("id")] | ||
public string IsarTaskId { get; set; } | ||
public required string IsarTaskId { get; set; } | ||
|
||
[JsonPropertyName("tag_id")] | ||
public string TagId { get; set; } | ||
public required string TagId { get; set; } | ||
|
||
[JsonPropertyName("inspection_id")] | ||
public string? IsarInspectionId { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string TaskType { get; set; } | ||
public required string TaskType { get; set; } | ||
|
||
[JsonPropertyName("task_action_id")] | ||
public string TaskActionId { get; set; } | ||
|
||
} | ||
} |
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