/* Options: Date: 2026-09-21 23:27:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AttachmentVersionRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/v1/AttachmentVersion/{AttachmentId}", Verbs="GET,POST,OPTIONS") open class AttachmentVersionRequest : IReturn { open var AttachmentId:UUID? = null open var RevisionLabel:String? = null open var Notes:String? = null companion object { private val responseType = AttachmentVersionResponse::class.java } override fun getResponseType(): Any? = AttachmentVersionRequest.responseType } open class AttachmentVersionResponse { open var ResponseStatus:ResponseStatus? = null open var AttachmentId:UUID? = null open var Versions:ArrayList = ArrayList() open var CurrentVersionNo:Int? = null open var Head:Attachment? = null } open class Attachment { open var AttachmentId:UUID? = null open var TableName:String? = null open var FieldName:String? = null open var RecordId:Int? = null open var AttachmentName:String? = null open var MimeType:String? = null open var AttachmentData:ByteArray = ByteArray(0) open var FileSizeInKB:Double? = null open var CreatedDate:Date? = null open var CreatedBy:String? = null open var NeedsOCR:Boolean? = null open var OCRDate:Date? = null open var IsSecurities:Boolean? = null open var AWSKey:String? = null open var PresignedUrl:String? = null } open class AttachmentVersion { open var AttachmentVersionId:Int? = null open var AttachmentId:UUID? = null open var VersionNo:Int? = null open var AttachmentName:String? = null open var MimeType:String? = null open var FileSizeInKB:Double? = null open var AWSKey:String? = null open var RevisionLabel:String? = null open var Notes:String? = null open var RestoredFromVersionNo:Int? = null open var UploadedBy:String? = null open var UploadedAt:Date? = null open var IsCurrent:Boolean? = null open var DownloadUrl:String? = null }