/* Options: Date: 2025-01-18 08:39:40 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SyncCompanyCustomerMembers.* //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/customer/sync", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) open class SyncCompanyCustomerMembers : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") var CompanyId:UUID? = null /** * 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 /** * Should we target only subscribed to newsletter customers. */ @ApiMember(Description="Should we target only subscribed to newsletter customers.") var OnlySubscribed:Boolean? = null /** * Determines if it is a test user */ @ApiMember(Description="Determines if it is a test user") var Test:Boolean? = null companion object { private val responseType = SyncMembersResponse::class.java } override fun getResponseType(): Any? = SyncCompanyCustomerMembers.responseType } open class SyncMembersResponse { var FailedSyncedMembers:ArrayList = ArrayList() var SuccessSyncedMembers:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? } 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 }