mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
docs(dir): 📄 doc GET languages vm
This commit is contained in:
parent
2a9552bfd1
commit
df8eed7fa2
3 changed files with 22 additions and 3 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue