docs(dir): 📄 doc GET languages vm

This commit is contained in:
Collin M. Barrett 2021-11-27 13:27:46 -06:00
parent 2a9552bfd1
commit df8eed7fa2
3 changed files with 22 additions and 3 deletions

View file

@ -14,7 +14,7 @@ public static class GetChange
public record Query : IRequest<ChangeVm?>
{
/// <summary>
/// The identifier of the change.
/// The identifier.
/// </summary>
/// <example>99</example>
public long Id { get; init; }
@ -51,7 +51,7 @@ public ChangesVmProfile()
public record ChangeVm
{
/// <summary>
/// The identifier of the change.
/// The identifier.
/// </summary>
/// <example>99</example>
public long Id { get; private init; }

View file

@ -45,7 +45,7 @@ public ChangesVmProfile()
public record ChangeVm
{
/// <summary>
/// The identifier of the change.
/// The identifier.
/// </summary>
/// <example>99</example>
public long Id { get; private init; }

View file

@ -46,9 +46,28 @@ public LanguageVmProfile()
public record LanguageVm
{
/// <summary>
/// The identifier.
/// </summary>
/// <example>37</example>
public long Id { get; init; }
/// <summary>
/// The ISO 639-1 code.
/// </summary>
/// <example>en</example>
public string Iso6391 { get; init; } = default!;
/// <summary>
/// The ISO name.
/// </summary>
/// <example>English</example>
public string Name { get; init; } = default!;
/// <summary>
/// The identifiers of the FilterLists targeted by this Language.
/// </summary>
/// <example>[ 114, 141 ]</example>
public IEnumerable<long> FilterListIds { get; init; } = new HashSet<long>();
}
}