/* Options: Date: 2025-01-08 03:08:35 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.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: False //ExportValueTypes: False IncludeTypes: UserData.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BlazorDiffusion.ServiceModel; namespace BlazorDiffusion.ServiceModel { public partial class AlbumResult { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual string Slug { get; set; } public virtual string AlbumRef { get; set; } public virtual string OwnerRef { get; set; } public virtual int? PrimaryArtifactId { get; set; } public virtual int Score { get; set; } public virtual List ArtifactIds { get; set; } = []; } public partial class Likes { public virtual List ArtifactIds { get; set; } = []; public virtual List AlbumIds { get; set; } = []; } public enum SignupType { Updates, Beta, } [ValidateRequest("IsAuthenticated")] public partial class UserData : IReturn, IPost { } public partial class UserDataResponse { public virtual UserResult User { get; set; } public virtual UserProfile Profile { get; set; } public virtual List Signups { get; set; } = []; public virtual string[] Roles { get; set; } = []; public virtual ResponseStatus ResponseStatus { get; set; } } public partial class UserProfile { public virtual string DisplayName { get; set; } public virtual string Avatar { get; set; } public virtual string Handle { get; set; } } public partial class UserResult { public virtual string RefId { get; set; } public virtual string Handle { get; set; } public virtual string Avatar { get; set; } public virtual string ProfileUrl { get; set; } public virtual Likes Likes { get; set; } public virtual List Albums { get; set; } = []; } }