-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PF-1365 - Added validation of named AQS things to IDs
- Loading branch information
Doug Schmidt
committed
Feb 3, 2022
1 parent
e9ac9de
commit cbb51cb
Showing
3 changed files
with
229 additions
and
9 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
35 changes: 35 additions & 0 deletions
35
Samples/DotNetSdk/ObservationReportExporter/GetExchangeConfigurations.cs
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,35 @@ | ||
using System.Collections.Generic; | ||
using Aquarius.Samples.Client.ServiceModel; | ||
using ServiceStack; | ||
|
||
namespace ObservationReportExporter | ||
{ | ||
[Route("/v1/exchangeconfigurations", HttpMethods.Get)] | ||
public class GetExchangeConfigurations : IReturn<SearchResultsExchangeConfigurations> | ||
{ | ||
} | ||
|
||
public class SearchResultsExchangeConfigurations | ||
{ | ||
public int TotalCount { get; set; } | ||
public List<ExchangeConfiguration> DomainObjects { get; set; } = new List<ExchangeConfiguration>(); | ||
|
||
} | ||
|
||
public class ExchangeConfiguration | ||
{ | ||
public string Id { get; set; } | ||
public string CustomId { get; set; } | ||
public string Type { get; set; } | ||
public string Description { get; set; } | ||
|
||
public List<SamplingLocationMapping> SamplingLocationMappings { get; set; } = new List<SamplingLocationMapping>(); | ||
} | ||
|
||
public class SamplingLocationMapping | ||
{ | ||
public string Id { get; set; } | ||
public SamplingLocation SamplingLocation { get; set; } | ||
public string ExternalLocation { 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