/* Options: Date: 2025-01-08 03:09:10 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateArtifact.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @ValidateRequest(Validator="HasRole(`Moderator`)") open class UpdateArtifact : IReturn, IPatchDb { open var id:Int? = null open var nsfw:Boolean? = null open var quality:Int? = null companion object { private val responseType = Artifact::class.java } override fun getResponseType(): Any? = UpdateArtifact.responseType } open class Artifact : AuditBase() { open var id:Int? = null @References(Type=Creative::class) open var creativeId:Int? = null open var fileName:String? = null open var filePath:String? = null open var contentType:String? = null open var contentLength:Long? = null open var width:Int? = null open var height:Int? = null open var seed:BigInteger? = null open var prompt:String? = null open var nsfw:Boolean? = null open var averageHash:Long? = null open var perceptualHash:Long? = null open var differenceHash:Long? = null open var background:String? = null open var lqip:String? = null open var quality:Int? = null open var likesCount:Int? = null open var albumsCount:Int? = null open var downloadsCount:Int? = null open var searchCount:Int? = null open var temporalScore:Int? = null open var score:Int? = null open var rank:Int? = null open var refId:String? = null open var versions:HashMap = HashMap() } open class Creative : AuditBase() { open var id:Int? = null open var userPrompt:String? = null open var prompt:String? = null open var images:Int? = null open var width:Int? = null open var height:Int? = null open var steps:Int? = null open var curatedArtifactId:Int? = null open var primaryArtifactId:Int? = null open var artistNames:ArrayList = ArrayList() open var modifierNames:ArrayList = ArrayList() open var artists:ArrayList = ArrayList() open var modifiers:ArrayList = ArrayList() open var artifacts:ArrayList = ArrayList() open var error:String? = null open var ownerId:Int? = null open var ownerRef:String? = null open var key:String? = null open var curated:Boolean? = null open var rating:Int? = null @SerializedName("private") open var Private:Boolean? = null open var score:Int? = null open var rank:Int? = null open var refId:String? = null open var requestId:String? = null open var engineId:String? = null } open class Artist : AuditBase() { open var id:Int? = null open var firstName:String? = null open var lastName:String? = null open var yearDied:Int? = null @SerializedName("type") open var Type:ArrayList? = null open var score:Int? = null open var rank:Int? = null } @ValidateRequest(Validator="HasRole(`Moderator`)") open class CreativeArtist { open var id:Int? = null @References(Type=Creative::class) open var creativeId:Int? = null @References(Type=Artist::class) open var artistId:Int? = null open var artist:Artist? = null } open class CreativeModifier { open var id:Int? = null @References(Type=Creative::class) open var creativeId:Int? = null @References(Type=Modifier::class) open var modifierId:Int? = null open var modifier:Modifier? = null } open class Modifier : AuditBase() { open var id:Int? = null open var name:String? = null open var category:String? = null open var description:String? = null open var score:Int? = null open var rank:Int? = null } @DataContract open class AuditBase { @DataMember(Order=1) open var createdDate:Date? = null @DataMember(Order=2) @Required() open var createdBy:String? = null @DataMember(Order=3) open var modifiedDate:Date? = null @DataMember(Order=4) @Required() open var modifiedBy:String? = null @DataMember(Order=5) open var deletedDate:Date? = null @DataMember(Order=6) open var deletedBy:String? = null }