/* Options: Date: 2026-06-01 15:36:03 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://imzagerservices.eyyubiye.bel.tr //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: SignDocumentProxyContent.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/SignDocumentProxyContent/") public class SignDocumentProxyContent : IReturn, Codable { public typealias Return = SignDocumentProxyContentResponse public var clientKey:String public var authorizationID:String public var userSSN:String public var documentContent:[UInt8] = [] required public init(){} } public class SignDocumentProxyContentResponse : BaseResponse { public var signedDocumentContent:[UInt8] = [] required public init(){ super.init() } private enum CodingKeys : String, CodingKey { case signedDocumentContent } required public init(from decoder: Decoder) throws { try super.init(from: decoder) let container = try decoder.container(keyedBy: CodingKeys.self) signedDocumentContent = try container.decodeIfPresent([UInt8].self, forKey: .signedDocumentContent) ?? [] } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) var container = encoder.container(keyedBy: CodingKeys.self) if signedDocumentContent.count > 0 { try container.encode(signedDocumentContent, forKey: .signedDocumentContent) } } } public class BaseResponse : Codable { public var serviceSuccessResult:Bool public var errorMesage:String required public init(){} }