/* Options:
Date: 2025-04-04 18:32:02
SwiftVersion: 6.0
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.pwc.de

//BaseClass: 
//AddModelExtensions: True
//AddServiceStackTypes: True
//MakePropertiesOptional: True
IncludeTypes: CancelRequest.*
//ExcludeTypes: 
//ExcludeGenericBaseTypes: False
//AddResponseStatus: False
//AddImplicitVersion: 
//AddDescriptionAsComments: True
//InitializeCollections: False
//TreatTypesAsStrings: 
//DefaultImports: Foundation,ServiceStack
*/

import Foundation
import ServiceStack

// @Route("/current-requests/{Tag}/cancel")
// @DataContract
public class CancelRequest : IReturn, IPost, Codable
{
    public typealias Return = CancelRequestResponse

    // @DataMember(Order=1)
    public var tag:String?

    // @DataMember(Order=2)
    public var meta:[String:String]?

    required public init(){}
}

// @DataContract
public class CancelRequestResponse : Codable
{
    // @DataMember(Order=1)
    public var tag:String?

    // @DataMember(Order=2)
    @TimeSpan public var elapsed:TimeInterval?

    // @DataMember(Order=3)
    public var meta:[String:String]?

    // @DataMember(Order=4)
    public var responseStatus:ResponseStatus?

    required public init(){}
}