tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UserGraphQLTransformer.cs
Go to the documentation of this file.
2{
6 sealed class UserGraphQLTransformer : TransformerBase<User, GraphQL.Types.User>
7 {
12 : base(model => new GraphQL.Types.User
13 {
14 CreatedAt = model.CreatedAt!.Value,
15 CanonicalName = model.CanonicalName!,
16 CreatedById = model.CreatedById,
17 Enabled = model.Enabled!.Value,
18 GroupId = model.GroupId,
19 Id = model.Id!.Value,
20 Name = model.Name!,
21 SystemIdentifier = model.SystemIdentifier,
22 })
23 {
24 }
25 }
26}
DateTimeOffset? CreatedAt
When the UserModelBase was created.
ITransformer<TInput, TOutput> for GraphQL.Types.Users.
UserGraphQLTransformer()
Initializes a new instance of the UserGraphQLTransformer class.
@ Enabled
The OAuth Gateway is enabled.