(* Options: Date: 2025-01-08 03:10:00 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CreateArtifactReport.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BlazorDiffusion.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type ReportType = | Nsfw = 0 | Malformed = 1 | Blurred = 2 | LowQuality = 3 | Other = 4 [] type Artifact() = inherit AuditBase() member val Id:Int32 = new Int32() with get,set [)>] member val CreativeId:Int32 = new Int32() with get,set member val FileName:String = null with get,set member val FilePath:String = null with get,set member val ContentType:String = null with get,set member val ContentLength:Int64 = new Int64() with get,set member val Width:Int32 = new Int32() with get,set member val Height:Int32 = new Int32() with get,set member val Seed:UInt64 = new UInt64() with get,set member val Prompt:String = null with get,set member val Nsfw:Nullable = new Nullable() with get,set member val AverageHash:Nullable = new Nullable() with get,set member val PerceptualHash:Nullable = new Nullable() with get,set member val DifferenceHash:Nullable = new Nullable() with get,set member val Background:String = null with get,set member val Lqip:String = null with get,set member val Quality:Int32 = new Int32() with get,set member val LikesCount:Int32 = new Int32() with get,set member val AlbumsCount:Int32 = new Int32() with get,set member val DownloadsCount:Int32 = new Int32() with get,set member val SearchCount:Int32 = new Int32() with get,set member val TemporalScore:Int32 = new Int32() with get,set member val Score:Int32 = new Int32() with get,set member val Rank:Int32 = new Int32() with get,set member val RefId:String = null with get,set member val Versions:Dictionary = null with get,set [] type ArtifactReport() = member val Id:Int64 = new Int64() with get,set [)>] member val ArtifactId:Int32 = new Int32() with get,set member val AppUserId:Int32 = new Int32() with get,set member val Artifact:Artifact = null with get,set member val Type:ReportType = new ReportType() with get,set member val Description:String = null with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val Notes:String = null with get,set member val ActionedDate:Nullable = new Nullable() with get,set member val ActionedBy:String = null with get,set [] type Artist() = inherit AuditBase() member val Id:Int32 = new Int32() with get,set member val FirstName:String = null with get,set member val LastName:String = null with get,set member val YearDied:Nullable = new Nullable() with get,set member val Type:ResizeArray = null with get,set member val Score:Int32 = new Int32() with get,set member val Rank:Int32 = new Int32() with get,set [] [] type CreativeArtist() = member val Id:Int32 = new Int32() with get,set [)>] member val CreativeId:Int32 = new Int32() with get,set [)>] member val ArtistId:Int32 = new Int32() with get,set member val Artist:Artist = null with get,set [] type Modifier() = inherit AuditBase() member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Category:String = null with get,set member val Description:String = null with get,set member val Score:Int32 = new Int32() with get,set member val Rank:Int32 = new Int32() with get,set [] type CreativeModifier() = member val Id:Int32 = new Int32() with get,set [)>] member val CreativeId:Int32 = new Int32() with get,set [)>] member val ModifierId:Int32 = new Int32() with get,set member val Modifier:Modifier = null with get,set [] type Creative() = inherit AuditBase() member val Id:Int32 = new Int32() with get,set member val UserPrompt:String = null with get,set member val Prompt:String = null with get,set member val Images:Int32 = new Int32() with get,set member val Width:Int32 = new Int32() with get,set member val Height:Int32 = new Int32() with get,set member val Steps:Int32 = new Int32() with get,set member val CuratedArtifactId:Nullable = new Nullable() with get,set member val PrimaryArtifactId:Nullable = new Nullable() with get,set member val ArtistNames:ResizeArray = null with get,set member val ModifierNames:ResizeArray = null with get,set member val Artists:ResizeArray = null with get,set member val Modifiers:ResizeArray = null with get,set member val Artifacts:ResizeArray = null with get,set member val Error:String = null with get,set member val OwnerId:Nullable = new Nullable() with get,set member val OwnerRef:String = null with get,set member val Key:String = null with get,set member val Curated:Boolean = new Boolean() with get,set member val Rating:Nullable = new Nullable() with get,set member val Private:Boolean = new Boolean() with get,set member val Score:Int32 = new Int32() with get,set member val Rank:Int32 = new Int32() with get,set member val RefId:String = null with get,set member val RequestId:String = null with get,set member val EngineId:String = null with get,set [] [] type CreateArtifactReport() = interface IReturn [] member val ArtifactId:Int32 = new Int32() with get,set member val Type:ReportType = new ReportType() with get,set member val Description:String = null with get,set