/* Options: Date: 2025-04-04 18:10:38 SwiftVersion: 5.0 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CustomAttributeService.ValidateAttributesRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/CustomAttribute/ValidateAttributes", "POST,GET") public class ValidateAttributesRequest : IReturnVoid, Codable { public var target:CustomAttributeTarget? public var customAttributeValues:[CustomAttributeValue] = [] public var groupName:String? public var id:Int? required public init(){} } public enum CustomAttributeTarget : String, Codable { case Member case PaymentMethod case Membership case MembershipReview case PaymentGateway case PaymentGatewayType case User case Booking case Staff } public class CustomAttributeValue : Codable { public var customAttributeId:Int? public var customAttributeValueId:Int? public var instanceId:Int? public var storedValue:String? public var typeName:String? public var readOnly:Bool? required public init(){} }