/* Options: Date: 2025-01-18 06:45:03 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SyncCompanyMembers.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/mailchimp/member/company/sync", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) open class SyncCompanyMembers : IReturn { /** * Should we delete emails that do not exist in BokaMera. */ @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") var DeleteNonExisting:Boolean? = null /** * Determines if it is a test user */ @ApiMember(Description="Determines if it is a test user") var Test:Boolean? = null /** * The company id of member of which members you want to sync. */ @ApiMember(Description="The company id of member of which members you want to sync.") var MemberCompanyId:UUID? = null companion object { private val responseType = SyncMembersResponse::class.java } override fun getResponseType(): Any? = SyncCompanyMembers.responseType } open class SyncMembersResponse { var FailedSyncedMembers:ArrayList = ArrayList() var SuccessSyncedMembers:ArrayList = ArrayList() } open class MemberResponse { var EmailAddress:String? = null var FullName:String? = null var Tags:ArrayList = ArrayList() } open class MemberTag { var Id:Int? = null var Name:String? = null var DateAdded:Date? = null var Status:String? = null }