/* Options:
Date: 2026-05-19 09:51:27
Version: 8.22
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://dev-api-booster.richemont.com
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: GetUsers.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Richemont.Booster2.PublicApi.Common.ServiceModel;
using Richemont.Booster2.PublicApi.Security.ServiceModel;
namespace Richemont.Booster2.PublicApi.Common.ServiceModel
{
public partial interface IPagedRequest
{
int page { get; set; }
int items { get; set; }
bool noCount { get; set; }
string sortBy { get; set; }
}
}
namespace Richemont.Booster2.PublicApi.Security.ServiceModel
{
public partial class GetUserResponse
{
///
///Unique Identifier of a User
///
[ApiMember(Description="Unique Identifier of a User", IsRequired=true)]
public virtual Guid userId { get; set; }
///
///User's Email address
///
[ApiMember(Description="User's Email address", IsRequired=true)]
public virtual string emailAddress { get; set; }
///
///First Name
///
[ApiMember(Description="First Name", IsRequired=true)]
public virtual string firstName { get; set; }
///
///Last Name
///
[ApiMember(Description="Last Name", IsRequired=true)]
public virtual string lastName { get; set; }
///
///User's Password Expiration Date
///
[ApiMember(Description="User's Password Expiration Date")]
public virtual string passwordExpirationDate { get; set; }
///
///If the User must change the password
///
[ApiMember(Description="If the User must change the password", IsRequired=true)]
public virtual bool passwordMustBeChanged { get; set; }
///
///User Type of the User
///
[ApiMember(Description="User Type of the User", IsRequired=true)]
public virtual string userType { get; set; }
///
///Culture ID of the User
///
[ApiMember(Description="Culture ID of the User", IsRequired=true)]
public virtual string culture { get; set; }
///
///If the User account is locked
///
[ApiMember(Description="If the User account is locked", IsRequired=true)]
public virtual bool accountLocked { get; set; }
}
[Route("/users", "GET")]
public partial class GetUsers
: IReturn, IPagedRequest
{
///
///Index of the result set returned
///
[ApiMember(Description="Index of the result set returned", IsRequired=true)]
public virtual int page { get; set; }
///
///Size of the result set returned
///
[ApiMember(Description="Size of the result set returned", IsRequired=true)]
public virtual int items { get; set; }
///
///Omit precise record count - save on performance
///
[ApiMember(Description="Omit precise record count - save on performance")]
public virtual bool noCount { get; set; }
///
///Sorting expression
///
[ApiMember(Description="Sorting expression")]
public virtual string sortBy { get; set; }
///
///Email address
///
[ApiMember(Description="Email address")]
public virtual string email { get; set; }
///
///Also retreive users with locked account
///
[ApiMember(Description="Also retreive users with locked account")]
public virtual bool? includeLockedAccounts { get; set; }
}
public partial class GetUsersResponse
{
///
///Index of the result set returnedr
///
[ApiMember(Description="Index of the result set returnedr", IsRequired=true)]
public virtual int page { get; set; }
///
///Size of the result set returned
///
[ApiMember(Description="Size of the result set returned", IsRequired=true)]
public virtual int items { get; set; }
///
///Total amount of pages / result sets
///
[ApiMember(Description="Total amount of pages / result sets", IsRequired=true)]
public virtual int totalPages { get; set; }
///
///Total amount of results
///
[ApiMember(Description="Total amount of results", IsRequired=true)]
public virtual int totalResults { get; set; }
///
///List of Users
///
[ApiMember(Description="List of Users", IsRequired=true)]
public virtual IEnumerable elements { get; set; }
}
}