From df8eed7fa233869e2335e7e5175c718a229532a7 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 27 Nov 2021 13:27:46 -0600 Subject: [PATCH] =?UTF-8?q?docs(dir):=20=F0=9F=93=84=20doc=20GET=20languag?= =?UTF-8?q?es=20vm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Queries/GetChange.cs | 4 ++-- .../Queries/GetChanges.cs | 2 +- .../Queries/GetLanguages.cs | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/services/Directory/FilterLists.Directory.Application/Queries/GetChange.cs b/services/Directory/FilterLists.Directory.Application/Queries/GetChange.cs index 6b73d305e..e254f09c7 100644 --- a/services/Directory/FilterLists.Directory.Application/Queries/GetChange.cs +++ b/services/Directory/FilterLists.Directory.Application/Queries/GetChange.cs @@ -14,7 +14,7 @@ public static class GetChange public record Query : IRequest { /// - /// The identifier of the change. + /// The identifier. /// /// 99 public long Id { get; init; } @@ -51,7 +51,7 @@ public ChangesVmProfile() public record ChangeVm { /// - /// The identifier of the change. + /// The identifier. /// /// 99 public long Id { get; private init; } diff --git a/services/Directory/FilterLists.Directory.Application/Queries/GetChanges.cs b/services/Directory/FilterLists.Directory.Application/Queries/GetChanges.cs index 4520e6760..ca4234394 100644 --- a/services/Directory/FilterLists.Directory.Application/Queries/GetChanges.cs +++ b/services/Directory/FilterLists.Directory.Application/Queries/GetChanges.cs @@ -45,7 +45,7 @@ public ChangesVmProfile() public record ChangeVm { /// - /// The identifier of the change. + /// The identifier. /// /// 99 public long Id { get; private init; } diff --git a/services/Directory/FilterLists.Directory.Application/Queries/GetLanguages.cs b/services/Directory/FilterLists.Directory.Application/Queries/GetLanguages.cs index b541e64a6..3cf7fd037 100644 --- a/services/Directory/FilterLists.Directory.Application/Queries/GetLanguages.cs +++ b/services/Directory/FilterLists.Directory.Application/Queries/GetLanguages.cs @@ -46,9 +46,28 @@ public LanguageVmProfile() public record LanguageVm { + /// + /// The identifier. + /// + /// 37 public long Id { get; init; } + + /// + /// The ISO 639-1 code. + /// + /// en public string Iso6391 { get; init; } = default!; + + /// + /// The ISO name. + /// + /// English public string Name { get; init; } = default!; + + /// + /// The identifiers of the FilterLists targeted by this Language. + /// + /// [ 114, 141 ] public IEnumerable FilterListIds { get; init; } = new HashSet(); } }