mirror of
https://github.com/bitwarden/server.git
synced 2025-12-11 22:15:45 -06:00
* default startindex and count values on SCIM groups list api * convert params to a model, like users * review feedback * fix file name to be plural * added integration test
15 lines
323 B
C#
15 lines
323 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Scim.Models;
|
|
|
|
public class GetGroupsQueryParamModel
|
|
{
|
|
public string Filter { get; init; } = string.Empty;
|
|
|
|
[Range(1, int.MaxValue)]
|
|
public int Count { get; init; } = 50;
|
|
|
|
[Range(1, int.MaxValue)]
|
|
public int StartIndex { get; init; } = 1;
|
|
}
|